Index: chromecast/build/build_env_x86_linux.sh |
diff --git a/chromecast/build/build_env_x86_linux.sh b/chromecast/build/build_env_x86_linux.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..52d58a52ff5d478f1b3ca5da23045aa96fcc0fa3 |
--- /dev/null |
+++ b/chromecast/build/build_env_x86_linux.sh |
@@ -0,0 +1,35 @@ |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+function setup_chromium_env_x86_linux() { |
+ setup_chromium_env_common x86_linux $@ |
+ |
+ unset CC |
+ unset CXX |
+ |
+# undo setup_build_toolchain() |
+ unset AR_target |
+ unset CC_target |
+ unset CXX_target |
+ unset LD_target |
+ unset OBJCOPY_target |
+ unset STRIP_target |
+ |
+ setup_goma_or_ccache gcc g++ |
+ |
+ # leaving the target arch empty for the system to decide which one to use |
+ # (32 bit or 64 bit). |
+ # use_system_libjpeg=1: use native libjpeg for x86 builds |
+ local defines="\ |
+disable_nacl=1 \ |
+safe_browsing=0 \ |
+use_system_libjpeg=1 |
+" |
+ export GYP_DEFINES="${GYP_DEFINES} ${defines}" |
+} |
+ |
+function setup_chrome_env_x86_linux() { |
+ setup_chromium_env_x86_linux $@ |
+ brand_as_chrome |
+} |