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

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: Address comments from Ross 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
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("//chrome/version.gni") 7 import("//chrome/version.gni")
8 import("//third_party/icu/config.gni") 8 import("//third_party/icu/config.gni")
9 import("channel.gni") 9 import("channel.gni")
10 10
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 deps = [ 310 deps = [
311 "//chrome:packed_resources", 311 "//chrome:packed_resources",
312 "//chrome:packed_extra_resources", 312 "//chrome:packed_extra_resources",
313 ] 313 ]
314 314
315 if (icu_use_data_file) { 315 if (icu_use_data_file) {
316 sources += [ 316 sources += [
317 "$root_build_dir/icudtl.dat" 317 "$root_build_dir/icudtl.dat"
318 ] 318 ]
319 } 319 }
320 if (v8_use_external_startup_data) {
321 sources += [
322 "$root_gen_dir/natives_blob.bin",
323 "$root_gen_dir/snapshot_blob.bin",
324 ]
325 }
320 } 326 }
321 327
322 chrome_shell_manifest = "$target_gen_dir/chrome_shell_manifest/AndroidManifest.x ml" 328 chrome_shell_manifest = "$target_gen_dir/chrome_shell_manifest/AndroidManifest.x ml"
323 329
324 # GYP: //chrome/chrome_shell.gypi:chrome_shell_manifest 330 # GYP: //chrome/chrome_shell.gypi:chrome_shell_manifest
325 jinja_template("chrome_shell_manifest") { 331 jinja_template("chrome_shell_manifest") {
326 testonly = true 332 testonly = true
327 input = "shell/java/AndroidManifest.xml" 333 input = "shell/java/AndroidManifest.xml"
328 output = chrome_shell_manifest 334 output = chrome_shell_manifest
329 } 335 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 source = "java/ChromeVersionConstants.java.version" 483 source = "java/ChromeVersionConstants.java.version"
478 output = chrome_version_java_file 484 output = chrome_version_java_file
479 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"] 485 extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"]
480 } 486 }
481 487
482 zip("chrome_version_srcjar") { 488 zip("chrome_version_srcjar") {
483 inputs = [ chrome_version_java_file ] 489 inputs = [ chrome_version_java_file ]
484 output = "$target_gen_dir/$target_name.srcjar" 490 output = "$target_gen_dir/$target_name.srcjar"
485 base_dir = chrome_version_java_dir 491 base_dir = chrome_version_java_dir
486 } 492 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698