| OLD | NEW |
| 1 # Build arguments for Chromecast. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Copy the contents of this file to gn args. | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 3 | 4 |
| 5 # Note: This file is being deprecated. Do not add new args here (b/23601081). |
| 6 |
| 7 # TODO(slan): Include the chromecast build tree as a dependency at root when |
| 8 # the GN build is stable. |
| 4 root_extra_deps = [ "//chromecast" ] | 9 root_extra_deps = [ "//chromecast" ] |
| 5 | 10 |
| 6 # Enable the use of browser-side CDM. | 11 is_chromecast_build = true |
| 7 enable_browser_cdms = true | 12 chromecast_branding = "public" |
| 8 | |
| 9 # Enable plugins, but explicitly disable use of Pepper CDMs. | |
| 10 enable_plugins = true | |
| 11 enable_pepper_cdms = false | |
| 12 | |
| 13 # Flags set from build/common.gypi | |
| 14 | |
| 15 # Compile with MSE support for MPEG2 TS. See //media/media_options.gni for more | |
| 16 # detail. | |
| 17 enable_mpeg2ts_stream_parser = true | |
| 18 | |
| 19 # Instead of maintaining a separate "Chromecast" ffmpeg branding, "ChromeOS" is | |
| 20 # used, as it sufficiently covers all the required codecs. | |
| 21 ffmpeg_branding = "ChromeOS" | |
| 22 | |
| 23 # Setting this to true generates libeglplatform_shim.so.1 from | |
| 24 # //ui/ozone/platform/egltest:egl_platform_x11. | |
| 25 ozone_platform_ozonex = true | |
| 26 | |
| 27 # Chromecast must use proprietary codecs. Setting this to true defines the | |
| 28 # USE_PROPRIETARY_CODECS macro and the proper EME_CODEC macros. | |
| 29 proprietary_codecs = true | |
| 30 | |
| 31 # See //build/config/ui.gni. Notice that use_x11 = is_linux && !use_ozone. | |
| 32 use_ozone = true | |
| 33 # TODO(halliwell): look into supporting Cast Ozone with GN. | |
| 34 # ozone_platform_cast = 1 | |
| 35 # TODO(gyp): Add support for blink_logging_always_on and enable it. | |
| 36 # blink_logging_always_on = 1 | |
| OLD | NEW |