mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
gn, mac: Work without a sysroot
This is needed to make the “sysroot = "/"” configuration, which translates to “sysroot = ""”, work properly Bug: crashpad:79 Change-Id: I25ab49b7d57abfcf0ce9a62925013bb58dadf5dd Reviewed-on: https://chromium-review.googlesource.com/831007 Reviewed-by: Scott Graham <scottmg@chromium.org>
This commit is contained in:
parent
6e0f15b8f5
commit
1764594bff
@ -42,9 +42,13 @@ if (is_mac) {
|
||||
hermetic_xcode_path,
|
||||
]
|
||||
}
|
||||
if (sysroot != "") {
|
||||
args += [
|
||||
"--sdk",
|
||||
sysroot,
|
||||
]
|
||||
}
|
||||
args += [
|
||||
"--include",
|
||||
rebase_path("../compat/mac", root_build_dir),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user