Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: content/shell/android/BUILD.gn

Issue 753103003: Enable external V8 snapshot on Android through GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/android/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//third_party/icu/config.gni") 8 import("//third_party/icu/config.gni")
8 9
9 generate_jni("content_shell_jni_headers") { 10 generate_jni("content_shell_jni_headers") {
10 jni_package = "content/shell" 11 jni_package = "content/shell"
11 sources = [ 12 sources = [
12 "browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTe stsActivity.java", 13 "browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTe stsActivity.java",
13 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java", 14 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java",
14 "java/src/org/chromium/content_shell/ShellManager.java", 15 "java/src/org/chromium/content_shell/ShellManager.java",
15 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java", 16 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java",
16 "java/src/org/chromium/content_shell/Shell.java", 17 "java/src/org/chromium/content_shell/Shell.java",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 dest = content_shell_assets_dir 88 dest = content_shell_assets_dir
88 sources = [ 89 sources = [
89 "$root_out_dir/content_shell.pak" 90 "$root_out_dir/content_shell.pak"
90 ] 91 ]
91 92
92 if (icu_use_data_file) { 93 if (icu_use_data_file) {
93 sources += [ 94 sources += [
94 "$root_build_dir/icudtl.dat" 95 "$root_build_dir/icudtl.dat"
95 ] 96 ]
96 } 97 }
98 if (v8_use_external_startup_data) {
99 sources += [
100 "$root_gen_dir/natives_blob.bin",
101 "$root_gen_dir/snapshot_blob.bin",
102 ]
103 }
97 } 104 }
98 105
99 android_apk("content_shell_apk") { 106 android_apk("content_shell_apk") {
100 use_chromium_linker = true 107 use_chromium_linker = true
101 testonly = true 108 testonly = true
102 datadeps = [ 109 datadeps = [
103 # "//tools/android/forwarder", 110 # "//tools/android/forwarder",
104 ] 111 ]
105 deps = [ 112 deps = [
106 ":content_shell_apk_resources", 113 ":content_shell_apk_resources",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 215
209 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers 216 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers
210 generate_jni("linker_test_jni_headers") { 217 generate_jni("linker_test_jni_headers") {
211 testonly = true 218 testonly = true
212 jni_package = "content/shell" 219 jni_package = "content/shell"
213 sources = [ 220 sources = [
214 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav a", 221 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav a",
215 ] 222 ]
216 } 223 }
217 } 224 }
OLDNEW
« no previous file with comments | « chrome/android/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698