[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:
Thomas Gales 2023-08-02 21:07:53 +00:00 committed by Crashpad LUCI CQ
parent 8dcf2b216f
commit ca6d64d0ae

View File

@ -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")
}