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

Side by Side Diff: chrome/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 | « build/module_args/v8.gni ('k') | content/shell/android/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("//chrome/version.gni") 8 import("//chrome/version.gni")
8 import("//third_party/icu/config.gni") 9 import("//third_party/icu/config.gni")
9 import("channel.gni") 10 import("channel.gni")
10 11
11 # GYP: //chrome/chrome.gyp:chrome_java (resources part) 12 # GYP: //chrome/chrome.gyp:chrome_java (resources part)
12 android_resources("chrome_java_resources") { 13 android_resources("chrome_java_resources") {
13 resource_dirs = [ 14 resource_dirs = [
14 "java/res", 15 "java/res",
15 ] 16 ]
16 deps = [ 17 deps = [
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 deps = [ 311 deps = [
311 "//chrome:packed_resources", 312 "//chrome:packed_resources",
312 "//chrome:packed_extra_resources", 313 "//chrome:packed_extra_resources",
313 ] 314 ]
314 315
315 if (icu_use_data_file) { 316 if (icu_use_data_file) {
316 sources += [ 317 sources += [
317 "$root_build_dir/icudtl.dat" 318 "$root_build_dir/icudtl.dat"
318 ] 319 ]
319 } 320 }
321 if (v8_use_external_startup_data) {
322 sources += [
323 "$root_gen_dir/natives_blob.bin",
324 "$root_gen_dir/snapshot_blob.bin",
325 ]
326 }
320 } 327 }
321 328
322 chrome_shell_manifest = "$target_gen_dir/chrome_shell_manifest/AndroidManifest.x ml" 329 chrome_shell_manifest = "$target_gen_dir/chrome_shell_manifest/AndroidManifest.x ml"
323 330
324 # GYP: //chrome/chrome_shell.gypi:chrome_shell_manifest 331 # GYP: //chrome/chrome_shell.gypi:chrome_shell_manifest
325 jinja_template("chrome_shell_manifest") { 332 jinja_template("chrome_shell_manifest") {
326 testonly = true 333 testonly = true
327 input = "shell/java/AndroidManifest.xml" 334 input = "shell/java/AndroidManifest.xml"
328 output = chrome_shell_manifest 335 output = chrome_shell_manifest
329 } 336 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 source = "java/ChromeVersionConstants.java.version" 484 source = "java/ChromeVersionConstants.java.version"
478 output = chrome_version_java_file 485 output = chrome_version_java_file
479 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"] 486 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"]
480 } 487 }
481 488
482 zip("chrome_version_srcjar") { 489 zip("chrome_version_srcjar") {
483 inputs = [ chrome_version_java_file ] 490 inputs = [ chrome_version_java_file ]
484 output = "$target_gen_dir/$target_name.srcjar" 491 output = "$target_gen_dir/$target_name.srcjar"
485 base_dir = chrome_version_java_dir 492 base_dir = chrome_version_java_dir
486 } 493 }
OLDNEW
« no previous file with comments | « build/module_args/v8.gni ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698