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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
8 import("//third_party/icu/config.gni") | 8 import("//third_party/icu/config.gni") |
9 | 9 |
10 generate_jni("content_shell_jni_headers") { | 10 generate_jni("content_shell_jni_headers") { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 ":content_shell_apk_java", | 140 ":content_shell_apk_java", |
141 "//base:base_java", | 141 "//base:base_java", |
142 "//base:base_java_test_support", | 142 "//base:base_java_test_support", |
143 "//content/public/test/android:content_java_test_support", | 143 "//content/public/test/android:content_java_test_support", |
144 "//content/shell/android:content_shell_java", | 144 "//content/shell/android:content_shell_java", |
145 "//content/public/android:content_java", | 145 "//content/public/android:content_java", |
146 ] | 146 ] |
147 DEPRECATED_java_in_dir = "javatests/src" | 147 DEPRECATED_java_in_dir = "javatests/src" |
148 } | 148 } |
149 | 149 |
150 android_apk("content_shell_test_apk") { | 150 instrumentation_test_apk("content_shell_test_apk") { |
151 testonly = true | |
152 deps = [ | 151 deps = [ |
153 "//content/public/android:content_javatests", | 152 "//content/public/android:content_javatests", |
154 "//base:base_javatests", | 153 "//base:base_javatests", |
155 "//net/android:net_javatests", | 154 "//net/android:net_javatests", |
156 "//testing/android/broker:broker_java", | |
157 ] | 155 ] |
158 datadeps = [ | 156 datadeps = [ |
159 ":content_shell_apk", | 157 ":content_shell_apk", |
160 "//testing/android/driver:driver_apk", | |
161 ] | 158 ] |
162 apk_under_test = ":content_shell_apk" | 159 apk_under_test = ":content_shell_apk" |
163 apk_name = "ContentShellTest" | 160 apk_name = "ContentShellTest" |
164 android_manifest = "javatests/AndroidManifest.xml" | 161 android_manifest = "javatests/AndroidManifest.xml" |
| 162 isolate_file = "../../content_shell_test_apk.isolate" |
165 } | 163 } |
166 | 164 |
167 if (current_cpu != "x64" && current_cpu != "arm64") { | 165 if (current_cpu != "x64" && current_cpu != "arm64") { |
168 chromium_linker_test_manifest = | 166 chromium_linker_test_manifest = |
169 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" | 167 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" |
170 | 168 |
171 jinja_template("chromium_linker_test_manifest") { | 169 jinja_template("chromium_linker_test_manifest") { |
172 testonly = true | 170 testonly = true |
173 input = "linker_test_apk/AndroidManifest.xml.jinja2" | 171 input = "linker_test_apk/AndroidManifest.xml.jinja2" |
174 output = chromium_linker_test_manifest | 172 output = chromium_linker_test_manifest |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 218 |
221 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 219 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
222 generate_jni("linker_test_jni_headers") { | 220 generate_jni("linker_test_jni_headers") { |
223 testonly = true | 221 testonly = true |
224 jni_package = "content/shell" | 222 jni_package = "content/shell" |
225 sources = [ | 223 sources = [ |
226 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 224 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
227 ] | 225 ] |
228 } | 226 } |
229 } | 227 } |
OLD | NEW |