| 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 = false | 17 v8_use_default_platform = false |
| 18 v8_use_snapshot = true | 18 v8_use_snapshot = true |
| 19 v8_use_external_startup_data = false | |
| 20 v8_enable_extra_checks = is_debug | 19 v8_enable_extra_checks = is_debug |
| 21 v8_target_arch = cpu_arch | 20 v8_target_arch = cpu_arch |
| 22 v8_random_seed = "314159265" | 21 v8_random_seed = "314159265" |
| 23 | 22 |
| 24 | 23 |
| 25 ############################################################################### | 24 ############################################################################### |
| 26 # Configurations | 25 # Configurations |
| 27 # | 26 # |
| 28 config("internal_config") { | 27 config("internal_config") { |
| 29 visibility = ":*" # Only targets in this file can depend on this. | 28 visibility = ":*" # Only targets in this file can depend on this. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 if (v8_enable_extra_checks == true) { | 102 if (v8_enable_extra_checks == true) { |
| 104 defines += [ | 103 defines += [ |
| 105 "ENABLE_EXTRA_CHECKS", | 104 "ENABLE_EXTRA_CHECKS", |
| 106 ] | 105 ] |
| 107 } | 106 } |
| 108 if (v8_enable_handle_zapping == true) { | 107 if (v8_enable_handle_zapping == true) { |
| 109 defines += [ | 108 defines += [ |
| 110 "ENABLE_HANDLE_ZAPPING", | 109 "ENABLE_HANDLE_ZAPPING", |
| 111 ] | 110 ] |
| 112 } | 111 } |
| 113 if (v8_use_external_startup_data == true) { | |
| 114 defines += [ | |
| 115 "V8_USE_EXTERNAL_STARTUP_DATA", | |
| 116 ] | |
| 117 } | |
| 118 } | 112 } |
| 119 | 113 |
| 120 config("toolchain") { | 114 config("toolchain") { |
| 121 visibility = ":*" # Only targets in this file can depend on this. | 115 visibility = ":*" # Only targets in this file can depend on this. |
| 122 | 116 |
| 123 defines = [] | 117 defines = [] |
| 124 cflags = [] | 118 cflags = [] |
| 125 | 119 |
| 126 # TODO(jochen): Add support for arm, mips, mipsel. | 120 # TODO(jochen): Add support for arm, mips, mipsel. |
| 127 | 121 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 ":js2c_experimental", | 308 ":js2c_experimental", |
| 315 ":generate_trig_table", | 309 ":generate_trig_table", |
| 316 ":v8_base", | 310 ":v8_base", |
| 317 ] | 311 ] |
| 318 | 312 |
| 319 sources = [ | 313 sources = [ |
| 320 "$target_gen_dir/libraries.cc", | 314 "$target_gen_dir/libraries.cc", |
| 321 "$target_gen_dir/experimental-libraries.cc", | 315 "$target_gen_dir/experimental-libraries.cc", |
| 322 "$target_gen_dir/trig-table.cc", | 316 "$target_gen_dir/trig-table.cc", |
| 323 "src/snapshot-empty.cc", | 317 "src/snapshot-empty.cc", |
| 324 "src/snapshot-common.cc", | |
| 325 ] | 318 ] |
| 326 | 319 |
| 327 configs -= [ "//build/config/compiler:chromium_code" ] | 320 configs -= [ "//build/config/compiler:chromium_code" ] |
| 328 configs += [ "//build/config/compiler:no_chromium_code" ] | 321 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 329 configs += [ ":internal_config", ":features", ":toolchain" ] | 322 configs += [ ":internal_config", ":features", ":toolchain" ] |
| 330 } | 323 } |
| 331 | 324 |
| 332 source_set("v8_snapshot") { | 325 source_set("v8_snapshot") { |
| 333 visibility = ":*" # Only targets in this file can depend on this. | 326 visibility = ":*" # Only targets in this file can depend on this. |
| 334 | 327 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 "src/scanner.cc", | 637 "src/scanner.cc", |
| 645 "src/scanner.h", | 638 "src/scanner.h", |
| 646 "src/scopeinfo.cc", | 639 "src/scopeinfo.cc", |
| 647 "src/scopeinfo.h", | 640 "src/scopeinfo.h", |
| 648 "src/scopes.cc", | 641 "src/scopes.cc", |
| 649 "src/scopes.h", | 642 "src/scopes.h", |
| 650 "src/serialize.cc", | 643 "src/serialize.cc", |
| 651 "src/serialize.h", | 644 "src/serialize.h", |
| 652 "src/small-pointer-list.h", | 645 "src/small-pointer-list.h", |
| 653 "src/smart-pointers.h", | 646 "src/smart-pointers.h", |
| 654 "src/snapshot-source-sink.cc", | 647 "src/snapshot-common.cc", |
| 655 "src/snapshot-source-sink.h", | |
| 656 "src/snapshot.h", | 648 "src/snapshot.h", |
| 657 "src/spaces-inl.h", | 649 "src/spaces-inl.h", |
| 658 "src/spaces.cc", | 650 "src/spaces.cc", |
| 659 "src/spaces.h", | 651 "src/spaces.h", |
| 660 "src/store-buffer-inl.h", | 652 "src/store-buffer-inl.h", |
| 661 "src/store-buffer.cc", | 653 "src/store-buffer.cc", |
| 662 "src/store-buffer.h", | 654 "src/store-buffer.h", |
| 663 "src/string-search.cc", | 655 "src/string-search.cc", |
| 664 "src/string-search.h", | 656 "src/string-search.h", |
| 665 "src/string-stream.cc", | 657 "src/string-stream.cc", |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 deps = [ | 1051 deps = [ |
| 1060 ":v8_base", | 1052 ":v8_base", |
| 1061 ":v8_nosnapshot", | 1053 ":v8_nosnapshot", |
| 1062 ] | 1054 ] |
| 1063 } | 1055 } |
| 1064 | 1056 |
| 1065 direct_dependent_configs = [ ":external_config" ] | 1057 direct_dependent_configs = [ ":external_config" ] |
| 1066 } | 1058 } |
| 1067 | 1059 |
| 1068 } | 1060 } |
| OLD | NEW |