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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 ":v8_nosnapshot", | 1243 ":v8_nosnapshot", |
1244 ] | 1244 ] |
1245 } | 1245 } |
1246 | 1246 |
1247 configs -= [ "//build/config/compiler:chromium_code" ] | 1247 configs -= [ "//build/config/compiler:chromium_code" ] |
1248 configs += [ "//build/config/compiler:no_chromium_code" ] | 1248 configs += [ "//build/config/compiler:no_chromium_code" ] |
1249 configs += [ ":internal_config", ":features", ":toolchain" ] | 1249 configs += [ ":internal_config", ":features", ":toolchain" ] |
1250 | 1250 |
1251 direct_dependent_configs = [ ":external_config" ] | 1251 direct_dependent_configs = [ ":external_config" ] |
1252 | 1252 |
| 1253 libs = [] |
1253 if (is_android && current_toolchain != host_toolchain) { | 1254 if (is_android && current_toolchain != host_toolchain) { |
1254 libs += [ "log" ] | 1255 libs += [ "log" ] |
1255 } | 1256 } |
1256 } | 1257 } |
1257 | 1258 |
1258 } else { | 1259 } else { |
1259 | 1260 |
1260 group("v8") { | 1261 group("v8") { |
1261 if (v8_use_external_startup_data) { | 1262 if (v8_use_external_startup_data) { |
1262 deps = [ | 1263 deps = [ |
1263 ":v8_base", | 1264 ":v8_base", |
1264 ":v8_external_snapshot", | 1265 ":v8_external_snapshot", |
1265 ] | 1266 ] |
1266 } else if (v8_use_snapshot) { | 1267 } else if (v8_use_snapshot) { |
1267 deps = [ | 1268 deps = [ |
1268 ":v8_base", | 1269 ":v8_base", |
1269 ":v8_snapshot", | 1270 ":v8_snapshot", |
1270 ] | 1271 ] |
1271 } else { | 1272 } else { |
1272 deps = [ | 1273 deps = [ |
1273 ":v8_base", | 1274 ":v8_base", |
1274 ":v8_nosnapshot", | 1275 ":v8_nosnapshot", |
1275 ] | 1276 ] |
1276 } | 1277 } |
1277 | 1278 |
1278 direct_dependent_configs = [ ":external_config" ] | 1279 direct_dependent_configs = [ ":external_config" ] |
1279 } | 1280 } |
1280 | 1281 |
1281 } | 1282 } |
OLD | NEW |