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 | 8 |
9 # Because standalone V8 builds are not supported, assume this is part of a | 9 # Because standalone V8 builds are not supported, assume this is part of a |
10 # Chromium build. | 10 # Chromium build. |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 "src/small-pointer-list.h", | 1136 "src/small-pointer-list.h", |
1137 "src/snapshot/natives.h", | 1137 "src/snapshot/natives.h", |
1138 "src/snapshot/serialize.cc", | 1138 "src/snapshot/serialize.cc", |
1139 "src/snapshot/serialize.h", | 1139 "src/snapshot/serialize.h", |
1140 "src/snapshot/snapshot-common.cc", | 1140 "src/snapshot/snapshot-common.cc", |
1141 "src/snapshot/snapshot-source-sink.cc", | 1141 "src/snapshot/snapshot-source-sink.cc", |
1142 "src/snapshot/snapshot-source-sink.h", | 1142 "src/snapshot/snapshot-source-sink.h", |
1143 "src/splay-tree.h", | 1143 "src/splay-tree.h", |
1144 "src/splay-tree-inl.h", | 1144 "src/splay-tree-inl.h", |
1145 "src/snapshot/snapshot.h", | 1145 "src/snapshot/snapshot.h", |
| 1146 "src/startup-data-util.h", |
| 1147 "src/startup-data-util.cc", |
1146 "src/string-builder.cc", | 1148 "src/string-builder.cc", |
1147 "src/string-builder.h", | 1149 "src/string-builder.h", |
1148 "src/string-search.cc", | 1150 "src/string-search.cc", |
1149 "src/string-search.h", | 1151 "src/string-search.h", |
1150 "src/string-stream.cc", | 1152 "src/string-stream.cc", |
1151 "src/string-stream.h", | 1153 "src/string-stream.h", |
1152 "src/strings-storage.cc", | 1154 "src/strings-storage.cc", |
1153 "src/strings-storage.h", | 1155 "src/strings-storage.h", |
1154 "src/strtod.cc", | 1156 "src/strtod.cc", |
1155 "src/strtod.h", | 1157 "src/strtod.h", |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1733 public_configs = [ ":external_config" ] | 1735 public_configs = [ ":external_config" ] |
1734 } | 1736 } |
1735 } | 1737 } |
1736 | 1738 |
1737 if ((current_toolchain == host_toolchain && v8_toolset_for_d8 == "host") || | 1739 if ((current_toolchain == host_toolchain && v8_toolset_for_d8 == "host") || |
1738 (current_toolchain != host_toolchain && v8_toolset_for_d8 == "target")) { | 1740 (current_toolchain != host_toolchain && v8_toolset_for_d8 == "target")) { |
1739 executable("d8") { | 1741 executable("d8") { |
1740 sources = [ | 1742 sources = [ |
1741 "src/d8.cc", | 1743 "src/d8.cc", |
1742 "src/d8.h", | 1744 "src/d8.h", |
1743 "src/startup-data-util.h", | |
1744 "src/startup-data-util.cc", | |
1745 ] | 1745 ] |
1746 | 1746 |
1747 configs -= [ "//build/config/compiler:chromium_code" ] | 1747 configs -= [ "//build/config/compiler:chromium_code" ] |
1748 configs += [ "//build/config/compiler:no_chromium_code" ] | 1748 configs += [ "//build/config/compiler:no_chromium_code" ] |
1749 configs += [ | 1749 configs += [ |
1750 # Note: don't use :internal_config here because this target will get | 1750 # Note: don't use :internal_config here because this target will get |
1751 # the :external_config applied to it by virtue of depending on :v8, and | 1751 # the :external_config applied to it by virtue of depending on :v8, and |
1752 # you can't have both applied to the same target. | 1752 # you can't have both applied to the same target. |
1753 ":internal_config_base", | 1753 ":internal_config_base", |
1754 ":features", | 1754 ":features", |
(...skipping 18 matching lines...) Expand all Loading... |
1773 if (!is_component_build) { | 1773 if (!is_component_build) { |
1774 sources += [ | 1774 sources += [ |
1775 "$target_gen_dir/d8-js.cc", | 1775 "$target_gen_dir/d8-js.cc", |
1776 ] | 1776 ] |
1777 } | 1777 } |
1778 if (v8_enable_i18n_support) { | 1778 if (v8_enable_i18n_support) { |
1779 deps += [ "//third_party/icu" ] | 1779 deps += [ "//third_party/icu" ] |
1780 } | 1780 } |
1781 } | 1781 } |
1782 } | 1782 } |
OLD | NEW |