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

Side by Side Diff: chromecast/graphics/BUILD.gn

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/chromecast.gni ('k') | chromecast/media/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 import("//chromecast/chromecast.gni")
6
5 source_set("graphics") { 7 source_set("graphics") {
6 sources = [ 8 sources = [
7 "cast_screen.cc", 9 "cast_screen.cc",
8 "cast_screen.h", 10 "cast_screen.h",
9 ] 11 ]
10 12
11 deps = [ 13 deps = [
12 "//ui/aura", 14 "//ui/aura",
13 "//ui/gfx", 15 "//ui/gfx",
14 "//ui/gfx/geometry", 16 "//ui/gfx/geometry",
15 ] 17 ]
16 } 18 }
19
20 group("libcast_graphics") {
21 if (use_default_cast_graphics) {
22 public_deps = [
23 ":libcast_graphics_default",
24 ]
25 } else {
26 public_deps = [
27 "$libcast_graphics_path:libcast_graphics_1.0",
28 ]
29 }
30 }
31
32 if (use_default_cast_graphics) {
33 shared_library("libcast_graphics_default") {
34 output_name = "libcast_graphics_1.0"
35
36 sources = [
37 "cast_egl_platform_default.cc",
38 "graphics_properties_default.cc",
39 "osd_plane_default.cc",
40 ]
41
42 public_deps = [
43 "//chromecast/public",
44 ]
45
46 deps = [
47 "//base",
48 ]
49 }
50 }
OLDNEW
« no previous file with comments | « chromecast/chromecast.gni ('k') | chromecast/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698