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

Unified Diff: mojo/common/BUILD.gn

Issue 1996463003: Converted Mojo Common Unittests to run as Apptests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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/BUILD.gn ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/BUILD.gn
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
index 3410af218085d87e93e29fe18a3393b6b9bd7434..527c4a133467e1f883bc1a409de5fe0f9b5fe79b 100644
--- a/mojo/common/BUILD.gn
+++ b/mojo/common/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.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -40,13 +41,13 @@ source_set("tests") {
]
}
-test("mojo_common_unittests") {
+mojo_native_application("mojo_common_apptests") {
+ testonly = true
+
deps = [
":tests",
- "//mojo/data_pipe_utils:tests",
viettrungluu 2016/05/19 22:18:49 This target also contains tests. Arguably it shoul
Sean Klein 2016/05/19 22:52:27 Ahhh yikes. Sorry about that. Apptest added for da
- "//mojo/edk/test:run_all_unittests",
- "//mojo/environment:chromium",
- "//mojo/message_pump:tests",
viettrungluu 2016/05/19 22:18:49 "
Sean Klein 2016/05/19 22:52:28 Apptest added for message pump too. I promise I'm
+ "//mojo/application",
+ "//mojo/application:test_support",
]
}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698