Disable mac specific features when in Fuchsia tree

Because Fuchsia's fork deleted apple_cf for license compliance.

Bug: fuchsia:66116
Change-Id: Iecdbc005799bdf6a4d0d3433d63e8040f28621cf
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3120806
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Dangyi Liu 2021-08-26 00:13:29 -07:00 committed by Crashpad LUCI CQ
parent 29e30d04c8
commit 8940d63dfc

View File

@ -343,7 +343,7 @@ crashpad_static_library("util") {
]
}
if (crashpad_is_mac) {
if (crashpad_is_mac && !crashpad_is_in_fuchsia) {
sources += [
"mac/checked_mach_address_range.h",
"mac/launchd.h",
@ -615,7 +615,7 @@ crashpad_static_library("util") {
deps += [ ":mig_output" ]
}
if (crashpad_is_mac) {
if (crashpad_is_mac && !crashpad_is_in_fuchsia) {
libs = [ "bsm" ]
frameworks = [
"CoreFoundation.framework",