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

Unified Diff: chromecast/graphics/BUILD.gn

Issue 2636303002: [Chromecast] Add support for z-order and window focus. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/graphics/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/graphics/BUILD.gn
diff --git a/chromecast/graphics/BUILD.gn b/chromecast/graphics/BUILD.gn
index 8fd33dec9203adfcc394098c7b62ea87ee276afc..09909f6f493d3d96533d53a1ecfcc8ffe0bf61ed 100644
--- a/chromecast/graphics/BUILD.gn
+++ b/chromecast/graphics/BUILD.gn
@@ -4,6 +4,7 @@
import("//chromecast/chromecast.gni")
import("//build/config/ui.gni")
+import("//testing/test.gni")
source_set("graphics") {
sources = [
@@ -19,6 +20,8 @@ source_set("graphics") {
if (use_aura && !is_cast_audio_only) {
sources += [
+ "cast_focus_client_aura.cc",
+ "cast_focus_client_aura.h",
"cast_window_manager_aura.cc",
"cast_window_manager_aura.h",
]
@@ -64,3 +67,24 @@ shared_library("libcast_graphics_1.0") {
"//chromecast/base:init_shlib",
]
}
+
+if (use_aura && !is_cast_audio_only) {
+ test("cast_graphics_unittests") {
+ sources = [
+ "cast_focus_client_aura_test.cc",
+ "cast_window_manager_aura_test.cc",
+ "run_all_unittests.cc",
+ ]
+ deps = [
+ ":graphics",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//ui/aura",
+ "//ui/aura:test_support",
+ "//ui/base:test_support",
+ "//ui/events:test_support",
+ "//ui/gfx",
+ "//ui/gl:test_support",
+ ]
+ }
+}
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/graphics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698