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

Unified Diff: shell/BUILD.gn

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate Created 5 years, 10 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
Index: shell/BUILD.gn
diff --git a/shell/BUILD.gn b/shell/BUILD.gn
index 7a33e3302660c3d1f4cca37c7674aca15614fbc9..34d4d8377c2783351ab796efee350336660b1531 100644
--- a/shell/BUILD.gn
+++ b/shell/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/ui.gni")
import("//mojo/public/mojo.gni")
+import("//mojo/public/mojo_application.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -509,3 +510,32 @@ test("external_application_unittests") {
]
}
}
+
+mojo_native_application("apptests") {
+ output_name = "shell_apptests"
+
+ testonly = true
+
+ sources = [
+ "shell_apptest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/common:common",
+ "//mojo/public/cpp/bindings:callback",
+ "//mojo/public/cpp/environment",
+ "//mojo/public/cpp/system:system",
+ "//mojo/services/network/public/interfaces",
+ "//services/http_server/public",
+ "//services/http_server/public:util",
+ "//shell/test:bindings",
+ ]
+
+ data_deps = [
+ "//services/http_server:http_server",
+ "//shell/test:pingable_app",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698