| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 | 6 |
| 7 group("android") { | 7 group("android") { |
| 8 testonly = true | 8 testonly = true |
| 9 deps = [ | 9 deps = [ |
| 10 ":mojo_javatests", | 10 ":mojo_javatests", |
| 11 ":mojo_test_apk", | |
| 12 ":system_java", | 11 ":system_java", |
| 13 ] | 12 ] |
| 13 if (!enable_all_proguard_optimizations) { |
| 14 deps += [ ":mojo_test_apk" ] |
| 15 } |
| 14 } | 16 } |
| 15 | 17 |
| 16 generate_jni("jni_headers") { | 18 generate_jni("jni_headers") { |
| 17 sources = [ | 19 sources = [ |
| 18 "javatests/src/org/chromium/mojo/MojoTestCase.java", | 20 "javatests/src/org/chromium/mojo/MojoTestCase.java", |
| 19 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java", | 21 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java", |
| 20 ] | 22 ] |
| 21 public_deps = [ | 23 public_deps = [ |
| 22 ":system_java_jni_headers", | 24 ":system_java_jni_headers", |
| 23 ] | 25 ] |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 "//base/test/:test_support", | 125 "//base/test/:test_support", |
| 124 "//build/config/sanitizers:deps", | 126 "//build/config/sanitizers:deps", |
| 125 "//mojo/edk/system", | 127 "//mojo/edk/system", |
| 126 "//mojo/message_pump", | 128 "//mojo/message_pump", |
| 127 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 129 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
| 128 "//mojo/public/cpp/test_support:test_utils", | 130 "//mojo/public/cpp/test_support:test_utils", |
| 129 ] | 131 ] |
| 130 defines = [ "UNIT_TEST" ] | 132 defines = [ "UNIT_TEST" ] |
| 131 } | 133 } |
| 132 | 134 |
| 133 instrumentation_test_apk("mojo_test_apk") { | 135 if (!enable_all_proguard_optimizations) { |
| 134 deps = [ | 136 instrumentation_test_apk("mojo_test_apk") { |
| 135 ":mojo_javatests", | 137 deps = [ |
| 136 ":system_java", | 138 ":mojo_javatests", |
| 137 "//base:base_java", | 139 ":system_java", |
| 138 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 140 "//base:base_java", |
| 139 "//mojo/public/java:bindings", | 141 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 140 ] | 142 "//mojo/public/java:bindings", |
| 141 shared_libraries = [ ":mojo_java_unittests" ] | 143 ] |
| 142 apk_name = "MojoTest" | 144 shared_libraries = [ ":mojo_java_unittests" ] |
| 143 android_manifest = "javatests/AndroidManifest.xml" | 145 apk_name = "MojoTest" |
| 144 isolate_file = "../mojo_test_apk.isolate" | 146 android_manifest = "javatests/AndroidManifest.xml" |
| 147 isolate_file = "../mojo_test_apk.isolate" |
| 148 } |
| 145 } | 149 } |
| OLD | NEW |