Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4007)

Unified Diff: chromecast/build/build_env_x86_linux.sh

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an additional function in gl_surface_cast.cc Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+}

Powered by Google App Engine
This is Rietveld 408576698