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/mips.gni") | 7 import("//build/config/mips.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
502 script = "tools/run.py" | 502 script = "tools/run.py" |
503 | 503 |
504 outputs = [ | 504 outputs = [ |
505 "$target_gen_dir/snapshot.cc", | 505 "$target_gen_dir/snapshot.cc", |
506 ] | 506 ] |
507 | 507 |
508 args = [ | 508 args = [ |
509 "./" + rebase_path(get_label_info(":mksnapshot($snapshot_toolchain)", | 509 "./" + rebase_path(get_label_info(":mksnapshot($snapshot_toolchain)", |
510 "root_out_dir") + "/mksnapshot", | 510 "root_out_dir") + "/mksnapshot", |
511 root_build_dir), | 511 root_build_dir), |
512 "--log-snapshot-positions", | |
513 "--logfile", | |
514 rebase_path("$target_gen_dir/snapshot.log", root_build_dir), | |
Yang
2016/04/05 12:37:13
In src/snapshot/mksnapshot.cc, at the very start o
Stefano Sanfilippo
2016/04/05 14:06:09
Done.
| |
515 "--startup_src", | 512 "--startup_src", |
516 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), | 513 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), |
517 ] | 514 ] |
518 | 515 |
519 if (v8_random_seed != "0") { | 516 if (v8_random_seed != "0") { |
520 args += [ | 517 args += [ |
521 "--random-seed", | 518 "--random-seed", |
522 v8_random_seed, | 519 v8_random_seed, |
523 ] | 520 ] |
524 } | 521 } |
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2119 | 2116 |
2120 configs -= [ "//build/config/compiler:chromium_code" ] | 2117 configs -= [ "//build/config/compiler:chromium_code" ] |
2121 configs += [ "//build/config/compiler:no_chromium_code" ] | 2118 configs += [ "//build/config/compiler:no_chromium_code" ] |
2122 configs += [ | 2119 configs += [ |
2123 ":internal_config", | 2120 ":internal_config", |
2124 ":libplatform_config", | 2121 ":libplatform_config", |
2125 ":features", | 2122 ":features", |
2126 ":toolchain", | 2123 ":toolchain", |
2127 ] | 2124 ] |
2128 } | 2125 } |
OLD | NEW |