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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", | 61 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", |
62 "system/src/org/chromium/mojo/system/impl/HandleBase.java", | 62 "system/src/org/chromium/mojo/system/impl/HandleBase.java", |
63 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java", | 63 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java", |
64 "system/src/org/chromium/mojo/system/impl/SharedBufferHandleImpl.java", | 64 "system/src/org/chromium/mojo/system/impl/SharedBufferHandleImpl.java", |
65 "system/src/org/chromium/mojo/system/impl/UntypedHandleImpl.java", | 65 "system/src/org/chromium/mojo/system/impl/UntypedHandleImpl.java", |
66 "system/src/org/chromium/mojo/system/impl/WatcherImpl.java", | 66 "system/src/org/chromium/mojo/system/impl/WatcherImpl.java", |
67 ] | 67 ] |
68 | 68 |
69 deps = [ | 69 deps = [ |
70 "//base:base_java", | 70 "//base:base_java", |
71 "//mojo/public/java:system", | 71 "//mojo/public/java:system_java", |
72 ] | 72 ] |
73 } | 73 } |
74 | 74 |
75 android_library("mojo_javatests") { | 75 android_library("mojo_javatests") { |
76 testonly = true | 76 testonly = true |
77 java_files = [ | 77 java_files = [ |
78 "javatests/src/org/chromium/mojo/HandleMock.java", | 78 "javatests/src/org/chromium/mojo/HandleMock.java", |
79 "javatests/src/org/chromium/mojo/MojoTestCase.java", | 79 "javatests/src/org/chromium/mojo/MojoTestCase.java", |
80 "javatests/src/org/chromium/mojo/TestUtils.java", | 80 "javatests/src/org/chromium/mojo/TestUtils.java", |
81 "javatests/src/org/chromium/mojo/bindings/BindingsHelperTest.java", | 81 "javatests/src/org/chromium/mojo/bindings/BindingsHelperTest.java", |
(...skipping 16 matching lines...) Expand all Loading... |
98 "javatests/src/org/chromium/mojo/system/impl/WatcherImplTest.java", | 98 "javatests/src/org/chromium/mojo/system/impl/WatcherImplTest.java", |
99 ] | 99 ] |
100 | 100 |
101 deps = [ | 101 deps = [ |
102 ":system_java", | 102 ":system_java", |
103 "//base:base_java", | 103 "//base:base_java", |
104 "//base:base_java_test_support", | 104 "//base:base_java_test_support", |
105 "//mojo/public/interfaces/bindings/tests:test_interfaces_java", | 105 "//mojo/public/interfaces/bindings/tests:test_interfaces_java", |
106 "//mojo/public/interfaces/bindings/tests:test_mojom_import2_java", | 106 "//mojo/public/interfaces/bindings/tests:test_mojom_import2_java", |
107 "//mojo/public/interfaces/bindings/tests:test_mojom_import_java", | 107 "//mojo/public/interfaces/bindings/tests:test_mojom_import_java", |
108 "//mojo/public/java:bindings", | 108 "//mojo/public/java:bindings_java", |
109 "//mojo/public/java:system", | 109 "//mojo/public/java:system_java", |
110 ] | 110 ] |
111 | 111 |
112 data = [ | 112 data = [ |
113 "//mojo/public/interfaces/bindings/tests/data/validation/", | 113 "//mojo/public/interfaces/bindings/tests/data/validation/", |
114 ] | 114 ] |
115 } | 115 } |
116 | 116 |
117 shared_library("mojo_java_unittests") { | 117 shared_library("mojo_java_unittests") { |
118 testonly = true | 118 testonly = true |
119 | 119 |
(...skipping 18 matching lines...) Expand all Loading... |
138 ] | 138 ] |
139 defines = [ "UNIT_TEST" ] | 139 defines = [ "UNIT_TEST" ] |
140 } | 140 } |
141 | 141 |
142 instrumentation_test_apk("mojo_test_apk") { | 142 instrumentation_test_apk("mojo_test_apk") { |
143 deps = [ | 143 deps = [ |
144 ":mojo_javatests", | 144 ":mojo_javatests", |
145 ":system_java", | 145 ":system_java", |
146 "//base:base_java", | 146 "//base:base_java", |
147 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 147 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
148 "//mojo/public/java:bindings", | 148 "//mojo/public/java:bindings_java", |
149 ] | 149 ] |
150 shared_libraries = [ ":mojo_java_unittests" ] | 150 shared_libraries = [ ":mojo_java_unittests" ] |
151 apk_name = "MojoTest" | 151 apk_name = "MojoTest" |
152 android_manifest = "javatests/AndroidManifest.xml" | 152 android_manifest = "javatests/AndroidManifest.xml" |
153 } | 153 } |
OLD | NEW |