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/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
508 args = rebase_path(outputs, root_build_dir) + [ "D8" ] + | 508 args = rebase_path(outputs, root_build_dir) + [ "D8" ] + |
509 rebase_path(inputs, root_build_dir) | 509 rebase_path(inputs, root_build_dir) |
510 } | 510 } |
511 | 511 |
512 if (is_android) { | 512 if (is_android) { |
513 android_assets("v8_external_startup_data_assets") { | 513 android_assets("v8_external_startup_data_assets") { |
514 if (v8_use_external_startup_data) { | 514 if (v8_use_external_startup_data) { |
515 deps = [ | 515 deps = [ |
516 "//v8", | 516 "//v8", |
517 ] | 517 ] |
518 renaming_sources = v8_external_startup_data_renaming_sources | 518 sources = [ |
519 renaming_destinations = v8_external_startup_data_renaming_destinations | 519 "$root_out_dir/natives_blob.bin", |
520 ] | |
521 renaming_sources = [ "$root_out_dir/snapshot_blob.bin" ] | |
522 if (current_cpu == "arm" || current_cpu == "x86" || | |
523 current_cpu == "mipsel") { | |
524 renaming_destinations = [ "snapshot_blob_32.bin" ] | |
Yang
2016/06/22 12:59:50
Does this actually work? in src/startup-data-util.
michaelbai
2016/06/22 16:00:37
This target "v8_external_startup_data_assets" isn'
| |
525 } else { | |
526 renaming_destinations = [ "snapshot_blob_64.bin" ] | |
527 } | |
520 disable_compression = true | 528 disable_compression = true |
521 } | 529 } |
522 } | 530 } |
523 } | 531 } |
524 | 532 |
525 if (v8_use_external_startup_data) { | 533 if (v8_use_external_startup_data) { |
526 action("natives_blob") { | 534 action("natives_blob") { |
527 visibility = [ ":*" ] # Only targets in this file can depend on this. | 535 visibility = [ ":*" ] # Only targets in this file can depend on this. |
528 | 536 |
529 deps = [ | 537 deps = [ |
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2252 | 2260 |
2253 deps = [ | 2261 deps = [ |
2254 ":fuzzer_support", | 2262 ":fuzzer_support", |
2255 ] | 2263 ] |
2256 | 2264 |
2257 configs = [ ":internal_config" ] | 2265 configs = [ ":internal_config" ] |
2258 } | 2266 } |
2259 | 2267 |
2260 v8_fuzzer("wasm_asmjs_fuzzer") { | 2268 v8_fuzzer("wasm_asmjs_fuzzer") { |
2261 } | 2269 } |
OLD | NEW |