Chromium Code Reviews| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 v8_object_print = "" | 58 v8_object_print = "" |
| 59 | 59 |
| 60 # With post mortem support enabled, metadata is embedded into libv8 that | 60 # With post mortem support enabled, metadata is embedded into libv8 that |
| 61 # describes various parameters of the VM for use by debuggers. See | 61 # describes various parameters of the VM for use by debuggers. See |
| 62 # tools/gen-postmortem-metadata.py for details. | 62 # tools/gen-postmortem-metadata.py for details. |
| 63 v8_postmortem_support = false | 63 v8_postmortem_support = false |
| 64 | 64 |
| 65 # Switches off inlining in V8. | 65 # Switches off inlining in V8. |
| 66 v8_no_inline = false | 66 v8_no_inline = false |
| 67 | 67 |
| 68 # Override os page size when generating snapshot | |
| 69 target_os_page_size = "0" | |
|
Michael Lippautz
2016/11/14 09:24:43
I'd make this v8_target_os_page_size. Not sure we
Michael Achenbach
2016/11/14 09:59:01
Yes, please add a v8_ prefix. I don't care about t
| |
| 70 | |
| 68 # Similar to vfp but on MIPS. | 71 # Similar to vfp but on MIPS. |
| 69 v8_can_use_fpu_instructions = true | 72 v8_can_use_fpu_instructions = true |
| 70 | 73 |
| 71 # Similar to the ARM hard float ABI but on MIPS. | 74 # Similar to the ARM hard float ABI but on MIPS. |
| 72 v8_use_mips_abi_hardfloat = true | 75 v8_use_mips_abi_hardfloat = true |
| 73 } | 76 } |
| 74 | 77 |
| 75 # Set project-specific defaults for some args if not provided in args.gn. The | 78 # Set project-specific defaults for some args if not provided in args.gn. The |
| 76 # defaults can be set in the respective build_overrides files. | 79 # defaults can be set in the respective build_overrides files. |
| 77 if (v8_imminent_deprecation_warnings == "") { | 80 if (v8_imminent_deprecation_warnings == "") { |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 664 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), | 667 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), |
| 665 ] | 668 ] |
| 666 | 669 |
| 667 if (v8_random_seed != "0") { | 670 if (v8_random_seed != "0") { |
| 668 args += [ | 671 args += [ |
| 669 "--random-seed", | 672 "--random-seed", |
| 670 v8_random_seed, | 673 v8_random_seed, |
| 671 ] | 674 ] |
| 672 } | 675 } |
| 673 | 676 |
| 677 if (target_os_page_size != "0") { | |
| 678 args += [ | |
| 679 "--target_os_page_size", | |
| 680 target_os_page_size, | |
| 681 ] | |
| 682 } | |
| 683 | |
| 674 if (v8_use_external_startup_data) { | 684 if (v8_use_external_startup_data) { |
| 675 outputs += [ "$root_out_dir/snapshot_blob.bin" ] | 685 outputs += [ "$root_out_dir/snapshot_blob.bin" ] |
| 676 args += [ | 686 args += [ |
| 677 "--startup_blob", | 687 "--startup_blob", |
| 678 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir), | 688 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir), |
| 679 ] | 689 ] |
| 680 } | 690 } |
| 681 | 691 |
| 682 if (v8_embed_script != "") { | 692 if (v8_embed_script != "") { |
| 683 sources += [ v8_embed_script ] | 693 sources += [ v8_embed_script ] |
| (...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2982 ] | 2992 ] |
| 2983 | 2993 |
| 2984 configs = [ | 2994 configs = [ |
| 2985 ":external_config", | 2995 ":external_config", |
| 2986 ":internal_config_base", | 2996 ":internal_config_base", |
| 2987 ] | 2997 ] |
| 2988 } | 2998 } |
| 2989 | 2999 |
| 2990 v8_fuzzer("wasm_data_section_fuzzer") { | 3000 v8_fuzzer("wasm_data_section_fuzzer") { |
| 2991 } | 3001 } |
| OLD | NEW |