mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 07:48:14 +08:00
ios: Deal with ios_enable_relative_sdk_path in Chromium
Change-Id: Ibb03748d8881c4a71662a7d6ad5743107ccd748d Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2174267 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
8bd5e53777
commit
2f217736a3
@ -80,10 +80,22 @@ if (crashpad_is_mac || crashpad_is_ios) {
|
||||
}
|
||||
}
|
||||
if (sysroot != "") {
|
||||
args += [
|
||||
"--sdk",
|
||||
sysroot,
|
||||
]
|
||||
if (crashpad_is_in_chromium) {
|
||||
# Chromium often brings along its own SDK and wants to keep paths
|
||||
# relative…
|
||||
args += [
|
||||
"--sdk",
|
||||
rebase_path(sysroot, root_build_dir)
|
||||
]
|
||||
} else {
|
||||
# …but that’s not an option in the standalone Crashpad build, where the
|
||||
# SDK is installed on the system and is absolute. (But use rebase_path
|
||||
# just to be sure.)
|
||||
args += [
|
||||
"--sdk",
|
||||
rebase_path(sysroot, ""),
|
||||
]
|
||||
}
|
||||
}
|
||||
args += [
|
||||
"--include",
|
||||
|
Loading…
x
Reference in New Issue
Block a user