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

Unified Diff: ash/BUILD.gn

Issue 2374893002: Adds AshTest (Closed)
Patch Set: real feedback Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/test/ash_test.h » ('j') | ash/common/test/ash_test.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/BUILD.gn
diff --git a/ash/BUILD.gn b/ash/BUILD.gn
index 7a5f5298c92825b991705b6d1e586e77113eacda..1f53d24bd32b3915e0bcd03299088e88f5ece83a 100644
--- a/ash/BUILD.gn
+++ b/ash/BUILD.gn
@@ -1004,6 +1004,22 @@ component("ash_with_content") {
]
}
+# Used to test ash with an aura backend.
+source_set("ash_with_aura_test_support") {
+ testonly = true
+ sources = [
+ "test/ash_test_impl_aura.cc",
+ "test/ash_test_impl_aura.h",
+ ]
+ deps = [
+ ":ash",
+ ":test_support_common",
+ "//base",
+ "//skia",
+ "//ui/display",
+ ]
+}
+
# Internal target consumed by |test_support_with_content| and
# |test_support_without_content|. This target contains all the test support
# files, with the exception of an implementation of AshTestEnvironment.
@@ -1013,6 +1029,9 @@ static_library("test_support_common") {
testonly = true
visibility = [ ":*" ]
sources = [
+ "common/test/ash_test.cc",
+ "common/test/ash_test.h",
+ "common/test/ash_test_impl.h",
"common/test/material_design_controller_test_api.cc",
"common/test/material_design_controller_test_api.h",
"common/test/test_palette_delegate.cc",
@@ -1317,6 +1336,7 @@ test("ash_content_unittests") {
deps = [
":ash",
+ ":ash_with_aura_test_support",
":ash_with_content",
":test_support_with_content",
"//base",
@@ -1517,6 +1537,7 @@ test("ash_unittests") {
deps = [
":ash",
+ ":ash_with_aura_test_support",
":test_support_without_content",
"//ash/autoclick/common:autoclick",
"//ash/common/strings",
« no previous file with comments | « no previous file | ash/common/test/ash_test.h » ('j') | ash/common/test/ash_test.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698