| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   361     ":js2c_experimental", |   355     ":js2c_experimental", | 
|   362     ":generate_trig_table", |   356     ":generate_trig_table", | 
|   363     ":v8_base", |   357     ":v8_base", | 
|   364   ] |   358   ] | 
|   365  |   359  | 
|   366   sources = [ |   360   sources = [ | 
|   367     "$target_gen_dir/libraries.cc", |   361     "$target_gen_dir/libraries.cc", | 
|   368     "$target_gen_dir/experimental-libraries.cc", |   362     "$target_gen_dir/experimental-libraries.cc", | 
|   369     "$target_gen_dir/trig-table.cc", |   363     "$target_gen_dir/trig-table.cc", | 
|   370     "src/snapshot-empty.cc", |   364     "src/snapshot-empty.cc", | 
|   371     "src/snapshot-common.cc", |  | 
|   372   ] |   365   ] | 
|   373  |   366  | 
|   374   configs -= [ "//build/config/compiler:chromium_code" ] |   367   configs -= [ "//build/config/compiler:chromium_code" ] | 
|   375   configs += [ "//build/config/compiler:no_chromium_code" ] |   368   configs += [ "//build/config/compiler:no_chromium_code" ] | 
|   376   configs += [ ":internal_config", ":features", ":toolchain" ] |   369   configs += [ ":internal_config", ":features", ":toolchain" ] | 
|   377 } |   370 } | 
|   378  |   371  | 
|   379 source_set("v8_snapshot") { |   372 source_set("v8_snapshot") { | 
|   380   visibility = ":*"  # Only targets in this file can depend on this. |   373   visibility = ":*"  # Only targets in this file can depend on this. | 
|   381  |   374  | 
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   714     "src/scanner.cc", |   707     "src/scanner.cc", | 
|   715     "src/scanner.h", |   708     "src/scanner.h", | 
|   716     "src/scopeinfo.cc", |   709     "src/scopeinfo.cc", | 
|   717     "src/scopeinfo.h", |   710     "src/scopeinfo.h", | 
|   718     "src/scopes.cc", |   711     "src/scopes.cc", | 
|   719     "src/scopes.h", |   712     "src/scopes.h", | 
|   720     "src/serialize.cc", |   713     "src/serialize.cc", | 
|   721     "src/serialize.h", |   714     "src/serialize.h", | 
|   722     "src/small-pointer-list.h", |   715     "src/small-pointer-list.h", | 
|   723     "src/smart-pointers.h", |   716     "src/smart-pointers.h", | 
|   724     "src/snapshot-source-sink.cc", |   717     "src/snapshot-common.cc", | 
|   725     "src/snapshot-source-sink.h", |  | 
|   726     "src/snapshot.h", |   718     "src/snapshot.h", | 
|   727     "src/spaces-inl.h", |   719     "src/spaces-inl.h", | 
|   728     "src/spaces.cc", |   720     "src/spaces.cc", | 
|   729     "src/spaces.h", |   721     "src/spaces.h", | 
|   730     "src/store-buffer-inl.h", |   722     "src/store-buffer-inl.h", | 
|   731     "src/store-buffer.cc", |   723     "src/store-buffer.cc", | 
|   732     "src/store-buffer.h", |   724     "src/store-buffer.h", | 
|   733     "src/string-search.cc", |   725     "src/string-search.cc", | 
|   734     "src/string-search.h", |   726     "src/string-search.h", | 
|   735     "src/string-stream.cc", |   727     "src/string-stream.cc", | 
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1139     deps = [ |  1131     deps = [ | 
|  1140       ":v8_base", |  1132       ":v8_base", | 
|  1141       ":v8_nosnapshot", |  1133       ":v8_nosnapshot", | 
|  1142     ] |  1134     ] | 
|  1143   } |  1135   } | 
|  1144  |  1136  | 
|  1145   direct_dependent_configs = [ ":external_config" ] |  1137   direct_dependent_configs = [ ":external_config" ] | 
|  1146 } |  1138 } | 
|  1147  |  1139  | 
|  1148 } |  1140 } | 
| OLD | NEW |