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", |
(...skipping 28 matching lines...) Expand all Loading... |
39 "system/base_run_loop.cc", | 39 "system/base_run_loop.cc", |
40 "system/base_run_loop.h", | 40 "system/base_run_loop.h", |
41 "system/core_impl.cc", | 41 "system/core_impl.cc", |
42 "system/core_impl.h", | 42 "system/core_impl.h", |
43 ] | 43 ] |
44 | 44 |
45 deps = [ | 45 deps = [ |
46 ":system_java_jni_headers", | 46 ":system_java_jni_headers", |
47 "//base", | 47 "//base", |
48 "//mojo/edk/system", | 48 "//mojo/edk/system", |
49 "//mojo/environment:chromium", | |
50 "//mojo/message_pump", | 49 "//mojo/message_pump", |
51 ] | 50 ] |
52 } | 51 } |
53 | 52 |
54 android_library("system_java") { | 53 android_library("system_java") { |
55 java_files = [ | 54 java_files = [ |
56 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", | 55 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", |
57 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 56 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
58 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java", | 57 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java", |
59 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", | 58 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 deps = [ | 117 deps = [ |
119 ":jni_headers", | 118 ":jni_headers", |
120 ":libsystem_java", | 119 ":libsystem_java", |
121 ":system_java_jni_headers", | 120 ":system_java_jni_headers", |
122 "//base", | 121 "//base", |
123 "//base/test/:test_support", | 122 "//base/test/:test_support", |
124 "//build/config/sanitizers:deps", | 123 "//build/config/sanitizers:deps", |
125 "//mojo/edk/system", | 124 "//mojo/edk/system", |
126 "//mojo/message_pump", | 125 "//mojo/message_pump", |
127 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 126 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
128 "//mojo/public/cpp/environment", | |
129 "//mojo/public/cpp/test_support:test_utils", | 127 "//mojo/public/cpp/test_support:test_utils", |
130 ] | 128 ] |
131 defines = [ "UNIT_TEST" ] | 129 defines = [ "UNIT_TEST" ] |
132 } | 130 } |
133 | 131 |
134 instrumentation_test_apk("mojo_test_apk") { | 132 instrumentation_test_apk("mojo_test_apk") { |
135 deps = [ | 133 deps = [ |
136 ":mojo_java_unittests", | 134 ":mojo_java_unittests", |
137 ":mojo_javatests", | 135 ":mojo_javatests", |
138 ":system_java", | 136 ":system_java", |
139 "//base:base_java", | 137 "//base:base_java", |
140 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 138 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
141 "//mojo/public/java:bindings", | 139 "//mojo/public/java:bindings", |
142 ] | 140 ] |
143 native_libs = [ "libmojo_java_unittests.so" ] | 141 native_libs = [ "libmojo_java_unittests.so" ] |
144 apk_name = "MojoTest" | 142 apk_name = "MojoTest" |
145 android_manifest = "javatests/AndroidManifest.xml" | 143 android_manifest = "javatests/AndroidManifest.xml" |
146 } | 144 } |
OLD | NEW |