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_overrides/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") { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 ] | 95 ] |
96 deps = [ | 96 deps = [ |
97 "//content/shell:pak", | 97 "//content/shell:pak", |
98 ] | 98 ] |
99 | 99 |
100 if (icu_use_data_file) { | 100 if (icu_use_data_file) { |
101 sources += [ "$root_build_dir/icudtl.dat" ] | 101 sources += [ "$root_build_dir/icudtl.dat" ] |
102 deps += [ "//third_party/icu:icudata" ] | 102 deps += [ "//third_party/icu:icudata" ] |
103 } | 103 } |
104 if (v8_use_external_startup_data) { | 104 if (v8_use_external_startup_data) { |
105 sources += [ | 105 renaming_sources = v8_external_startup_data_renaming_sources |
106 "$root_build_dir/natives_blob.bin", | 106 renaming_destinations = v8_external_startup_data_renaming_destinations |
107 "$root_build_dir/snapshot_blob.bin", | |
108 ] | |
109 deps += [ "//v8" ] | 107 deps += [ "//v8" ] |
110 } | 108 } |
111 } | 109 } |
112 | 110 |
113 android_apk("content_shell_apk") { | 111 android_apk("content_shell_apk") { |
114 testonly = true | 112 testonly = true |
115 data_deps = [ | 113 data_deps = [ |
116 # "//tools/android/forwarder", | 114 # "//tools/android/forwarder", |
117 ] | 115 ] |
118 deps = [ | 116 deps = [ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 ] | 150 ] |
153 DEPRECATED_java_in_dir = "javatests/src" | 151 DEPRECATED_java_in_dir = "javatests/src" |
154 } | 152 } |
155 | 153 |
156 instrumentation_test_apk("content_shell_test_apk") { | 154 instrumentation_test_apk("content_shell_test_apk") { |
157 deps = [ | 155 deps = [ |
158 "//content/public/android:content_javatests", | 156 "//content/public/android:content_javatests", |
159 "//base:base_javatests", | 157 "//base:base_javatests", |
160 "//net/android:net_javatests", | 158 "//net/android:net_javatests", |
161 ] | 159 ] |
162 data_deps = [ ":content_shell_apk" ] | 160 data_deps = [ |
| 161 ":content_shell_apk", |
| 162 ] |
163 apk_under_test = ":content_shell_apk" | 163 apk_under_test = ":content_shell_apk" |
164 apk_name = "ContentShellTest" | 164 apk_name = "ContentShellTest" |
165 android_manifest = "javatests/AndroidManifest.xml" | 165 android_manifest = "javatests/AndroidManifest.xml" |
166 isolate_file = "../../content_shell_test_apk.isolate" | 166 isolate_file = "../../content_shell_test_apk.isolate" |
167 } | 167 } |
168 | 168 |
169 if (current_cpu != "x64") { | 169 if (current_cpu != "x64") { |
170 chromium_linker_test_manifest = | 170 chromium_linker_test_manifest = |
171 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" | 171 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" |
172 | 172 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 230 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
231 generate_jni("linker_test_jni_headers") { | 231 generate_jni("linker_test_jni_headers") { |
232 testonly = true | 232 testonly = true |
233 jni_package = "content/shell" | 233 jni_package = "content/shell" |
234 sources = [ | 234 sources = [ |
235 "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", |
236 ] | 236 ] |
237 } | 237 } |
238 } | 238 } |
OLD | NEW |