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

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

Issue 1667273002: Creates BackgroundShell and uses it in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/standalone/desktop/launcher_process.cc ('k') | ui/views/mus/DEPS » ('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 81ef31f1fb2ad57b1cd9a98b10fb2c62dd7b0714..1ea33d69c1c3b863237eb18194e6ce11162ab779 100644
--- a/ui/views/mus/BUILD.gn
+++ b/ui/views/mus/BUILD.gn
@@ -132,21 +132,24 @@ group("tests") {
testonly = true
deps = [
- ":views_apptests",
+ ":views_mus_unittests",
]
}
-mojo_native_application("views_apptests") {
+test("views_mus_unittests") {
testonly = true
- configs = [ "//build/config:precompiled_headers" ]
+ configs += [ "//build/config:precompiled_headers" ]
# TODO(sky): add more files.
sources = [
+ "../run_all_unittests.cc",
+ "../run_all_unittests.h",
"../widget/native_widget_unittest.cc",
"../widget/root_view_unittest.cc",
"../widget/widget_unittest.cc",
"platform_test_helper_mus.cc",
+ "run_all_unittests_mus.cc",
]
deps = [
@@ -155,7 +158,9 @@ mojo_native_application("views_apptests") {
"//base:i18n",
"//base/test:test_support",
"//cc",
- "//mojo/shell/public/cpp:test_support",
+ "//mojo/shell/background:lib",
+ "//mojo/shell/background:main",
+ "//mojo/shell/public/cpp:sources",
"//skia",
"//testing/gtest",
"//third_party/icu",
« no previous file with comments | « mojo/shell/standalone/desktop/launcher_process.cc ('k') | ui/views/mus/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698