| 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_enable_extra_checks = is_debug | 19 v8_enable_extra_checks = is_debug |
| 20 v8_target_arch = cpu_arch | 20 v8_target_arch = cpu_arch |
| 21 | 21 |
| 22 | 22 |
| 23 ############################################################################### | 23 ############################################################################### |
| 24 # Configurations | 24 # Configurations |
| 25 # | 25 # |
| 26 config("internal_config") { | 26 config("internal_config") { |
| 27 visibility = ":*" # Only targets in this file can depend on this. | 27 visibility = ":*" # Only targets in this file can depend on this. |
| 28 | 28 |
| 29 include_dirs = [ "src" ] | 29 include_dirs = [ "." ] |
| 30 | 30 |
| 31 if (component_mode == "shared_library") { | 31 if (component_mode == "shared_library") { |
| 32 defines = [ | 32 defines = [ |
| 33 "BUILDING_V8_SHARED", | 33 "BUILDING_V8_SHARED", |
| 34 "V8_SHARED", | 34 "V8_SHARED", |
| 35 ] | 35 ] |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 config("features") { | 39 config("features") { |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 | 933 |
| 934 if (v8_compress_startup_data == "bz2") { | 934 if (v8_compress_startup_data == "bz2") { |
| 935 libs = [ "bz2" ] | 935 libs = [ "bz2" ] |
| 936 } | 936 } |
| 937 } | 937 } |
| 938 | 938 |
| 939 } | 939 } |
| 940 | 940 |
| 941 group("v8") { | 941 group("v8") { |
| 942 } | 942 } |
| OLD | NEW |