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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 v8_object_print = "" | 54 v8_object_print = "" |
55 | 55 |
56 # With post mortem support enabled, metadata is embedded into libv8 that | 56 # With post mortem support enabled, metadata is embedded into libv8 that |
57 # describes various parameters of the VM for use by debuggers. See | 57 # describes various parameters of the VM for use by debuggers. See |
58 # tools/gen-postmortem-metadata.py for details. | 58 # tools/gen-postmortem-metadata.py for details. |
59 v8_postmortem_support = false | 59 v8_postmortem_support = false |
60 | 60 |
61 # Switches off inlining in V8. | 61 # Switches off inlining in V8. |
62 v8_no_inline = false | 62 v8_no_inline = false |
63 | 63 |
| 64 # Override OS page size when generating snapshot |
| 65 v8_os_page_size = "0" |
| 66 |
64 # Similar to vfp but on MIPS. | 67 # Similar to vfp but on MIPS. |
65 v8_can_use_fpu_instructions = true | 68 v8_can_use_fpu_instructions = true |
66 | 69 |
67 # Similar to the ARM hard float ABI but on MIPS. | 70 # Similar to the ARM hard float ABI but on MIPS. |
68 v8_use_mips_abi_hardfloat = true | 71 v8_use_mips_abi_hardfloat = true |
69 } | 72 } |
70 | 73 |
71 # Set project-specific defaults for some args if not provided in args.gn. The | 74 # Set project-specific defaults for some args if not provided in args.gn. The |
72 # defaults can be set in the respective build_overrides files. | 75 # defaults can be set in the respective build_overrides files. |
73 if (v8_imminent_deprecation_warnings == "") { | 76 if (v8_imminent_deprecation_warnings == "") { |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), | 675 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir), |
673 ] | 676 ] |
674 | 677 |
675 if (v8_random_seed != "0") { | 678 if (v8_random_seed != "0") { |
676 args += [ | 679 args += [ |
677 "--random-seed", | 680 "--random-seed", |
678 v8_random_seed, | 681 v8_random_seed, |
679 ] | 682 ] |
680 } | 683 } |
681 | 684 |
| 685 if (v8_os_page_size != "0") { |
| 686 args += [ |
| 687 "--v8_os_page_size", |
| 688 v8_os_page_size, |
| 689 ] |
| 690 } |
| 691 |
682 if (v8_use_external_startup_data) { | 692 if (v8_use_external_startup_data) { |
683 outputs += [ "$root_out_dir/snapshot_blob.bin" ] | 693 outputs += [ "$root_out_dir/snapshot_blob.bin" ] |
684 args += [ | 694 args += [ |
685 "--startup_blob", | 695 "--startup_blob", |
686 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir), | 696 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir), |
687 ] | 697 ] |
688 } | 698 } |
689 | 699 |
690 if (v8_embed_script != "") { | 700 if (v8_embed_script != "") { |
691 sources += [ v8_embed_script ] | 701 sources += [ v8_embed_script ] |
(...skipping 2292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2984 ] | 2994 ] |
2985 | 2995 |
2986 configs = [ | 2996 configs = [ |
2987 ":external_config", | 2997 ":external_config", |
2988 ":internal_config_base", | 2998 ":internal_config_base", |
2989 ] | 2999 ] |
2990 } | 3000 } |
2991 | 3001 |
2992 v8_fuzzer("wasm_data_section_fuzzer") { | 3002 v8_fuzzer("wasm_data_section_fuzzer") { |
2993 } | 3003 } |
OLD | NEW |