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", |