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

Unified Diff: mash/BUILD.gn

Issue 1822133002: Converts mash_wm_apptests to unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 9 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 | « BUILD.gn ('k') | mash/unittests_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/BUILD.gn
diff --git a/mash/BUILD.gn b/mash/BUILD.gn
index f2abd8fb45b45227b36e55269122096d2a71fd5c..8d82d0a55f1b05503ff45b58cb86dd275eb0ffd1 100644
--- a/mash/BUILD.gn
+++ b/mash/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/mojo_application_manifest.gni")
import("//testing/test.gni")
# Target that builders build.
@@ -9,7 +10,7 @@ group("all") {
testonly = true
deps = [
- ":tests",
+ ":mash_unittests",
"//components/leveldb",
"//mash/example",
"//mash/init",
@@ -20,22 +21,23 @@ group("all") {
]
}
-group("tests") {
- testonly = true
-
- deps = [
- ":mash_unittests",
- "//mash/wm:tests",
- ]
-}
-
test("mash_unittests") {
deps = [
"//base",
- "//base/test:run_all_unittests",
"//base/test:test_config",
"//base/test:test_support",
"//mash/wm:unittests",
"//mojo/platform_handle:platform_handle_impl",
+ "//mojo/shell/background:main",
+ "//mojo/shell/public/cpp/test:run_all_shelltests",
+ ]
+ data_deps = [
+ ":unittests_manifest",
]
}
+
+mojo_application_manifest("unittests_manifest") {
+ type = "exe"
+ application_name = "mash_unittests"
+ source = "unittests_manifest.json"
+}
« no previous file with comments | « BUILD.gn ('k') | mash/unittests_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698