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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 "src/ic/mips64/ic-mips64.cc", | 1119 "src/ic/mips64/ic-mips64.cc", |
1120 "src/ic/mips64/ic-compiler-mips64.cc", | 1120 "src/ic/mips64/ic-compiler-mips64.cc", |
1121 "src/ic/mips64/stub-cache-mips64.cc", | 1121 "src/ic/mips64/stub-cache-mips64.cc", |
1122 ] | 1122 ] |
1123 } | 1123 } |
1124 | 1124 |
1125 configs -= [ "//build/config/compiler:chromium_code" ] | 1125 configs -= [ "//build/config/compiler:chromium_code" ] |
1126 configs += [ "//build/config/compiler:no_chromium_code" ] | 1126 configs += [ "//build/config/compiler:no_chromium_code" ] |
1127 configs += [ ":internal_config", ":features", ":toolchain" ] | 1127 configs += [ ":internal_config", ":features", ":toolchain" ] |
1128 | 1128 |
| 1129 if (!is_debug) { |
| 1130 configs -= [ "//build/config/compiler:optimize" ] |
| 1131 configs += [ "//build/config/compiler:optimize_max" ] |
| 1132 } |
| 1133 |
1129 defines = [] | 1134 defines = [] |
1130 deps = [ ":v8_libbase" ] | 1135 deps = [ ":v8_libbase" ] |
1131 | 1136 |
1132 if (is_win) { | 1137 if (is_win) { |
1133 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1138 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1134 cflags = [ "/wd4267" ] | 1139 cflags = [ "/wd4267" ] |
1135 } | 1140 } |
1136 if (is_linux) { | 1141 if (is_linux) { |
1137 if (v8_compress_startup_data == "bz2") { | 1142 if (v8_compress_startup_data == "bz2") { |
1138 libs += [ "bz2" ] | 1143 libs += [ "bz2" ] |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 "src/base/sys-info.cc", | 1209 "src/base/sys-info.cc", |
1205 "src/base/sys-info.h", | 1210 "src/base/sys-info.h", |
1206 "src/base/utils/random-number-generator.cc", | 1211 "src/base/utils/random-number-generator.cc", |
1207 "src/base/utils/random-number-generator.h", | 1212 "src/base/utils/random-number-generator.h", |
1208 ] | 1213 ] |
1209 | 1214 |
1210 configs -= [ "//build/config/compiler:chromium_code" ] | 1215 configs -= [ "//build/config/compiler:chromium_code" ] |
1211 configs += [ "//build/config/compiler:no_chromium_code" ] | 1216 configs += [ "//build/config/compiler:no_chromium_code" ] |
1212 configs += [ ":internal_config_base", ":features", ":toolchain" ] | 1217 configs += [ ":internal_config_base", ":features", ":toolchain" ] |
1213 | 1218 |
| 1219 if (!is_debug) { |
| 1220 configs -= [ "//build/config/compiler:optimize" ] |
| 1221 configs += [ "//build/config/compiler:optimize_max" ] |
| 1222 } |
| 1223 |
1214 defines = [] | 1224 defines = [] |
1215 | 1225 |
1216 if (is_posix) { | 1226 if (is_posix) { |
1217 sources += [ | 1227 sources += [ |
1218 "src/base/platform/platform-posix.cc" | 1228 "src/base/platform/platform-posix.cc" |
1219 ] | 1229 ] |
1220 } | 1230 } |
1221 | 1231 |
1222 if (is_linux) { | 1232 if (is_linux) { |
1223 sources += [ | 1233 sources += [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 "src/libplatform/task-queue.cc", | 1277 "src/libplatform/task-queue.cc", |
1268 "src/libplatform/task-queue.h", | 1278 "src/libplatform/task-queue.h", |
1269 "src/libplatform/worker-thread.cc", | 1279 "src/libplatform/worker-thread.cc", |
1270 "src/libplatform/worker-thread.h", | 1280 "src/libplatform/worker-thread.h", |
1271 ] | 1281 ] |
1272 | 1282 |
1273 configs -= [ "//build/config/compiler:chromium_code" ] | 1283 configs -= [ "//build/config/compiler:chromium_code" ] |
1274 configs += [ "//build/config/compiler:no_chromium_code" ] | 1284 configs += [ "//build/config/compiler:no_chromium_code" ] |
1275 configs += [ ":internal_config_base", ":features", ":toolchain" ] | 1285 configs += [ ":internal_config_base", ":features", ":toolchain" ] |
1276 | 1286 |
| 1287 if (!is_debug) { |
| 1288 configs -= [ "//build/config/compiler:optimize" ] |
| 1289 configs += [ "//build/config/compiler:optimize_max" ] |
| 1290 } |
| 1291 |
1277 deps = [ | 1292 deps = [ |
1278 ":v8_libbase", | 1293 ":v8_libbase", |
1279 ] | 1294 ] |
1280 } | 1295 } |
1281 | 1296 |
1282 ############################################################################### | 1297 ############################################################################### |
1283 # Executables | 1298 # Executables |
1284 # | 1299 # |
1285 | 1300 |
1286 if (current_toolchain == host_toolchain) { | 1301 if (current_toolchain == host_toolchain) { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 deps = [ | 1379 deps = [ |
1365 ":v8_base", | 1380 ":v8_base", |
1366 ":v8_nosnapshot", | 1381 ":v8_nosnapshot", |
1367 ] | 1382 ] |
1368 } | 1383 } |
1369 | 1384 |
1370 direct_dependent_configs = [ ":external_config" ] | 1385 direct_dependent_configs = [ ":external_config" ] |
1371 } | 1386 } |
1372 | 1387 |
1373 } | 1388 } |
OLD | NEW |