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

Unified Diff: chromecast/build/args.gn

Issue 1213333003: Build public cast_shell on x86 with GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address linux-specific deps. Created 5 years, 4 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
« no previous file with comments | « chromecast/browser/media/BUILD.gn ('k') | chromecast/chromecast.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/build/args.gn
diff --git a/chromecast/build/args.gn b/chromecast/build/args.gn
index 54f0ca9e5b82cb520290be355c82eec3ed406bac..a768a59b23605aaf4d4394eade1ab6553664de65 100644
--- a/chromecast/build/args.gn
+++ b/chromecast/build/args.gn
@@ -11,9 +11,25 @@ enable_plugins = true
enable_pepper_cdms = false
# Flags set from build/common.gypi
+
+# Compile with MSE support for MPEG2 TS. See //media/media_options.gni for more
+# detail.
enable_mpeg2ts_stream_parser = true
+
+# Instead of maintaining a separate "Chromecast" ffmpeg branding, "ChromeOS" is
+# used, as it sufficiently covers all the required codecs.
ffmpeg_branding = "ChromeOS"
+
+# Setting this to true generates libeglplatform_shim.so.1 from
+# //ui/ozone/platform/egltest:egl_platform_x11.
+ozone_platform_ozonex = true
+
+# Chromecast must use proprietary codecs. Setting this to true defines the
+# USE_PROPRIETARY_CODECS macro and the proper EME_CODEC macros.
proprietary_codecs = true
+
+# See //build/config/ui.gni. Notice that use_x11 = is_linux && !use_ozone.
+use_ozone = true
# TODO(halliwell): look into supporting Cast Ozone with GN.
# ozone_platform_cast = 1
# TODO(gyp): Add support for blink_logging_always_on and enable it.
« no previous file with comments | « chromecast/browser/media/BUILD.gn ('k') | chromecast/chromecast.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698