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_overrides/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") { |
11 jni_package = "content/shell" | 11 jni_package = "content/shell" |
12 sources = [ | 12 sources = [ |
13 "java/src/org/chromium/content_shell/Shell.java", | 13 "java/src/org/chromium/content_shell/Shell.java", |
14 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java", | 14 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java", |
15 "java/src/org/chromium/content_shell/ShellManager.java", | 15 "java/src/org/chromium/content_shell/ShellManager.java", |
16 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java", | 16 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java", |
17 ] | 17 ] |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 ] | 152 ] |
153 DEPRECATED_java_in_dir = "javatests/src" | 153 DEPRECATED_java_in_dir = "javatests/src" |
154 } | 154 } |
155 | 155 |
156 instrumentation_test_apk("content_shell_test_apk") { | 156 instrumentation_test_apk("content_shell_test_apk") { |
157 deps = [ | 157 deps = [ |
158 "//content/public/android:content_javatests", | 158 "//content/public/android:content_javatests", |
159 "//base:base_javatests", | 159 "//base:base_javatests", |
160 "//net/android:net_javatests", | 160 "//net/android:net_javatests", |
161 ] | 161 ] |
162 data_deps = [ | 162 data_deps = [ ":content_shell_apk" ] |
163 ":content_shell_apk", | |
164 ] | |
165 apk_under_test = ":content_shell_apk" | 163 apk_under_test = ":content_shell_apk" |
166 apk_name = "ContentShellTest" | 164 apk_name = "ContentShellTest" |
167 android_manifest = "javatests/AndroidManifest.xml" | 165 android_manifest = "javatests/AndroidManifest.xml" |
168 isolate_file = "../../content_shell_test_apk.isolate" | 166 isolate_file = "../../content_shell_test_apk.isolate" |
169 } | 167 } |
170 | 168 |
171 if (current_cpu != "x64") { | 169 if (current_cpu != "x64") { |
172 chromium_linker_test_manifest = | 170 chromium_linker_test_manifest = |
173 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" | 171 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" |
174 | 172 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 229 |
232 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 230 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
233 generate_jni("linker_test_jni_headers") { | 231 generate_jni("linker_test_jni_headers") { |
234 testonly = true | 232 testonly = true |
235 jni_package = "content/shell" | 233 jni_package = "content/shell" |
236 sources = [ | 234 sources = [ |
237 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 235 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
238 ] | 236 ] |
239 } | 237 } |
240 } | 238 } |
OLD | NEW |