| 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 ":system_java", | |
| 11 ":mojo_javatests", | 10 ":mojo_javatests", |
| 12 ":mojo_test_apk", | 11 ":mojo_test_apk", |
| 12 ":system_java", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 generate_jni("jni_headers") { | 16 generate_jni("jni_headers") { |
| 17 sources = [ | 17 sources = [ |
| 18 "javatests/src/org/chromium/mojo/MojoTestCase.java", | 18 "javatests/src/org/chromium/mojo/MojoTestCase.java", |
| 19 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java", | 19 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java", |
| 20 ] | 20 ] |
| 21 public_deps = [ | 21 public_deps = [ |
| 22 ":system_java_jni_headers", | 22 ":system_java_jni_headers", |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 deps = [ | 122 deps = [ |
| 123 ":jni_headers", | 123 ":jni_headers", |
| 124 ":libsystem_java", | 124 ":libsystem_java", |
| 125 ":system_java_jni_headers", | 125 ":system_java_jni_headers", |
| 126 "//base", | 126 "//base", |
| 127 "//base/test/:test_support", | 127 "//base/test/:test_support", |
| 128 "//build/config/sanitizers:deps", | 128 "//build/config/sanitizers:deps", |
| 129 "//mojo/message_pump", | 129 "//mojo/message_pump", |
| 130 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 130 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
| 131 "//mojo/public/cpp/environment", |
| 131 "//mojo/public/cpp/test_support:test_utils", | 132 "//mojo/public/cpp/test_support:test_utils", |
| 132 "//mojo/public/cpp/environment", | |
| 133 "//third_party/mojo/src/mojo/edk/system", | 133 "//third_party/mojo/src/mojo/edk/system", |
| 134 ] | 134 ] |
| 135 defines = [ "UNIT_TEST" ] | 135 defines = [ "UNIT_TEST" ] |
| 136 } | 136 } |
| 137 | 137 |
| 138 android_apk("mojo_test_apk") { | 138 android_apk("mojo_test_apk") { |
| 139 testonly = true | 139 testonly = true |
| 140 deps = [ | 140 deps = [ |
| 141 ":mojo_java_unittests", |
| 141 ":mojo_javatests", | 142 ":mojo_javatests", |
| 142 ":mojo_java_unittests", | |
| 143 ":system_java", | 143 ":system_java", |
| 144 "//base:base_java", | 144 "//base:base_java", |
| 145 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 145 "//mojo/public/java:bindings", | 146 "//mojo/public/java:bindings", |
| 146 "//mojo/public/interfaces/bindings/tests:test_interfaces", | |
| 147 ] | 147 ] |
| 148 native_libs = [ "libmojo_java_unittests.so" ] | 148 native_libs = [ "libmojo_java_unittests.so" ] |
| 149 apk_name = "MojoTest" | 149 apk_name = "MojoTest" |
| 150 android_manifest = "javatests/AndroidManifest.xml" | 150 android_manifest = "javatests/AndroidManifest.xml" |
| 151 } | 151 } |
| OLD | NEW |