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 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 } |
OLD | NEW |