Chromium Code Reviews| 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 | |
| 6 # directory. Arguments which are used in other Chrome components should | |
| 7 # be instead declared in //build/config/chromecast_build.gni. | |
| 5 declare_args() { | 8 declare_args() { |
| 6 # chromecast_branding is used to indicate build version. Set it to | 9 # chromecast_branding is used to indicate build version. Set it to "public" |
| 7 # "public" for Chromium build. | 10 # for a Chromium build. |
| 8 chromecast_branding = "public" | 11 chromecast_branding = "public" |
|
brettw
2015/09/17 22:52:14
Can this be changed in a followup patch to be a bo
slan
2015/09/18 02:31:26
This used to be our convention, but we changed it
| |
| 9 | 12 |
| 13 # True if Chromecast build is targetted for linux desktop. | |
| 14 is_chromecast_desktop_build = is_linux && target_cpu != "arm" | |
| 15 | |
| 16 # Use the stub graphics lib in //chromecast/graphics. If this is true, the | |
| 17 # value of |libcast_graphics_path| is ignored. | |
| 18 use_default_cast_graphics = | |
| 19 chromecast_branding == "public" || is_chromecast_desktop_build | |
| 20 | |
| 21 # The path to the cast_graphics shared library. Any target pointed to must | |
| 22 # be named "libcast_graphics_1.0". | |
| 23 libcast_graphics_path = "" | |
| 24 | |
| 25 # Use the stub media library in //chromecast/media. If this is true, the | |
| 26 # value of |libcast_media_path| is ignored. | |
| 27 use_default_cast_media = | |
| 28 chromecast_branding == "public" || is_chromecast_desktop_build | |
| 29 | |
| 30 # The path to the cast_media shared library. Any target pointed to must be | |
| 31 # named "libcast_media_1.0". | |
| 32 libcast_media_path = "" | |
| 33 | |
| 10 use_playready = false | 34 use_playready = false |
|
brettw
2015/09/17 22:52:14
Can you document this while you're changing everyt
slan
2015/09/18 02:31:26
Done.
| |
| 11 } | 35 } |
| OLD | NEW |