From bccfd26322722cfc46049701e5659239c601af01 Mon Sep 17 00:00:00 2001 From: Andrey Logvin Date: Mon, 8 Mar 2021 19:12:20 +0000 Subject: [PATCH] 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 Commit-Queue: Andrey Logvin Cr-Commit-Position: refs/heads/master@{#33424} --- build_overrides/build.gni | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")