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 |
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 "src/ia32/lithium-ia32.h", | 900 "src/ia32/lithium-ia32.h", |
901 "src/ia32/macro-assembler-ia32.cc", | 901 "src/ia32/macro-assembler-ia32.cc", |
902 "src/ia32/macro-assembler-ia32.h", | 902 "src/ia32/macro-assembler-ia32.h", |
903 "src/ia32/regexp-macro-assembler-ia32.cc", | 903 "src/ia32/regexp-macro-assembler-ia32.cc", |
904 "src/ia32/regexp-macro-assembler-ia32.h", | 904 "src/ia32/regexp-macro-assembler-ia32.h", |
905 "src/compiler/ia32/code-generator-ia32.cc", | 905 "src/compiler/ia32/code-generator-ia32.cc", |
906 "src/compiler/ia32/instruction-codes-ia32.h", | 906 "src/compiler/ia32/instruction-codes-ia32.h", |
907 "src/compiler/ia32/instruction-selector-ia32.cc", | 907 "src/compiler/ia32/instruction-selector-ia32.cc", |
908 "src/compiler/ia32/linkage-ia32.cc", | 908 "src/compiler/ia32/linkage-ia32.cc", |
909 "src/ic/ia32/ic-ia32.cc", | 909 "src/ic/ia32/ic-ia32.cc", |
910 "src/ic/ia32/handler-ia32.cc", | 910 "src/ic/ia32/ic-compiler-ia32.cc", |
911 "src/ic/ia32/stub-cache-ia32.cc", | 911 "src/ic/ia32/stub-cache-ia32.cc", |
912 ] | 912 ] |
913 } else if (v8_target_arch == "x64") { | 913 } else if (v8_target_arch == "x64") { |
914 sources += [ | 914 sources += [ |
915 "src/x64/assembler-x64-inl.h", | 915 "src/x64/assembler-x64-inl.h", |
916 "src/x64/assembler-x64.cc", | 916 "src/x64/assembler-x64.cc", |
917 "src/x64/assembler-x64.h", | 917 "src/x64/assembler-x64.h", |
918 "src/x64/builtins-x64.cc", | 918 "src/x64/builtins-x64.cc", |
919 "src/x64/code-stubs-x64.cc", | 919 "src/x64/code-stubs-x64.cc", |
920 "src/x64/code-stubs-x64.h", | 920 "src/x64/code-stubs-x64.h", |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 ] | 1119 ] |
1120 } | 1120 } |
1121 | 1121 |
1122 configs -= [ "//build/config/compiler:chromium_code" ] | 1122 configs -= [ "//build/config/compiler:chromium_code" ] |
1123 configs += [ "//build/config/compiler:no_chromium_code" ] | 1123 configs += [ "//build/config/compiler:no_chromium_code" ] |
1124 configs += [ ":internal_config", ":features", ":toolchain" ] | 1124 configs += [ ":internal_config", ":features", ":toolchain" ] |
1125 | 1125 |
1126 defines = [] | 1126 defines = [] |
1127 deps = [ ":v8_libbase" ] | 1127 deps = [ ":v8_libbase" ] |
1128 | 1128 |
| 1129 if (is_win) { |
| 1130 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1131 cflags = [ "/wd4267" ] |
| 1132 } |
1129 if (is_linux) { | 1133 if (is_linux) { |
1130 if (v8_compress_startup_data == "bz2") { | 1134 if (v8_compress_startup_data == "bz2") { |
1131 libs += [ "bz2" ] | 1135 libs += [ "bz2" ] |
1132 } | 1136 } |
1133 } | 1137 } |
1134 | 1138 |
1135 if (v8_enable_i18n_support) { | 1139 if (v8_enable_i18n_support) { |
1136 deps += [ "//third_party/icu" ] | 1140 deps += [ "//third_party/icu" ] |
1137 if (is_win) { | 1141 if (is_win) { |
1138 deps += [ "//third_party/icu:icudata" ] | 1142 deps += [ "//third_party/icu:icudata" ] |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 deps = [ | 1359 deps = [ |
1356 ":v8_base", | 1360 ":v8_base", |
1357 ":v8_nosnapshot", | 1361 ":v8_nosnapshot", |
1358 ] | 1362 ] |
1359 } | 1363 } |
1360 | 1364 |
1361 direct_dependent_configs = [ ":external_config" ] | 1365 direct_dependent_configs = [ ":external_config" ] |
1362 } | 1366 } |
1363 | 1367 |
1364 } | 1368 } |
OLD | NEW |