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

Side by Side Diff: chromecast/chromecast.gni

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase + ui changes. Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « chromecast/build/args.gn ('k') | chromecast/graphics/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 include or exclude Google-branded components.
7 # "public" for Chromium build. 10 # Set it to "public" for a Chromium build.
8 chromecast_branding = "public" 11 chromecast_branding = "public"
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
34 # Use Playready CDMs.
10 use_playready = false 35 use_playready = false
11 } 36 }
OLDNEW
« no previous file with comments | « chromecast/build/args.gn ('k') | chromecast/graphics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698