aboutsummaryrefslogtreecommitdiff
path: root/build_overrides
diff options
context:
space:
mode:
authorAndrey Logvin <landrey@webrtc.org>2021-03-08 19:12:20 +0000
committerCommit Bot <commit-bot@chromium.org>2021-03-10 18:42:58 +0000
commitbccfd26322722cfc46049701e5659239c601af01 (patch)
treeb748831478776d87813ac24620a57942130c5f7c /build_overrides
parent048adc7136346105b21dc403acc60bf94e3e931b (diff)
downloadwebrtc-bccfd26322722cfc46049701e5659239c601af01.tar.gz
Allow webrtc mac cross compile
Chromium side changes: https://crrev.com/c/2743475 Bug: b/180976558 Change-Id: I4db49b91379d8b7f293147bdefb4296861faf0a2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/210684 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Andrey Logvin <landrey@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33424}
Diffstat (limited to 'build_overrides')
-rw-r--r--build_overrides/build.gni3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_overrides/build.gni b/build_overrides/build.gni
index 8facdeab8d..7984a55ad9 100644
--- a/build_overrides/build.gni
+++ b/build_overrides/build.gni
@@ -34,7 +34,8 @@ ignore_elf32_limitations = true
# Use bundled hermetic Xcode installation maintainted by Chromium,
# except for local iOS builds where it's unsupported.
-if (host_os == "mac") {
+# Allow for mac cross compile on linux machines.
+if (host_os == "mac" || host_os == "linux") {
_result = exec_script("//build/mac/should_use_hermetic_xcode.py",
[ target_os ],
"value")