Index: shell/BUILD.gn |
diff --git a/shell/BUILD.gn b/shell/BUILD.gn |
index 63fcde447c7227fca1afbab13b540e9baf772c5d..2ce1174790253d47f73c3c47626d13e969c6190b 100644 |
--- a/shell/BUILD.gn |
+++ b/shell/BUILD.gn |
@@ -5,6 +5,7 @@ |
import("//build/config/ui.gni") |
import("//mojo/public/mojo.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
+import("//testing/test.gni") |
# We don't support building in the component build since mojo apps are |
# inherently components. |
@@ -25,7 +26,6 @@ group("shell") { |
if (is_android) { |
deps += [ |
":mojo_shell_apk", |
- ":mojo_shell_tests_apk", |
] |
} |
} |
@@ -328,13 +328,13 @@ if (is_android) { |
native_libs = [ "libmojo_shell.so" ] |
- asset_location = mojo_shell_assets_dir |
deps = [ |
":copy_mojo_shell", |
":copy_mojo_shell_assets", |
":java", |
":resources", |
+ "//base:base_java", |
"//services/native_viewport:native_viewport_java", |
] |
} |
@@ -348,18 +348,6 @@ if (is_android) { |
"//base:base_java", |
] |
} |
- |
- unittest_apk("mojo_shell_tests_apk") { |
- unittests_dep = ":mojo_shell_tests" |
- |
- asset_location = mojo_shell_test_assets_dir |
- |
- deps = [ |
- unittests_dep, |
- ":copy_mojo_shell_test_assets", |
- ":mojo_shell_tests_java", |
- ] |
- } |
} |
mojom("app_child_process_bindings") { |
@@ -443,8 +431,12 @@ test("mojo_shell_tests") { |
deps += [ |
":jni_headers", |
+ ":copy_mojo_shell_test_assets", |
+ ":mojo_shell_tests_java", |
"//testing/android:native_test_native_code", |
] |
+ |
+# TODO(qsr): asset_location = mojo_shell_assets_dir ? |
jamesr
2015/01/22 00:59:28
qsr@ = there appears to be a deficiency in the tes
qsr
2015/01/22 12:26:04
Fixed by https://codereview.chromium.org/862293003
|
} |
} |