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

Unified Diff: mojo/data_pipe_utils/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/common/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/data_pipe_utils/BUILD.gn
diff --git a/mojo/data_pipe_utils/BUILD.gn b/mojo/data_pipe_utils/BUILD.gn
index 0798050c6f3c8d8c9ae97a41c3733e8414143a0c..53d297d43f1fb94284a6bf7137b7aba83922e0b7 100644
--- a/mojo/data_pipe_utils/BUILD.gn
+++ b/mojo/data_pipe_utils/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("data_pipe_utils") {
sources = [
"data_pipe_drainer.cc",
@@ -27,7 +29,7 @@ source_set("data_pipe_utils") {
]
}
-source_set("tests") {
+mojo_native_application("mojo_data_pipe_utils_apptests") {
testonly = true
sources = [
@@ -37,6 +39,8 @@ source_set("tests") {
deps = [
":data_pipe_utils",
"//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
"//testing/gtest",
]
}
« no previous file with comments | « mojo/common/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698