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 if (is_android) { | 10 if (is_android) { |
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1675 | 1675 |
1676 if (is_posix) { | 1676 if (is_posix) { |
1677 sources += [ "src/base/platform/platform-posix.cc" ] | 1677 sources += [ "src/base/platform/platform-posix.cc" ] |
1678 } | 1678 } |
1679 | 1679 |
1680 if (is_linux) { | 1680 if (is_linux) { |
1681 sources += [ "src/base/platform/platform-linux.cc" ] | 1681 sources += [ "src/base/platform/platform-linux.cc" ] |
1682 | 1682 |
1683 libs = [ "dl", "rt" ] | 1683 libs = [ "dl", "rt" ] |
1684 } else if (is_android) { | 1684 } else if (is_android) { |
1685 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] | |
1686 | |
1687 if (current_toolchain == host_toolchain) { | 1685 if (current_toolchain == host_toolchain) { |
1688 libs = [ "dl", "rt" ] | 1686 libs = [ "dl", "rt" ] |
1689 if (host_os == "mac") { | 1687 if (host_os == "mac") { |
1690 sources += [ "src/base/platform/platform-macos.cc" ] | 1688 sources += [ "src/base/platform/platform-macos.cc" ] |
1691 } else { | 1689 } else { |
1692 sources += [ "src/base/platform/platform-linux.cc" ] | 1690 sources += [ "src/base/platform/platform-linux.cc" ] |
1693 } | 1691 } |
1694 } else { | 1692 } else { |
1695 sources += [ "src/base/platform/platform-linux.cc" ] | 1693 sources += [ "src/base/platform/platform-linux.cc" ] |
1696 } | 1694 } |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 if (!is_component_build) { | 1857 if (!is_component_build) { |
1860 sources += [ | 1858 sources += [ |
1861 "$target_gen_dir/d8-js.cc", | 1859 "$target_gen_dir/d8-js.cc", |
1862 ] | 1860 ] |
1863 } | 1861 } |
1864 if (v8_enable_i18n_support) { | 1862 if (v8_enable_i18n_support) { |
1865 deps += [ "//third_party/icu" ] | 1863 deps += [ "//third_party/icu" ] |
1866 } | 1864 } |
1867 } | 1865 } |
1868 } | 1866 } |
OLD | NEW |