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 # TODO(jochen): These will need to be user-settable to support standalone V8 | 5 # TODO(jochen): These will need to be user-settable to support standalone V8 |
6 # builds. | 6 # builds. |
7 v8_compress_startup_data = "off" | 7 v8_compress_startup_data = "off" |
8 v8_deprecation_warnings = false | 8 v8_deprecation_warnings = false |
9 v8_enable_disassembler = false | 9 v8_enable_disassembler = false |
10 v8_enable_gdbjit = false | 10 v8_enable_gdbjit = false |
11 v8_enable_handle_zapping = true | 11 v8_enable_handle_zapping = true |
12 v8_enable_i18n_support = true | 12 v8_enable_i18n_support = true |
13 v8_enable_verify_heap = false | 13 v8_enable_verify_heap = false |
14 v8_interpreted_regexp = false | 14 v8_interpreted_regexp = false |
15 v8_object_print = false | 15 v8_object_print = false |
16 v8_postmortem_support = false | 16 v8_postmortem_support = false |
17 v8_use_default_platform = true | 17 v8_use_default_platform = true |
18 v8_use_snapshot = true | 18 v8_use_snapshot = true |
| 19 v8_use_external_startup_data = false |
19 v8_enable_extra_checks = is_debug | 20 v8_enable_extra_checks = is_debug |
20 v8_target_arch = cpu_arch | 21 v8_target_arch = cpu_arch |
21 v8_random_seed = "314159265" | 22 v8_random_seed = "314159265" |
22 | 23 |
23 | 24 |
24 ############################################################################### | 25 ############################################################################### |
25 # Configurations | 26 # Configurations |
26 # | 27 # |
27 config("internal_config") { | 28 config("internal_config") { |
28 visibility = ":*" # Only targets in this file can depend on this. | 29 visibility = ":*" # Only targets in this file can depend on this. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 if (v8_enable_extra_checks == true) { | 91 if (v8_enable_extra_checks == true) { |
91 defines += [ | 92 defines += [ |
92 "ENABLE_EXTRA_CHECKS", | 93 "ENABLE_EXTRA_CHECKS", |
93 ] | 94 ] |
94 } | 95 } |
95 if (v8_enable_handle_zapping == true) { | 96 if (v8_enable_handle_zapping == true) { |
96 defines += [ | 97 defines += [ |
97 "ENABLE_HANDLE_ZAPPING", | 98 "ENABLE_HANDLE_ZAPPING", |
98 ] | 99 ] |
99 } | 100 } |
| 101 if (v8_use_external_startup_data == true) { |
| 102 defines += [ |
| 103 "V8_USE_EXTERNAL_STARTUP_DATA", |
| 104 ] |
| 105 } |
100 } | 106 } |
101 | 107 |
102 config("toolchain") { | 108 config("toolchain") { |
103 visibility = ":*" # Only targets in this file can depend on this. | 109 visibility = ":*" # Only targets in this file can depend on this. |
104 | 110 |
105 defines = [] | 111 defines = [] |
106 cflags = [] | 112 cflags = [] |
107 | 113 |
108 # TODO(jochen): Add support for arm, mips, mipsel. | 114 # TODO(jochen): Add support for arm, mips, mipsel. |
109 | 115 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 ":js2c_experimental", | 302 ":js2c_experimental", |
297 ":generate_trig_table", | 303 ":generate_trig_table", |
298 ":v8_base", | 304 ":v8_base", |
299 ] | 305 ] |
300 | 306 |
301 sources = [ | 307 sources = [ |
302 "$target_gen_dir/libraries.cc", | 308 "$target_gen_dir/libraries.cc", |
303 "$target_gen_dir/experimental-libraries.cc", | 309 "$target_gen_dir/experimental-libraries.cc", |
304 "$target_gen_dir/trig-table.cc", | 310 "$target_gen_dir/trig-table.cc", |
305 "src/snapshot-empty.cc", | 311 "src/snapshot-empty.cc", |
| 312 "src/snapshot-common.cc", |
306 ] | 313 ] |
307 | 314 |
308 configs -= [ "//build/config/compiler:chromium_code" ] | 315 configs -= [ "//build/config/compiler:chromium_code" ] |
309 configs += [ "//build/config/compiler:no_chromium_code" ] | 316 configs += [ "//build/config/compiler:no_chromium_code" ] |
310 configs += [ ":internal_config", ":features", ":toolchain" ] | 317 configs += [ ":internal_config", ":features", ":toolchain" ] |
311 } | 318 } |
312 | 319 |
313 source_set("v8_snapshot") { | 320 source_set("v8_snapshot") { |
314 visibility = ":*" # Only targets in this file can depend on this. | 321 visibility = ":*" # Only targets in this file can depend on this. |
315 | 322 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 "src/scanner.cc", | 636 "src/scanner.cc", |
630 "src/scanner.h", | 637 "src/scanner.h", |
631 "src/scopeinfo.cc", | 638 "src/scopeinfo.cc", |
632 "src/scopeinfo.h", | 639 "src/scopeinfo.h", |
633 "src/scopes.cc", | 640 "src/scopes.cc", |
634 "src/scopes.h", | 641 "src/scopes.h", |
635 "src/serialize.cc", | 642 "src/serialize.cc", |
636 "src/serialize.h", | 643 "src/serialize.h", |
637 "src/small-pointer-list.h", | 644 "src/small-pointer-list.h", |
638 "src/smart-pointers.h", | 645 "src/smart-pointers.h", |
639 "src/snapshot-common.cc", | 646 "src/snapshot-source-sink.cc", |
| 647 "src/snapshot-source-sink.h", |
640 "src/snapshot.h", | 648 "src/snapshot.h", |
641 "src/spaces-inl.h", | 649 "src/spaces-inl.h", |
642 "src/spaces.cc", | 650 "src/spaces.cc", |
643 "src/spaces.h", | 651 "src/spaces.h", |
644 "src/store-buffer-inl.h", | 652 "src/store-buffer-inl.h", |
645 "src/store-buffer.cc", | 653 "src/store-buffer.cc", |
646 "src/store-buffer.h", | 654 "src/store-buffer.h", |
647 "src/string-search.cc", | 655 "src/string-search.cc", |
648 "src/string-search.h", | 656 "src/string-search.h", |
649 "src/string-stream.cc", | 657 "src/string-stream.cc", |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 } else { | 1034 } else { |
1027 deps = [ | 1035 deps = [ |
1028 ":v8_base", | 1036 ":v8_base", |
1029 ":v8_nosnapshot", | 1037 ":v8_nosnapshot", |
1030 ] | 1038 ] |
1031 } | 1039 } |
1032 # TODO(jochen): Support direct dependent configs. | 1040 # TODO(jochen): Support direct dependent configs. |
1033 } | 1041 } |
1034 | 1042 |
1035 } | 1043 } |
OLD | NEW |