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

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

Issue 2636303002: [Chromecast] Add support for z-order and window focus. (Closed)
Patch Set: Simplifications and unit tests. Created 3 years, 10 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 import("//testing/test.gni")
7 8
8 source_set("graphics") { 9 source_set("graphics") {
9 sources = [ 10 sources = [
10 "cast_vsync_settings.cc", 11 "cast_vsync_settings.cc",
11 "cast_vsync_settings.h", 12 "cast_vsync_settings.h",
12 "cast_window_manager.h", 13 "cast_window_manager.h",
13 ] 14 ]
14 15
15 deps = [ 16 deps = [
16 "//base", 17 "//base",
17 "//ui/gfx", 18 "//ui/gfx",
18 ] 19 ]
19 20
20 if (use_aura && !is_cast_audio_only) { 21 if (use_aura && !is_cast_audio_only) {
21 sources += [ 22 sources += [
23 "cast_focus_client_aura.cc",
24 "cast_focus_client_aura.h",
22 "cast_window_manager_aura.cc", 25 "cast_window_manager_aura.cc",
23 "cast_window_manager_aura.h", 26 "cast_window_manager_aura.h",
24 ] 27 ]
25 28
26 deps += [ "//ui/base/ime" ] 29 deps += [ "//ui/base/ime" ]
27 } else { 30 } else {
28 sources += [ 31 sources += [
29 "cast_window_manager_default.cc", 32 "cast_window_manager_default.cc",
30 "cast_window_manager_default.h", 33 "cast_window_manager_default.h",
31 ] 34 ]
(...skipping 25 matching lines...) Expand all
57 public_deps = [ 60 public_deps = [
58 "//chromecast/public", 61 "//chromecast/public",
59 ] 62 ]
60 63
61 deps = [ 64 deps = [
62 "//base", 65 "//base",
63 "//chromecast/base:chromecast_switches", 66 "//chromecast/base:chromecast_switches",
64 "//chromecast/base:init_shlib", 67 "//chromecast/base:init_shlib",
65 ] 68 ]
66 } 69 }
70
71 test("cast_graphics_unittests") {
72 sources = [
73 "cast_focus_client_aura_test.cc",
74 "cast_window_manager_aura_test.cc",
halliwell 2017/01/24 00:54:46 Do these need guarding (e.g. for Android builds)
Joshua LeVasseur 2017/01/24 03:39:50 Done.
75 "run_all_unittests.cc",
76 ]
77 deps = [
78 ":graphics",
79 "//base/test:test_support",
80 "//testing/gtest",
81 "//ui/aura",
82 "//ui/aura:test_support",
83 "//ui/aura_extra",
84 "//ui/base:test_support",
85 "//ui/gfx",
86 "//ui/gl:test_support",
87 ]
88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698