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", |
+ ] |
+} |