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

Unified Diff: mojo/message_pump/BUILD.gn

Issue 1996463003: Converted Mojo Common Unittests to run as Apptests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added apptests for data_pipe_utils and message_pump 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/data_pipe_utils/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/message_pump/BUILD.gn
diff --git a/mojo/message_pump/BUILD.gn b/mojo/message_pump/BUILD.gn
index 14daad6df93d3c2bc2a9141307067ef8a21d5f23..c039429c53f1ecd6f1e232dd1bde94881fb273d5 100644
--- a/mojo/message_pump/BUILD.gn
+++ b/mojo/message_pump/BUILD.gn
@@ -2,6 +2,8 @@
# 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")
+
source_set("message_pump") {
sources = [
"handle_watcher.cc",
@@ -19,7 +21,7 @@ source_set("message_pump") {
]
}
-source_set("tests") {
+mojo_native_application("mojo_message_pump_apptests") {
testonly = true
sources = [
@@ -30,8 +32,10 @@ source_set("tests") {
deps = [
":message_pump",
"//base",
- "//base/test:test_support",
"//base:message_loop_tests",
+ "//base/test:test_support",
+ "//mojo/application",
+ "//mojo/application:test_support",
"//mojo/public/cpp/system",
"//mojo/public/cpp/test_support:test_utils",
"//testing/gtest",
« no previous file with comments | « mojo/data_pipe_utils/BUILD.gn ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698