| 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/mips.gni") | 7 import("//build/config/mips.gni") |
| 8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
| 9 | 9 |
| 10 # Because standalone V8 builds are not supported, assume this is part of a | 10 # Because standalone V8 builds are not supported, assume this is part of a |
| (...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1530 | 1530 |
| 1531 configs -= [ "//build/config/compiler:chromium_code" ] | 1531 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1532 configs += [ "//build/config/compiler:no_chromium_code" ] | 1532 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1533 configs += [ | 1533 configs += [ |
| 1534 ":internal_config", | 1534 ":internal_config", |
| 1535 ":features", | 1535 ":features", |
| 1536 ":toolchain", | 1536 ":toolchain", |
| 1537 ] | 1537 ] |
| 1538 | 1538 |
| 1539 if (!is_debug) { | 1539 if (!is_debug) { |
| 1540 if (using_new_optimization_config) { | 1540 configs -= [ "//build/config/compiler:default_optimization" ] |
| 1541 configs -= [ "//build/config/compiler:default_optimization" ] | |
| 1542 } else { | |
| 1543 configs -= [ "//build/config/compiler:optimize" ] | |
| 1544 } | |
| 1545 configs += [ "//build/config/compiler:optimize_max" ] | 1541 configs += [ "//build/config/compiler:optimize_max" ] |
| 1546 } | 1542 } |
| 1547 | 1543 |
| 1548 defines = [] | 1544 defines = [] |
| 1549 deps = [ | 1545 deps = [ |
| 1550 ":v8_libbase", | 1546 ":v8_libbase", |
| 1551 ] | 1547 ] |
| 1552 | 1548 |
| 1553 if (is_win) { | 1549 if (is_win) { |
| 1554 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1550 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1633 | 1629 |
| 1634 configs -= [ "//build/config/compiler:chromium_code" ] | 1630 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1635 configs += [ "//build/config/compiler:no_chromium_code" ] | 1631 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1636 configs += [ | 1632 configs += [ |
| 1637 ":internal_config_base", | 1633 ":internal_config_base", |
| 1638 ":features", | 1634 ":features", |
| 1639 ":toolchain", | 1635 ":toolchain", |
| 1640 ] | 1636 ] |
| 1641 | 1637 |
| 1642 if (!is_debug) { | 1638 if (!is_debug) { |
| 1643 if (using_new_optimization_config) { | 1639 configs -= [ "//build/config/compiler:default_optimization" ] |
| 1644 configs -= [ "//build/config/compiler:default_optimization" ] | |
| 1645 } else { | |
| 1646 configs -= [ "//build/config/compiler:optimize" ] | |
| 1647 } | |
| 1648 configs += [ "//build/config/compiler:optimize_max" ] | 1640 configs += [ "//build/config/compiler:optimize_max" ] |
| 1649 } | 1641 } |
| 1650 | 1642 |
| 1651 defines = [] | 1643 defines = [] |
| 1652 | 1644 |
| 1653 if (is_posix) { | 1645 if (is_posix) { |
| 1654 sources += [ "src/base/platform/platform-posix.cc" ] | 1646 sources += [ "src/base/platform/platform-posix.cc" ] |
| 1655 } | 1647 } |
| 1656 | 1648 |
| 1657 if (is_linux) { | 1649 if (is_linux) { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1704 | 1696 |
| 1705 configs -= [ "//build/config/compiler:chromium_code" ] | 1697 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1706 configs += [ "//build/config/compiler:no_chromium_code" ] | 1698 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1707 configs += [ | 1699 configs += [ |
| 1708 ":internal_config_base", | 1700 ":internal_config_base", |
| 1709 ":features", | 1701 ":features", |
| 1710 ":toolchain", | 1702 ":toolchain", |
| 1711 ] | 1703 ] |
| 1712 | 1704 |
| 1713 if (!is_debug) { | 1705 if (!is_debug) { |
| 1714 if (using_new_optimization_config) { | 1706 configs -= [ "//build/config/compiler:default_optimization" ] |
| 1715 configs -= [ "//build/config/compiler:default_optimization" ] | |
| 1716 } else { | |
| 1717 configs -= [ "//build/config/compiler:optimize" ] | |
| 1718 } | |
| 1719 configs += [ "//build/config/compiler:optimize_max" ] | 1707 configs += [ "//build/config/compiler:optimize_max" ] |
| 1720 } | 1708 } |
| 1721 | 1709 |
| 1722 deps = [ | 1710 deps = [ |
| 1723 ":v8_libbase", | 1711 ":v8_libbase", |
| 1724 ] | 1712 ] |
| 1725 } | 1713 } |
| 1726 | 1714 |
| 1727 ############################################################################### | 1715 ############################################################################### |
| 1728 # Executables | 1716 # Executables |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1865 if (!is_component_build) { | 1853 if (!is_component_build) { |
| 1866 sources += [ | 1854 sources += [ |
| 1867 "$target_gen_dir/d8-js.cc", | 1855 "$target_gen_dir/d8-js.cc", |
| 1868 ] | 1856 ] |
| 1869 } | 1857 } |
| 1870 if (v8_enable_i18n_support) { | 1858 if (v8_enable_i18n_support) { |
| 1871 deps += [ "//third_party/icu" ] | 1859 deps += [ "//third_party/icu" ] |
| 1872 } | 1860 } |
| 1873 } | 1861 } |
| 1874 } | 1862 } |
| OLD | NEW |