mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
[fuchsia][mac] Fix build errors
A recent CL [1] broke Fuchsia's Crashpad roller due to duplicate build argument declarations. This CL ensures that sysroot.gni is only imported once. [1] https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/4651973 Fixed: fuchsia:131454 Change-Id: Idcf6ac65cdffee2c9a9551559a8aab0063044428 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4743381 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Thomas Gales <tgales@google.com>
This commit is contained in:
parent
8dcf2b216f
commit
ca6d64d0ae
@ -20,9 +20,9 @@ if (crashpad_is_in_chromium) {
|
||||
}
|
||||
|
||||
if (crashpad_is_apple) {
|
||||
if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
|
||||
if (crashpad_is_in_chromium) {
|
||||
import("//build/config/sysroot.gni")
|
||||
} else {
|
||||
} else if (!crashpad_is_in_fuchsia) {
|
||||
import("$mini_chromium_import_root/build/sysroot.gni")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user