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

Unified Diff: chromecast/build/build_env_common_chromecast.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_common_chromecast.sh
diff --git a/chromecast/build/build_env_common_chromecast.sh b/chromecast/build/build_env_common_chromecast.sh
new file mode 100644
index 0000000000000000000000000000000000000000..60ce45208362314248f1769e1b59ee6c7827bca5
--- /dev/null
+++ b/chromecast/build/build_env_common_chromecast.sh
@@ -0,0 +1,57 @@
+# 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.
+
+# Common function for all chromecast targets.
+function setup_chromium_env_common_chromecast() {
+ # In alpha order:
+ # - chromecast_build=1: This is a Chromecast build.
+ # - disable_nacl=1: We do not support Native Client.
+ # - enable_pepper_cdms=0: Disable pepper plugin based CDMs.
+ # - ffmpeg_branding=Chrome: This picks up additional codecs
+ # - icu_use_data_file_flag=0: We don't use separate ICU data file
+ # - proprietary_codecs=1
+ # - safe_browsing=0: safe browsing takes a very large amount of memory: a few
+ # MB persistent, and tens of MB (according to chromium-dev) when the DB is
+ # updated.
+ # - screen_capture_supported=0
+ # - toolkit_uses_gtk=0: we disable all GTK.
+ # - toolkit_views=0: related to disabling GTK (alternative to GTK).
+ # - use_aura=0
+ # - use_cairo=0: We use fontconfig + freetype
+ # - use_cups=0: we do not support printing on this platform.
+ # - use_dbus=0
+ # - use_glib=0
+ # - use_harfbuzz_ng=1
+ # - use_kerberos=0
+ # - use_pango=0
+ # - use_system_fontconfig=0: use fontconfig from the Chromium tree.
+ # - use_udev=0
+ # - use_webcrypto_ipc=0
+ # - use_x11=0: we do not support X11 on this platform.
+ local defines="
+disable_nacl=1
+enable_pepper_cdms=0
+chromecast_build=1
+ffmpeg_branding=Chrome
+icu_use_data_file_flag=0
+proprietary_codecs=1
+safe_browsing=0
+screen_capture_supported=0
+toolkit_uses_gtk=0
+toolkit_views=1
+use_aura=0
+use_cairo=0
+use_cups=0
+use_dbus=0
+use_glib=0
+use_harfbuzz_ng=1
+use_kerberos=0
+use_pango=0
+use_system_fontconfig=0
+use_udev=0
+use_webcrypto_ipc=0
+use_x11=0
+"
+ export GYP_DEFINES="${GYP_DEFINES} ${defines}"
+}

Powered by Google App Engine
This is Rietveld 408576698