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

Unified Diff: mojo/shell/BUILD.gn

Issue 1358533004: Move more of ContentHandler handling into PackageManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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/runner/native_runner_unittest.cc ('k') | mojo/shell/application_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/BUILD.gn
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
index 0d57c43d418f33486c2f00f7a767a5d5c651984d..9a1fe459c11744811bdd5a67b21da42034f0156b 100644
--- a/mojo/shell/BUILD.gn
+++ b/mojo/shell/BUILD.gn
@@ -19,8 +19,6 @@ source_set("shell") {
"connect_to_application_params.h",
"connect_util.cc",
"connect_util.h",
- "content_handler_connection.cc",
- "content_handler_connection.h",
"data_pipe_peek.cc",
"data_pipe_peek.h",
"fetcher.cc",
@@ -57,18 +55,35 @@ source_set("shell") {
]
}
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "capability_filter_test.cc",
+ "capability_filter_test.h",
+ "test_package_manager.cc",
+ "test_package_manager.h",
+ ]
+
+ deps = [
+ ":shell",
+ ":test_bindings",
+ "//mojo/application/public/cpp",
+ "//mojo/application/public/interfaces",
+ "//testing/gtest",
+ ]
+}
+
test("mojo_shell_unittests") {
sources = [
"application_manager_unittest.cc",
"capability_filter_unittest.cc",
"query_util_unittest.cc",
- "test_package_manager.cc",
- "test_package_manager.h",
]
deps = [
":shell",
":test_bindings",
+ ":test_support",
"//base",
"//mojo/application/public/cpp",
"//third_party/mojo/src/mojo/edk/test:run_all_unittests",
« no previous file with comments | « mojo/runner/native_runner_unittest.cc ('k') | mojo/shell/application_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698