| 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 # Because standalone V8 builds are not supported, assume this is part of a | 5 # Because standalone V8 builds are not supported, assume this is part of a |
| 6 # Chromium build. | 6 # Chromium build. |
| 7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
| 8 | 8 |
| 9 # TODO(jochen): These will need to be user-settable to support standalone V8 | 9 # TODO(jochen): These will need to be user-settable to support standalone V8 |
| 10 # builds. | 10 # builds. |
| (...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1518 direct_dependent_configs = [ ":external_config" ] | 1518 direct_dependent_configs = [ ":external_config" ] |
| 1519 } | 1519 } |
| 1520 } | 1520 } |
| 1521 | 1521 |
| 1522 if ((current_toolchain == host_toolchain && v8_toolset_for_d8 == "host") || | 1522 if ((current_toolchain == host_toolchain && v8_toolset_for_d8 == "host") || |
| 1523 (current_toolchain != host_toolchain && v8_toolset_for_d8 == "target")) { | 1523 (current_toolchain != host_toolchain && v8_toolset_for_d8 == "target")) { |
| 1524 executable("d8") { | 1524 executable("d8") { |
| 1525 sources = [ | 1525 sources = [ |
| 1526 "src/d8.cc", | 1526 "src/d8.cc", |
| 1527 "src/d8.h", | 1527 "src/d8.h", |
| 1528 "src/startup-data-util.h", |
| 1529 "src/startup-data-util.cc", |
| 1528 ] | 1530 ] |
| 1529 | 1531 |
| 1530 configs -= [ "//build/config/compiler:chromium_code" ] | 1532 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1531 configs += [ "//build/config/compiler:no_chromium_code" ] | 1533 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1532 configs += [ | 1534 configs += [ |
| 1533 ":internal_config", | 1535 ":internal_config", |
| 1534 ":features", | 1536 ":features", |
| 1535 ":toolchain", | 1537 ":toolchain", |
| 1536 ] | 1538 ] |
| 1537 | 1539 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1554 sources += [ | 1556 sources += [ |
| 1555 "src/d8-debug.cc", | 1557 "src/d8-debug.cc", |
| 1556 "$target_gen_dir/d8-js.cc", | 1558 "$target_gen_dir/d8-js.cc", |
| 1557 ] | 1559 ] |
| 1558 } | 1560 } |
| 1559 if (v8_enable_i18n_support) { | 1561 if (v8_enable_i18n_support) { |
| 1560 deps += [ "//third_party/icu" ] | 1562 deps += [ "//third_party/icu" ] |
| 1561 } | 1563 } |
| 1562 } | 1564 } |
| 1563 } | 1565 } |
| OLD | NEW |