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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "//content/public/android:content_java", | 50 "//content/public/android:content_java", |
51 "//media/base/android:media_java", | 51 "//media/base/android:media_java", |
52 "//mojo/public/java:system", | 52 "//mojo/public/java:system", |
53 "//net/android:net_java", | 53 "//net/android:net_java", |
54 "//ui/android:ui_java", | 54 "//ui/android:ui_java", |
55 ":content_shell_java_resources", | 55 ":content_shell_java_resources", |
56 ] | 56 ] |
57 DEPRECATED_java_in_dir = "java/src" | 57 DEPRECATED_java_in_dir = "java/src" |
58 } | 58 } |
59 | 59 |
60 content_shell_manifest = "$target_gen_dir/content_shell_manifest/AndroidManifest
.xml" | 60 content_shell_manifest = |
| 61 "$target_gen_dir/content_shell_manifest/AndroidManifest.xml" |
61 | 62 |
62 jinja_template("content_shell_manifest") { | 63 jinja_template("content_shell_manifest") { |
63 testonly = true | 64 testonly = true |
64 input = "shell_apk/AndroidManifest.xml.jinja2" | 65 input = "shell_apk/AndroidManifest.xml.jinja2" |
65 output = content_shell_manifest | 66 output = content_shell_manifest |
66 } | 67 } |
67 | 68 |
68 android_resources("content_shell_apk_resources") { | 69 android_resources("content_shell_apk_resources") { |
69 testonly = true | 70 testonly = true |
70 resource_dirs = [ "shell_apk/res" ] | 71 resource_dirs = [ "shell_apk/res" ] |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "//net/android:net_javatests", | 163 "//net/android:net_javatests", |
163 ] | 164 ] |
164 datadeps = [ | 165 datadeps = [ |
165 ":content_shell_apk", | 166 ":content_shell_apk", |
166 ] | 167 ] |
167 apk_name = "ContentShellTest" | 168 apk_name = "ContentShellTest" |
168 android_manifest = "javatests/AndroidManifest.xml" | 169 android_manifest = "javatests/AndroidManifest.xml" |
169 } | 170 } |
170 | 171 |
171 if (cpu_arch != "x64" && cpu_arch != "arm64") { | 172 if (cpu_arch != "x64" && cpu_arch != "arm64") { |
172 | 173 chromium_linker_test_manifest = |
173 chromium_linker_test_manifest = "$target_gen_dir/linker_test_apk/AndroidManife
st.xml" | 174 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" |
174 | 175 |
175 jinja_template("chromium_linker_test_manifest") { | 176 jinja_template("chromium_linker_test_manifest") { |
176 testonly = true | 177 testonly = true |
177 input = "linker_test_apk/AndroidManifest.xml.jinja2" | 178 input = "linker_test_apk/AndroidManifest.xml.jinja2" |
178 output = chromium_linker_test_manifest | 179 output = chromium_linker_test_manifest |
179 } | 180 } |
180 | 181 |
181 android_resources("linker_resources") { | 182 android_resources("linker_resources") { |
182 resource_dirs = [ "linker_test_apk/res" ] | 183 resource_dirs = [ "linker_test_apk/res" ] |
183 android_manifest = chromium_linker_test_manifest | 184 android_manifest = chromium_linker_test_manifest |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 225 |
225 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 226 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
226 generate_jni("linker_test_jni_headers") { | 227 generate_jni("linker_test_jni_headers") { |
227 testonly = true | 228 testonly = true |
228 jni_package = "content/shell" | 229 jni_package = "content/shell" |
229 sources = [ | 230 sources = [ |
230 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 231 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
231 ] | 232 ] |
232 } | 233 } |
233 } | 234 } |
OLD | NEW |