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("//third_party/icu/config.gni") | 7 import("//third_party/icu/config.gni") |
8 | 8 |
9 generate_jni("content_shell_jni_headers") { | 9 generate_jni("content_shell_jni_headers") { |
10 jni_package = "content/shell" | 10 jni_package = "content/shell" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 dest = content_shell_assets_dir | 87 dest = content_shell_assets_dir |
88 sources = [ | 88 sources = [ |
89 "$root_out_dir/content_shell.pak" | 89 "$root_out_dir/content_shell.pak" |
90 ] | 90 ] |
91 | 91 |
92 if (icu_use_data_file) { | 92 if (icu_use_data_file) { |
93 sources += [ | 93 sources += [ |
94 "$root_build_dir/icudtl.dat" | 94 "$root_build_dir/icudtl.dat" |
95 ] | 95 ] |
96 } | 96 } |
| 97 if (v8_use_external_startup_data) { |
| 98 sources += [ |
| 99 "$root_gen_dir/natives_blob.bin", |
| 100 "$root_gen_dir/snapshot_blob.bin", |
| 101 ] |
| 102 } |
97 } | 103 } |
98 | 104 |
99 android_apk("content_shell_apk") { | 105 android_apk("content_shell_apk") { |
100 use_chromium_linker = true | 106 use_chromium_linker = true |
101 testonly = true | 107 testonly = true |
102 datadeps = [ | 108 datadeps = [ |
103 # "//tools/android/forwarder", | 109 # "//tools/android/forwarder", |
104 ] | 110 ] |
105 deps = [ | 111 deps = [ |
106 ":content_shell_apk_resources", | 112 ":content_shell_apk_resources", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 214 |
209 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 215 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
210 generate_jni("linker_test_jni_headers") { | 216 generate_jni("linker_test_jni_headers") { |
211 testonly = true | 217 testonly = true |
212 jni_package = "content/shell" | 218 jni_package = "content/shell" |
213 sources = [ | 219 sources = [ |
214 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 220 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
215 ] | 221 ] |
216 } | 222 } |
217 } | 223 } |
OLD | NEW |