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

Unified Diff: ui/views/mus/BUILD.gn

Issue 2653713004: Add service_test GN template (Closed)
Patch Set: . 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 | « services/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/BUILD.gn
diff --git a/ui/views/mus/BUILD.gn b/ui/views/mus/BUILD.gn
index c568ec3320daed0c4169e3a0dcd7e7a22c02a11c..4720a32ef854ca68de5e1e8d667451b8cb68685b 100644
--- a/ui/views/mus/BUILD.gn
+++ b/ui/views/mus/BUILD.gn
@@ -120,6 +120,7 @@ static_library("test_support") {
deps = [
":mus",
+ ":views_mus_tests_catalog_source",
"//base",
"//base/test:test_support",
"//mojo/edk/system",
@@ -138,7 +139,6 @@ static_library("test_support") {
]
data_deps = [
- ":views_mus_tests_catalog",
"//ui/resources:ui_test_pak_data",
]
}
@@ -191,7 +191,6 @@ test("views_mus_unittests") {
]
data_deps = [
- ":views_mus_tests_catalog_copy",
"//services/ui/ime/test_ime_driver",
"//services/ui/test_wm",
]
@@ -252,7 +251,6 @@ test("views_mus_interactive_ui_tests") {
]
data_deps = [
- ":views_mus_tests_catalog_copy",
"//services/ui/test_wm",
]
@@ -293,13 +291,8 @@ catalog("views_mus_tests_catalog") {
catalog_deps = [ "//mash:catalog" ]
}
-copy("views_mus_tests_catalog_copy") {
+catalog_cpp_source("views_mus_tests_catalog_source") {
testonly = true
- sources = get_target_outputs(":views_mus_tests_catalog")
- outputs = [
- "${root_out_dir}/views_mus_tests_catalog.json",
- ]
- deps = [
- ":views_mus_tests_catalog",
- ]
+ catalog = ":views_mus_tests_catalog"
+ output_symbol_name = "kViewsMusTestCatalog"
}
« no previous file with comments | « services/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698