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

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

Issue 2643553002: [Chromecast] Reuse the Aura window manager across receiver apps. (Closed)
Patch Set: applied reviewer feedback Created 3 years, 11 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
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") 5 import("//chromecast/chromecast.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 source_set("graphics") { 8 source_set("graphics") {
9 sources = [ 9 sources = [
10 "cast_vsync_settings.cc", 10 "cast_vsync_settings.cc",
11 "cast_vsync_settings.h", 11 "cast_vsync_settings.h",
12 "cast_window_manager.h",
12 ] 13 ]
13 14
14 deps = [ 15 deps = [
15 "//base", 16 "//base",
17 "//ui/gfx",
16 ] 18 ]
17 19
20 if (use_aura && !is_cast_audio_only) {
21 sources += [
22 "cast_window_manager_aura.cc",
23 "cast_window_manager_aura.h",
24 ]
25
26 deps += [ "//ui/base/ime" ]
27 } else {
28 sources += [
29 "cast_window_manager_default.cc",
30 "cast_window_manager_default.h",
31 ]
32 }
33
18 if (use_aura) { 34 if (use_aura) {
19 sources += [ 35 sources += [
20 "cast_screen.cc", 36 "cast_screen.cc",
21 "cast_screen.h", 37 "cast_screen.h",
22 ] 38 ]
23 39
24 deps += [ 40 deps += [
25 ":libcast_graphics_1.0", 41 ":libcast_graphics_1.0",
26 "//chromecast/public", 42 "//chromecast/public",
27 "//ui/aura", 43 "//ui/aura",
28 "//ui/display", 44 "//ui/display",
29 "//ui/gfx",
30 "//ui/gfx/geometry", 45 "//ui/gfx/geometry",
31 ] 46 ]
32 } 47 }
33 } 48 }
34 49
35 shared_library("libcast_graphics_1.0") { 50 shared_library("libcast_graphics_1.0") {
36 sources = [ 51 sources = [
37 "cast_egl_platform_default.cc", 52 "cast_egl_platform_default.cc",
38 "graphics_properties_default.cc", 53 "graphics_properties_default.cc",
39 "osd_plane_default.cc", 54 "osd_plane_default.cc",
40 ] 55 ]
41 56
42 public_deps = [ 57 public_deps = [
43 "//chromecast/public", 58 "//chromecast/public",
44 ] 59 ]
45 60
46 deps = [ 61 deps = [
47 "//base", 62 "//base",
48 "//chromecast/base:chromecast_switches", 63 "//chromecast/base:chromecast_switches",
49 "//chromecast/base:init_shlib", 64 "//chromecast/base:init_shlib",
50 ] 65 ]
51 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698