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 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 "src/interpreter/interpreter-assembler.h", | 1257 "src/interpreter/interpreter-assembler.h", |
1258 "src/interpreter/interpreter-intrinsics.cc", | 1258 "src/interpreter/interpreter-intrinsics.cc", |
1259 "src/interpreter/interpreter-intrinsics.h", | 1259 "src/interpreter/interpreter-intrinsics.h", |
1260 "src/interpreter/interpreter.cc", | 1260 "src/interpreter/interpreter.cc", |
1261 "src/interpreter/interpreter.h", | 1261 "src/interpreter/interpreter.h", |
1262 "src/interpreter/source-position-table.cc", | 1262 "src/interpreter/source-position-table.cc", |
1263 "src/interpreter/source-position-table.h", | 1263 "src/interpreter/source-position-table.h", |
1264 "src/isolate-inl.h", | 1264 "src/isolate-inl.h", |
1265 "src/isolate.cc", | 1265 "src/isolate.cc", |
1266 "src/isolate.h", | 1266 "src/isolate.h", |
| 1267 "src/json-parser.cc", |
1267 "src/json-parser.h", | 1268 "src/json-parser.h", |
| 1269 "src/json-stringifier.cc", |
1268 "src/json-stringifier.h", | 1270 "src/json-stringifier.h", |
1269 "src/keys.cc", | 1271 "src/keys.cc", |
1270 "src/keys.h", | 1272 "src/keys.h", |
1271 "src/layout-descriptor-inl.h", | 1273 "src/layout-descriptor-inl.h", |
1272 "src/layout-descriptor.cc", | 1274 "src/layout-descriptor.cc", |
1273 "src/layout-descriptor.h", | 1275 "src/layout-descriptor.h", |
1274 "src/list-inl.h", | 1276 "src/list-inl.h", |
1275 "src/list.h", | 1277 "src/list.h", |
1276 "src/log-inl.h", | 1278 "src/log-inl.h", |
1277 "src/log-utils.cc", | 1279 "src/log-utils.cc", |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2095 } | 2097 } |
2096 | 2098 |
2097 if (!is_component_build) { | 2099 if (!is_component_build) { |
2098 sources += [ "$target_gen_dir/d8-js.cc" ] | 2100 sources += [ "$target_gen_dir/d8-js.cc" ] |
2099 } | 2101 } |
2100 if (v8_enable_i18n_support) { | 2102 if (v8_enable_i18n_support) { |
2101 deps += [ "//third_party/icu" ] | 2103 deps += [ "//third_party/icu" ] |
2102 } | 2104 } |
2103 } | 2105 } |
2104 | 2106 |
2105 if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || (
current_toolchain == v8_snapshot_toolchain && v8_toolset_for_shell == "host") ||
(current_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { | 2107 if ((current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || |
| 2108 (current_toolchain == v8_snapshot_toolchain && |
| 2109 v8_toolset_for_shell == "host") || |
| 2110 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")) { |
2106 executable("v8_shell") { | 2111 executable("v8_shell") { |
2107 sources = [ | 2112 sources = [ |
2108 "samples/shell.cc", | 2113 "samples/shell.cc", |
2109 ] | 2114 ] |
2110 | 2115 |
2111 configs -= [ "//build/config/compiler:chromium_code" ] | 2116 configs -= [ "//build/config/compiler:chromium_code" ] |
2112 configs += [ "//build/config/compiler:no_chromium_code" ] | 2117 configs += [ "//build/config/compiler:no_chromium_code" ] |
2113 configs += [ | 2118 configs += [ |
2114 # Note: don't use :internal_config here because this target will get | 2119 # Note: don't use :internal_config here because this target will get |
2115 # the :external_config applied to it by virtue of depending on :v8, and | 2120 # the :external_config applied to it by virtue of depending on :v8, and |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2184 sources = [ | 2189 sources = [ |
2185 "test/fuzzer/wasm-asmjs.cc", | 2190 "test/fuzzer/wasm-asmjs.cc", |
2186 ] | 2191 ] |
2187 | 2192 |
2188 deps = [ | 2193 deps = [ |
2189 ":fuzzer_support", | 2194 ":fuzzer_support", |
2190 ] | 2195 ] |
2191 | 2196 |
2192 configs = [ ":internal_config" ] | 2197 configs = [ ":internal_config" ] |
2193 } | 2198 } |
OLD | NEW |