summaryrefslogtreecommitdiff
path: root/build_overrides
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2016-11-23 13:33:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 13:33:28 -0800
commit841a85b19cc10d719505ea2c7e0e49bae843db6e (patch)
tree305e510da12c5cdabdb93f6807eff3a959baab7a /build_overrides
parent7c47e1d3172ce6f625b93be50aac2ebf86a45d0c (diff)
downloadpdfium-841a85b19cc10d719505ea2c7e0e49bae843db6e.tar.xz
Roll pdfium/build/ dc8cb2c8b..acf607f7d (79 commits).
https://chromium.googlesource.com/chromium/src/build.git/+log/dc8cb2c8bcc3..acf607f7d345 R=thestig@chromium.org,dsinclair@chromium.org BUG=pdfium:415 Review-Url: https://codereview.chromium.org/2527613003
Diffstat (limited to 'build_overrides')
-rw-r--r--build_overrides/build.gni18
1 files changed, 18 insertions, 0 deletions
diff --git a/build_overrides/build.gni b/build_overrides/build.gni
index a9e8000a85..61d7814005 100644
--- a/build_overrides/build.gni
+++ b/build_overrides/build.gni
@@ -40,4 +40,22 @@ declare_args() {
# due to 4GiB file size limit, see https://crbug.com/648948.
# Set this flag to true to skip the assertion.
ignore_elf32_limitations = false
+
+ # Use the system install of Xcode for tools like ibtool, libtool, etc.
+ # This does not affect the compiler. When this variable is false, targets will
+ # instead use a hermetic install of Xcode. [The hermetic install can be
+ # obtained with gclient sync after setting the environment variable
+ # FORCE_MAC_TOOLCHAIN].
+ use_system_xcode = ""
+}
+
+if (use_system_xcode == "") {
+ if (target_os == "mac") {
+ _result =
+ exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value")
+ use_system_xcode = _result == 0
+ }
+ if (target_os == "ios") {
+ use_system_xcode = true
+ }
}