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}
This commit is contained in:
Andrey Logvin 2021-03-08 19:12:20 +00:00 committed by Commit Bot
parent 048adc7136
commit bccfd26322

View File

@ -34,7 +34,8 @@ ignore_elf32_limitations = true
# Use bundled hermetic Xcode installation maintainted by Chromium, # Use bundled hermetic Xcode installation maintainted by Chromium,
# except for local iOS builds where it's unsupported. # 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", _result = exec_script("//build/mac/should_use_hermetic_xcode.py",
[ target_os ], [ target_os ],
"value") "value")