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

Unified Diff: shell/BUILD.gn

Issue 979043003: Fix shell_apptest for android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: namespace Created 5 years, 9 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 | « services/icu_data/icu_data_impl.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/BUILD.gn
diff --git a/shell/BUILD.gn b/shell/BUILD.gn
index e20c0e5eca1b05a6d77c615c3997e963fdcff999..8e0e5ff681757658e2ecdb4818ceb656085c2af1 100644
--- a/shell/BUILD.gn
+++ b/shell/BUILD.gn
@@ -6,6 +6,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("//mojo/tools/embed/rules.gni")
import("//testing/test.gni")
# We don't support building in the component build since mojo apps are
@@ -507,6 +508,17 @@ test("external_application_unittests") {
}
}
+embed_file("embed_pingable") {
+ source = "$root_build_dir/pingable_app.mojo"
+ namespace = "mojo"
+ variable = "kPingable"
+ testonly = true
+
+ deps = [
+ "//shell/test:pingable_app",
+ ]
+}
+
mojo_native_application("apptests") {
output_name = "shell_apptests"
@@ -528,10 +540,8 @@ mojo_native_application("apptests") {
"//services/http_server/public",
"//services/http_server/public:util",
"//shell/test:bindings",
+ ":embed_pingable",
]
- data_deps = [
- "//services/http_server:http_server",
- "//shell/test:pingable_app",
- ]
+ data_deps = [ "//services/http_server:http_server" ]
}
« no previous file with comments | « services/icu_data/icu_data_impl.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698