| 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", | 10 ":system_java", |
| 11 ":mojo_javatests", | 11 ":mojo_javatests", |
| 12 ":mojo_test_apk", | 12 ":mojo_test_apk", |
| 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 deps = [ | 21 public_deps = [ |
| 22 ":system_java_jni_headers", | 22 ":system_java_jni_headers", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 jni_package = "mojo" | 25 jni_package = "mojo" |
| 26 } | 26 } |
| 27 | 27 |
| 28 generate_jni("system_java_jni_headers") { | 28 generate_jni("system_java_jni_headers") { |
| 29 sources = [ | 29 sources = [ |
| 30 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", | 30 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", |
| 31 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 31 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ":mojo_java_unittests", | 142 ":mojo_java_unittests", |
| 143 ":system_java", | 143 ":system_java", |
| 144 "//base:base_java", | 144 "//base:base_java", |
| 145 "//third_party/mojo/src/mojo/public/java:bindings", | 145 "//third_party/mojo/src/mojo/public/java:bindings", |
| 146 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface
s", | 146 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface
s", |
| 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 |