OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This args block should contain arguments used within the //chromecast | 5 # This args block should contain arguments used within the //chromecast |
6 # directory. Arguments which are used in other Chrome components should | 6 # directory. Arguments which are used in other Chrome components should |
7 # be instead declared in //build/config/chromecast_build.gni. | 7 # be instead declared in //build/config/chromecast_build.gni. |
8 declare_args() { | 8 declare_args() { |
9 # chromecast_branding is used to include or exclude Google-branded components. | 9 # chromecast_branding is used to include or exclude Google-branded components. |
10 # Set it to "public" for a Chromium build. | 10 # Set it to "public" for a Chromium build. |
11 chromecast_branding = "public" | 11 chromecast_branding = "public" |
12 | 12 |
13 # True if Chromecast build is targetted for linux desktop. | 13 # True if Chromecast build is targetted for linux desktop. |
14 is_chromecast_desktop_build = is_linux && target_cpu != "arm" | 14 is_chromecast_desktop_build = is_linux && target_cpu != "arm" |
15 | 15 |
16 # Use the stub graphics lib in //chromecast/graphics. If this is true, the | 16 # Use the stub graphics lib in //chromecast/graphics. If this is true, the |
17 # value of |libcast_graphics_path| is ignored. | 17 # value of |libcast_graphics_path| is ignored. |
18 use_default_cast_graphics = | 18 use_default_cast_graphics = |
19 chromecast_branding == "public" || is_chromecast_desktop_build | 19 chromecast_branding == "public" || is_chromecast_desktop_build |
20 | 20 |
21 # The path to the cast_graphics shared library. Any target pointed to must | 21 # The path to the cast_graphics shared library. Any target pointed to must |
22 # be named "libcast_graphics_1.0". | 22 # be named "libcast_graphics_1.0". |
23 libcast_graphics_path = "" | 23 libcast_graphics_path = "" |
24 | 24 |
25 # Use Playready CDMs. | 25 # Use Playready CDMs. |
26 use_playready = false | 26 use_playready = false |
| 27 |
| 28 # Set this true to perform an audio-only build. |
| 29 disable_display = false |
27 } | 30 } |
OLD | NEW |