blob: 06870b6039f2b0465d1da931a1e15c967158cbe3 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Ben Murdoch014dc512016-03-22 12:00:34 +00005import("//build/config/android/config.gni")
6import("//build/config/arm.gni")
Ben Murdoch13e2dad2016-09-16 13:49:30 +01007import("//build/config/dcheck_always_on.gni")
Ben Murdoch014dc512016-03-22 12:00:34 +00008import("//build/config/mips.gni")
9import("//build/config/sanitizers/sanitizers.gni")
10
11if (is_android) {
12 import("//build/config/android/rules.gni")
13}
14
Ben Murdoch13e2dad2016-09-16 13:49:30 +010015import("gni/v8.gni")
16import("gni/isolate.gni")
Ben Murdoch014dc512016-03-22 12:00:34 +000017import("//build_overrides/v8.gni")
18
19import("snapshot_toolchain.gni")
20
21declare_args() {
Ben Murdochf91f0612016-11-29 16:50:11 +000022 # Print to stdout on Android.
23 v8_android_log_stdout = false
24
Ben Murdochbcf72ee2016-08-08 18:44:38 +010025 # Sets -DVERIFY_HEAP.
26 v8_enable_verify_heap = false
27
28 # Enable compiler warnings when using V8_DEPRECATED apis.
29 v8_deprecation_warnings = false
30
31 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
Ben Murdochf91f0612016-11-29 16:50:11 +000032 v8_imminent_deprecation_warnings = ""
33
34 # Embeds the given script into the snapshot.
35 v8_embed_script = ""
Ben Murdochbcf72ee2016-08-08 18:44:38 +010036
37 # Sets -dENABLE_DISASSEMBLER.
Ben Murdochf91f0612016-11-29 16:50:11 +000038 v8_enable_disassembler = ""
Ben Murdochbcf72ee2016-08-08 18:44:38 +010039
40 # Sets -dENABLE_GDB_JIT_INTERFACE.
Ben Murdochf91f0612016-11-29 16:50:11 +000041 v8_enable_gdbjit = ""
Ben Murdochbcf72ee2016-08-08 18:44:38 +010042
43 # Sets -dENABLE_HANDLE_ZAPPING.
44 v8_enable_handle_zapping = is_debug
45
46 # Enable ECMAScript Internationalization API. Enabling this feature will
47 # add a dependency on the ICU library.
48 v8_enable_i18n_support = true
49
Ben Murdoch13e2dad2016-09-16 13:49:30 +010050 # Enable slow dchecks.
51 v8_enable_slow_dchecks = false
52
Ben Murdochbcf72ee2016-08-08 18:44:38 +010053 # Interpreted regexp engine exists as platform-independent alternative
54 # based where the regular expression is compiled to a bytecode.
55 v8_interpreted_regexp = false
56
57 # Sets -dOBJECT_PRINT.
Ben Murdochf91f0612016-11-29 16:50:11 +000058 v8_object_print = ""
Ben Murdochbcf72ee2016-08-08 18:44:38 +010059
60 # With post mortem support enabled, metadata is embedded into libv8 that
61 # describes various parameters of the VM for use by debuggers. See
62 # tools/gen-postmortem-metadata.py for details.
63 v8_postmortem_support = false
64
Ben Murdochf3b273f2017-01-17 12:11:28 +000065 # Switches off inlining in V8.
66 v8_no_inline = false
67
Ben Murdoch3b9bc312016-06-02 14:46:10 +010068 # Similar to vfp but on MIPS.
69 v8_can_use_fpu_instructions = true
70
71 # Similar to the ARM hard float ABI but on MIPS.
72 v8_use_mips_abi_hardfloat = true
Ben Murdoch014dc512016-03-22 12:00:34 +000073}
Emily Bernier958fae72015-03-24 16:35:39 -040074
Ben Murdochf91f0612016-11-29 16:50:11 +000075# Set project-specific defaults for some args if not provided in args.gn. The
76# defaults can be set in the respective build_overrides files.
77if (v8_imminent_deprecation_warnings == "") {
78 if (defined(v8_imminent_deprecation_warnings_default)) {
79 v8_imminent_deprecation_warnings = v8_imminent_deprecation_warnings_default
80 } else {
81 v8_imminent_deprecation_warnings = false
82 }
83}
84if (v8_enable_gdbjit == "") {
85 if (defined(v8_enable_gdbjit_default)) {
86 v8_enable_gdbjit = v8_enable_gdbjit_default
87 } else {
88 v8_enable_gdbjit = false
89 }
90}
91
92# Derived defaults.
93if (v8_object_print == "") {
94 v8_object_print = is_debug && !v8_optimized_debug
95}
96if (v8_enable_disassembler == "") {
97 v8_enable_disassembler = is_debug && !v8_optimized_debug
98}
99
Ben Murdochf3b273f2017-01-17 12:11:28 +0000100# Specifies if the target build is a simulator build. Comparing target cpu
101# with v8 target cpu to not affect simulator builds for making cross-compile
102# snapshots.
103is_target_simulator = target_cpu != v8_target_cpu
104
Ben Murdochf91f0612016-11-29 16:50:11 +0000105v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc"
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000106v8_random_seed = "314159265"
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100107v8_toolset_for_shell = "host"
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000108
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000109###############################################################################
110# Configurations
111#
112config("internal_config") {
113 visibility = [ ":*" ] # Only targets in this file can depend on this.
114
115 include_dirs = [ "." ]
116
Ben Murdoch014dc512016-03-22 12:00:34 +0000117 if (is_component_build) {
Ben Murdochf3b273f2017-01-17 12:11:28 +0000118 defines = [ "BUILDING_V8_SHARED" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000119 }
120}
121
122config("internal_config_base") {
123 visibility = [ ":*" ] # Only targets in this file can depend on this.
124
125 include_dirs = [ "." ]
126}
127
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100128# This config should be applied to code using the libplatform.
129config("libplatform_config") {
130 include_dirs = [ "include" ]
131}
132
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100133# This config should be applied to code using the libsampler.
134config("libsampler_config") {
135 include_dirs = [ "include" ]
136}
137
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000138# This config should only be applied to code using V8 and not any V8 code
139# itself.
140config("external_config") {
141 if (is_component_build) {
Ben Murdochf3b273f2017-01-17 12:11:28 +0000142 defines = [ "USING_V8_SHARED" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000143 }
144 include_dirs = [ "include" ]
Ben Murdochf3b273f2017-01-17 12:11:28 +0000145 if (v8_enable_inspector_override) {
146 include_dirs += [ "$target_gen_dir/include" ]
147 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100148 libs = []
149 if (is_android && current_toolchain != host_toolchain) {
150 libs += [ "log" ]
151 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000152}
153
Ben Murdoch014dc512016-03-22 12:00:34 +0000154# This config should only be applied to code that needs to be explicitly
155# aware of whether we are using startup data or not.
156config("external_startup_data") {
157 if (v8_use_external_startup_data) {
158 defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
159 }
160}
161
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000162config("features") {
163 visibility = [ ":*" ] # Only targets in this file can depend on this.
164
165 defines = []
166
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100167 if (v8_enable_disassembler) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000168 defines += [ "ENABLE_DISASSEMBLER" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000169 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100170 if (v8_enable_gdbjit) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000171 defines += [ "ENABLE_GDB_JIT_INTERFACE" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000172 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100173 if (v8_object_print) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000174 defines += [ "OBJECT_PRINT" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000175 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100176 if (v8_enable_verify_heap) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000177 defines += [ "VERIFY_HEAP" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000178 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100179 if (v8_interpreted_regexp) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000180 defines += [ "V8_INTERPRETED_REGEXP" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000181 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100182 if (v8_deprecation_warnings) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000183 defines += [ "V8_DEPRECATION_WARNINGS" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000184 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100185 if (v8_imminent_deprecation_warnings) {
186 defines += [ "V8_IMMINENT_DEPRECATION_WARNINGS" ]
187 }
188 if (v8_enable_i18n_support) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000189 defines += [ "V8_I18N_SUPPORT" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000190 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100191 if (v8_enable_handle_zapping) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000192 defines += [ "ENABLE_HANDLE_ZAPPING" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000193 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100194 if (v8_use_external_startup_data) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000195 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000196 }
197}
198
199config("toolchain") {
200 visibility = [ ":*" ] # Only targets in this file can depend on this.
201
202 defines = []
203 cflags = []
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100204 ldflags = []
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000205
Ben Murdochf91f0612016-11-29 16:50:11 +0000206 if (v8_current_cpu == "arm") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000207 defines += [ "V8_TARGET_ARCH_ARM" ]
Ben Murdochf3b273f2017-01-17 12:11:28 +0000208 if (arm_version >= 7) {
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100209 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ]
210 }
211 if (arm_fpu == "vfpv3-d16") {
212 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ]
213 } else if (arm_fpu == "vfpv3") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000214 defines += [
Ben Murdoch014dc512016-03-22 12:00:34 +0000215 "CAN_USE_VFP3_INSTRUCTIONS",
216 "CAN_USE_VFP32DREGS",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100217 ]
218 } else if (arm_fpu == "neon") {
219 defines += [
220 "CAN_USE_VFP3_INSTRUCTIONS",
221 "CAN_USE_VFP32DREGS",
222 "CAN_USE_NEON",
Ben Murdoch014dc512016-03-22 12:00:34 +0000223 ]
224 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100225
Ben Murdoch014dc512016-03-22 12:00:34 +0000226 # TODO(jochen): Add support for arm_test_noprobe.
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100227
228 if (current_cpu != "arm") {
229 # These defines ares used for the ARM simulator.
230 if (arm_float_abi == "hard") {
231 defines += [ "USE_EABI_HARDFLOAT=1" ]
232 } else if (arm_float_abi == "softfp") {
233 defines += [ "USE_EABI_HARDFLOAT=0" ]
234 }
235 }
Ben Murdoch014dc512016-03-22 12:00:34 +0000236 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000237 if (v8_current_cpu == "arm64") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000238 defines += [ "V8_TARGET_ARCH_ARM64" ]
239 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100240
Ben Murdochf3b273f2017-01-17 12:11:28 +0000241 # Mips64el/mipsel simulators.
242 if (is_target_simulator &&
243 (v8_current_cpu == "mipsel" || v8_current_cpu == "mips64el")) {
244 defines += [ "_MIPS_TARGET_SIMULATOR" ]
245 }
246
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100247 # TODO(jochen): Add support for mips.
Ben Murdochf91f0612016-11-29 16:50:11 +0000248 if (v8_current_cpu == "mipsel") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000249 defines += [ "V8_TARGET_ARCH_MIPS" ]
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100250 if (v8_can_use_fpu_instructions) {
251 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
252 }
253 if (v8_use_mips_abi_hardfloat) {
254 defines += [
255 "__mips_hard_float=1",
256 "CAN_USE_FPU_INSTRUCTIONS",
257 ]
258 } else {
259 defines += [ "__mips_soft_float=1" ]
260 }
261 if (mips_arch_variant == "r6") {
262 defines += [
263 "_MIPS_ARCH_MIPS32R6",
264 "FPU_MODE_FP64",
265 ]
266 } else if (mips_arch_variant == "r2") {
267 defines += [ "_MIPS_ARCH_MIPS32R2" ]
268 if (mips_fpu_mode == "fp64") {
269 defines += [ "FPU_MODE_FP64" ]
270 } else if (mips_fpu_mode == "fpxx") {
271 defines += [ "FPU_MODE_FPXX" ]
272 } else if (mips_fpu_mode == "fp32") {
273 defines += [ "FPU_MODE_FP32" ]
274 }
275 } else if (mips_arch_variant == "r1") {
276 defines += [ "FPU_MODE_FP32" ]
277 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100278
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100279 # TODO(jochen): Add support for mips_arch_variant rx and loongson.
Ben Murdoch014dc512016-03-22 12:00:34 +0000280 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100281
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100282 # TODO(jochen): Add support for mips64.
Ben Murdochf91f0612016-11-29 16:50:11 +0000283 if (v8_current_cpu == "mips64el") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000284 defines += [ "V8_TARGET_ARCH_MIPS64" ]
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100285 if (v8_can_use_fpu_instructions) {
286 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
287 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100288
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100289 # TODO(jochen): Add support for big endian host byteorder.
290 defines += [ "V8_TARGET_ARCH_MIPS64_LE" ]
291 if (v8_use_mips_abi_hardfloat) {
292 defines += [
293 "__mips_hard_float=1",
294 "CAN_USE_FPU_INSTRUCTIONS",
295 ]
296 } else {
297 defines += [ "__mips_soft_float=1" ]
298 }
299 if (mips_arch_variant == "r6") {
300 defines += [ "_MIPS_ARCH_MIPS64R6" ]
301 } else if (mips_arch_variant == "r2") {
302 defines += [ "_MIPS_ARCH_MIPS64R2" ]
303 }
Ben Murdoch014dc512016-03-22 12:00:34 +0000304 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000305 if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000306 defines += [ "V8_TARGET_ARCH_S390" ]
Ben Murdochf91f0612016-11-29 16:50:11 +0000307 if (v8_current_cpu == "s390x") {
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100308 defines += [ "V8_TARGET_ARCH_S390X" ]
309 }
310 if (host_cpu == "x64" || host_cpu == "x86") {
311 defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ]
312 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100313 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000314 if (v8_current_cpu == "x86") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000315 defines += [ "V8_TARGET_ARCH_IA32" ]
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100316 if (is_win) {
317 # Ensure no surprising artifacts from 80bit double math with x86.
318 cflags += [ "/arch:SSE2" ]
319 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000320 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000321 if (v8_current_cpu == "x64") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000322 defines += [ "V8_TARGET_ARCH_X64" ]
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100323 if (is_win) {
324 # Increase the initial stack size. The default is 1MB, this is 2MB. This
325 # applies only to executables and shared libraries produced by V8 since
326 # ldflags are not pushed to dependants.
327 ldflags += [ "/STACK:2097152" ]
328 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000329 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000330 if (is_android && v8_android_log_stdout) {
331 defines += [ "V8_ANDROID_LOG_STDOUT" ]
332 }
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100333
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100334 # TODO(jochen): Support v8_enable_prof on Windows.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000335 # TODO(jochen): Add support for compiling with simulators.
336
337 if (is_debug) {
Ben Murdochf91f0612016-11-29 16:50:11 +0000338 if (is_linux && v8_enable_backtrace) {
339 ldflags += [ "-rdynamic" ]
340 }
341
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000342 # TODO(jochen): Add support for different debug optimization levels.
343 defines += [
344 "ENABLE_DISASSEMBLER",
345 "V8_ENABLE_CHECKS",
346 "OBJECT_PRINT",
347 "VERIFY_HEAP",
348 "DEBUG",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100349 "TRACE_MAPS",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000350 ]
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100351 if (v8_enable_slow_dchecks) {
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100352 defines += [ "ENABLE_SLOW_DCHECKS" ]
353 }
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100354 } else if (dcheck_always_on) {
355 defines += [ "DEBUG" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000356 }
Ben Murdochf3b273f2017-01-17 12:11:28 +0000357
358 if (v8_no_inline) {
359 cflags += [
360 "-fno-inline-functions",
361 "-fno-inline",
362 ]
363 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000364}
365
366###############################################################################
367# Actions
368#
369
370action("js2c") {
371 visibility = [ ":*" ] # Only targets in this file can depend on this.
372
373 script = "tools/js2c.py"
374
375 # The script depends on this other script, this rule causes a rebuild if it
376 # changes.
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100377 inputs = [
378 "tools/jsmin.py",
379 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000380
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100381 # NOSORT
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000382 sources = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000383 "src/js/macros.py",
384 "src/messages.h",
385 "src/js/prologue.js",
386 "src/js/runtime.js",
387 "src/js/v8natives.js",
388 "src/js/symbol.js",
389 "src/js/array.js",
390 "src/js/string.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000391 "src/js/math.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000392 "src/js/regexp.js",
393 "src/js/arraybuffer.js",
394 "src/js/typedarray.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000395 "src/js/collection.js",
396 "src/js/weak-collection.js",
397 "src/js/collection-iterator.js",
398 "src/js/promise.js",
399 "src/js/messages.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000400 "src/js/array-iterator.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000401 "src/js/templates.js",
402 "src/js/spread.js",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100403 "src/js/proxy.js",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000404 "src/js/async-await.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000405 "src/debug/mirrors.js",
406 "src/debug/debug.js",
407 "src/debug/liveedit.js",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000408 ]
409
410 outputs = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000411 "$target_gen_dir/libraries.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000412 ]
413
414 if (v8_enable_i18n_support) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000415 sources += [ "src/js/i18n.js" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000416 }
417
418 args = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000419 rebase_path("$target_gen_dir/libraries.cc", root_build_dir),
420 "CORE",
421 ] + rebase_path(sources, root_build_dir)
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000422
423 if (v8_use_external_startup_data) {
424 outputs += [ "$target_gen_dir/libraries.bin" ]
425 args += [
426 "--startup_blob",
Ben Murdoch014dc512016-03-22 12:00:34 +0000427 rebase_path("$target_gen_dir/libraries.bin", root_build_dir),
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000428 ]
429 }
430}
431
432action("js2c_experimental") {
433 visibility = [ ":*" ] # Only targets in this file can depend on this.
434
435 script = "tools/js2c.py"
436
437 # The script depends on this other script, this rule causes a rebuild if it
438 # changes.
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100439 inputs = [
440 "tools/jsmin.py",
441 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000442
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100443 # NOSORT
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000444 sources = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000445 "src/js/macros.py",
446 "src/messages.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000447 "src/js/harmony-atomics.js",
Ben Murdoch014dc512016-03-22 12:00:34 +0000448 "src/js/harmony-simd.js",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100449 "src/js/harmony-string-padding.js",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000450 ]
451
452 outputs = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000453 "$target_gen_dir/experimental-libraries.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000454 ]
455
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100456 if (v8_enable_i18n_support) {
457 sources += [
Ben Murdochf3b273f2017-01-17 12:11:28 +0000458 "src/js/datetime-format-to-parts.js",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100459 "src/js/icu-case-mapping.js",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100460 ]
461 }
462
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000463 args = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000464 rebase_path("$target_gen_dir/experimental-libraries.cc",
465 root_build_dir),
466 "EXPERIMENTAL",
467 ] + rebase_path(sources, root_build_dir)
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000468
469 if (v8_use_external_startup_data) {
470 outputs += [ "$target_gen_dir/libraries_experimental.bin" ]
471 args += [
472 "--startup_blob",
Ben Murdoch014dc512016-03-22 12:00:34 +0000473 rebase_path("$target_gen_dir/libraries_experimental.bin", root_build_dir),
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000474 ]
475 }
476}
477
Ben Murdoch014dc512016-03-22 12:00:34 +0000478action("js2c_extras") {
479 visibility = [ ":*" ] # Only targets in this file can depend on this.
480
481 script = "tools/js2c.py"
482
483 # The script depends on this other script, this rule causes a rebuild if it
484 # changes.
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100485 inputs = [
486 "tools/jsmin.py",
487 ]
Ben Murdoch014dc512016-03-22 12:00:34 +0000488
489 sources = v8_extra_library_files
490
491 outputs = [
492 "$target_gen_dir/extras-libraries.cc",
493 ]
494
495 args = [
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100496 rebase_path("$target_gen_dir/extras-libraries.cc", root_build_dir),
Ben Murdoch014dc512016-03-22 12:00:34 +0000497 "EXTRAS",
498 ] + rebase_path(sources, root_build_dir)
499
500 if (v8_use_external_startup_data) {
501 outputs += [ "$target_gen_dir/libraries_extras.bin" ]
502 args += [
503 "--startup_blob",
504 rebase_path("$target_gen_dir/libraries_extras.bin", root_build_dir),
505 ]
506 }
507}
508
509action("js2c_experimental_extras") {
510 visibility = [ ":*" ] # Only targets in this file can depend on this.
511
512 script = "tools/js2c.py"
513
514 # The script depends on this other script, this rule causes a rebuild if it
515 # changes.
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100516 inputs = [
517 "tools/jsmin.py",
518 ]
Ben Murdoch014dc512016-03-22 12:00:34 +0000519
520 sources = v8_experimental_extra_library_files
521
522 outputs = [
523 "$target_gen_dir/experimental-extras-libraries.cc",
524 ]
525
526 args = [
527 rebase_path("$target_gen_dir/experimental-extras-libraries.cc",
528 root_build_dir),
529 "EXPERIMENTAL_EXTRAS",
530 ] + rebase_path(sources, root_build_dir)
531
532 if (v8_use_external_startup_data) {
533 outputs += [ "$target_gen_dir/libraries_experimental_extras.bin" ]
534 args += [
535 "--startup_blob",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100536 rebase_path("$target_gen_dir/libraries_experimental_extras.bin",
537 root_build_dir),
Ben Murdoch014dc512016-03-22 12:00:34 +0000538 ]
539 }
540}
541
542action("d8_js2c") {
543 visibility = [ ":*" ] # Only targets in this file can depend on this.
544
545 script = "tools/js2c.py"
546
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100547 # NOSORT
Ben Murdoch014dc512016-03-22 12:00:34 +0000548 inputs = [
549 "src/d8.js",
550 "src/js/macros.py",
551 ]
552
553 outputs = [
554 "$target_gen_dir/d8-js.cc",
555 ]
556
557 args = rebase_path(outputs, root_build_dir) + [ "D8" ] +
558 rebase_path(inputs, root_build_dir)
559}
560
Ben Murdochf91f0612016-11-29 16:50:11 +0000561if (is_android && enable_java_templates) {
Ben Murdoch014dc512016-03-22 12:00:34 +0000562 android_assets("v8_external_startup_data_assets") {
563 if (v8_use_external_startup_data) {
564 deps = [
565 "//v8",
566 ]
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100567 sources = [
568 "$root_out_dir/natives_blob.bin",
569 ]
570 renaming_sources = [ "$root_out_dir/snapshot_blob.bin" ]
571 if (current_cpu == "arm" || current_cpu == "x86" ||
572 current_cpu == "mipsel") {
573 renaming_destinations = [ "snapshot_blob_32.bin" ]
574 } else {
575 renaming_destinations = [ "snapshot_blob_64.bin" ]
576 }
Ben Murdoch014dc512016-03-22 12:00:34 +0000577 disable_compression = true
578 }
579 }
580}
581
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000582if (v8_use_external_startup_data) {
583 action("natives_blob") {
584 visibility = [ ":*" ] # Only targets in this file can depend on this.
585
586 deps = [
587 ":js2c",
Ben Murdoch014dc512016-03-22 12:00:34 +0000588 ":js2c_experimental",
Ben Murdoch014dc512016-03-22 12:00:34 +0000589 ":js2c_experimental_extras",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100590 ":js2c_extras",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000591 ]
592
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100593 # NOSORT
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000594 sources = [
595 "$target_gen_dir/libraries.bin",
Ben Murdoch014dc512016-03-22 12:00:34 +0000596 "$target_gen_dir/libraries_experimental.bin",
597 "$target_gen_dir/libraries_extras.bin",
598 "$target_gen_dir/libraries_experimental_extras.bin",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000599 ]
600
601 outputs = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000602 "$root_out_dir/natives_blob.bin",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000603 ]
604
605 script = "tools/concatenate-files.py"
606
607 args = rebase_path(sources + outputs, root_build_dir)
608 }
609}
610
611action("postmortem-metadata") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000612 # Only targets in this file and the top-level visibility target can
613 # depend on this.
614 visibility = [
615 ":*",
616 "//:gn_visibility",
617 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000618
619 script = "tools/gen-postmortem-metadata.py"
620
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100621 # NOSORT
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000622 sources = [
623 "src/objects.h",
624 "src/objects-inl.h",
625 ]
626
627 outputs = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000628 "$target_gen_dir/debug-support.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000629 ]
630
Ben Murdoch014dc512016-03-22 12:00:34 +0000631 args = rebase_path(outputs, root_build_dir) +
632 rebase_path(sources, root_build_dir)
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000633}
634
635action("run_mksnapshot") {
636 visibility = [ ":*" ] # Only targets in this file can depend on this.
637
Ben Murdoch014dc512016-03-22 12:00:34 +0000638 deps = [
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100639 ":mksnapshot($v8_snapshot_toolchain)",
Ben Murdoch014dc512016-03-22 12:00:34 +0000640 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000641
642 script = "tools/run.py"
643
Ben Murdochf91f0612016-11-29 16:50:11 +0000644 sources = []
645
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000646 outputs = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000647 "$target_gen_dir/snapshot.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000648 ]
649
650 args = [
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100651 "./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000652 "root_out_dir") + "/mksnapshot",
653 root_build_dir),
Ben Murdoch014dc512016-03-22 12:00:34 +0000654 "--startup_src",
655 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir),
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000656 ]
657
658 if (v8_random_seed != "0") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000659 args += [
660 "--random-seed",
661 v8_random_seed,
662 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000663 }
664
665 if (v8_use_external_startup_data) {
Emily Bernier958fae72015-03-24 16:35:39 -0400666 outputs += [ "$root_out_dir/snapshot_blob.bin" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000667 args += [
668 "--startup_blob",
Ben Murdoch014dc512016-03-22 12:00:34 +0000669 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir),
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000670 ]
671 }
Ben Murdochf91f0612016-11-29 16:50:11 +0000672
673 if (v8_embed_script != "") {
674 sources += [ v8_embed_script ]
675 args += [ rebase_path(v8_embed_script, root_build_dir) ]
676 }
677}
678
679action("run_mkpeephole") {
680 visibility = [ ":*" ] # Only targets in this file can depend on this.
681
682 deps = [
683 ":mkpeephole($v8_snapshot_toolchain)",
684 ]
685
686 outputs = [
687 v8_generated_peephole_source,
688 ]
689
690 sources = []
691
692 script = "tools/run.py"
693
694 args = [
695 "./" + rebase_path(get_label_info(":mkpeephole($v8_snapshot_toolchain)",
696 "root_out_dir") + "/mkpeephole",
697 root_build_dir),
698 rebase_path(v8_generated_peephole_source, root_build_dir),
699 ]
700}
701
702action("v8_dump_build_config") {
703 script = "tools/testrunner/utils/dump_build_config.py"
704 outputs = [
705 "$root_out_dir/v8_build_config.json",
706 ]
707 args = [
708 rebase_path("$root_out_dir/v8_build_config.json", root_build_dir),
709 "dcheck_always_on=$dcheck_always_on",
710 "is_asan=$is_asan",
711 "is_cfi=$is_cfi",
712 "is_component_build=$is_component_build",
713 "is_debug=$is_debug",
714 "is_msan=$is_msan",
715 "is_tsan=$is_tsan",
716 "target_cpu=\"$target_cpu\"",
717 "v8_enable_i18n_support=$v8_enable_i18n_support",
718 "v8_target_cpu=\"$v8_target_cpu\"",
719 "v8_use_snapshot=$v8_use_snapshot",
720 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000721}
722
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000723###############################################################################
724# Source Sets (aka static libraries)
725#
726
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100727source_set("v8_maybe_snapshot") {
728 if (v8_use_snapshot && v8_use_external_startup_data) {
729 public_deps = [
730 ":v8_external_snapshot",
731 ]
732 } else if (v8_use_snapshot) {
733 public_deps = [
734 ":v8_snapshot",
735 ]
736 } else {
Ben Murdochf91f0612016-11-29 16:50:11 +0000737 # Ignore v8_use_external_startup_data setting if no snapshot is used.
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100738 public_deps = [
739 ":v8_nosnapshot",
740 ]
741 }
742}
743
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100744v8_source_set("v8_nosnapshot") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000745 visibility = [ ":*" ] # Only targets in this file can depend on this.
746
747 deps = [
748 ":js2c",
749 ":js2c_experimental",
Ben Murdoch014dc512016-03-22 12:00:34 +0000750 ":js2c_experimental_extras",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100751 ":js2c_extras",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000752 ":v8_base",
753 ]
754
755 sources = [
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100756 "$target_gen_dir/experimental-extras-libraries.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000757 "$target_gen_dir/experimental-libraries.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +0000758 "$target_gen_dir/extras-libraries.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100759 "$target_gen_dir/libraries.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +0000760 "src/snapshot/snapshot-empty.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000761 ]
762
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100763 configs = [ ":internal_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000764}
765
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100766v8_source_set("v8_snapshot") {
Ben Murdoch014dc512016-03-22 12:00:34 +0000767 # Only targets in this file and the top-level visibility target can
768 # depend on this.
769 visibility = [
770 ":*",
771 "//:gn_visibility",
772 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000773
774 deps = [
775 ":js2c",
776 ":js2c_experimental",
Ben Murdoch014dc512016-03-22 12:00:34 +0000777 ":js2c_experimental_extras",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100778 ":js2c_extras",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000779 ":v8_base",
780 ]
Ben Murdoch014dc512016-03-22 12:00:34 +0000781 public_deps = [
782 # This should be public so downstream targets can declare the snapshot
783 # output file as their inputs.
784 ":run_mksnapshot",
785 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000786
787 sources = [
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100788 "$target_gen_dir/experimental-extras-libraries.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000789 "$target_gen_dir/experimental-libraries.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +0000790 "$target_gen_dir/extras-libraries.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100791 "$target_gen_dir/libraries.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000792 "$target_gen_dir/snapshot.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000793 ]
794
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100795 configs = [ ":internal_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000796}
797
798if (v8_use_external_startup_data) {
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100799 v8_source_set("v8_external_snapshot") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000800 visibility = [ ":*" ] # Only targets in this file can depend on this.
801
802 deps = [
803 ":js2c",
804 ":js2c_experimental",
Ben Murdoch014dc512016-03-22 12:00:34 +0000805 ":js2c_experimental_extras",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100806 ":js2c_extras",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000807 ":v8_base",
Ben Murdoch014dc512016-03-22 12:00:34 +0000808 ]
809 public_deps = [
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000810 ":natives_blob",
Ben Murdoch014dc512016-03-22 12:00:34 +0000811 ":run_mksnapshot",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000812 ]
813
814 sources = [
Ben Murdoch014dc512016-03-22 12:00:34 +0000815 "src/snapshot/natives-external.cc",
816 "src/snapshot/snapshot-external.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000817 ]
818
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100819 configs = [ ":internal_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000820 }
821}
822
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100823v8_source_set("v8_base") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000824 visibility = [ ":*" ] # Only targets in this file can depend on this.
825
826 sources = [
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100827 "//base/trace_event/common/trace_event_common.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000828
829 ### gcmole(all) ###
Ben Murdoch014dc512016-03-22 12:00:34 +0000830 "include/v8-debug.h",
831 "include/v8-experimental.h",
832 "include/v8-platform.h",
833 "include/v8-profiler.h",
834 "include/v8-testing.h",
835 "include/v8-util.h",
836 "include/v8-version.h",
837 "include/v8.h",
838 "include/v8config.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000839 "src/accessors.cc",
840 "src/accessors.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000841 "src/address-map.cc",
842 "src/address-map.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000843 "src/allocation-site-scopes.cc",
844 "src/allocation-site-scopes.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100845 "src/allocation.cc",
846 "src/allocation.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100847 "src/api-arguments-inl.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100848 "src/api-arguments.cc",
849 "src/api-arguments.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000850 "src/api-experimental.cc",
851 "src/api-experimental.h",
852 "src/api-natives.cc",
853 "src/api-natives.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100854 "src/api.cc",
855 "src/api.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000856 "src/arguments.cc",
857 "src/arguments.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000858 "src/asmjs/asm-js.cc",
859 "src/asmjs/asm-js.h",
860 "src/asmjs/asm-typer.cc",
861 "src/asmjs/asm-typer.h",
862 "src/asmjs/asm-types.cc",
863 "src/asmjs/asm-types.h",
864 "src/asmjs/asm-wasm-builder.cc",
865 "src/asmjs/asm-wasm-builder.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000866 "src/assembler.cc",
867 "src/assembler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000868 "src/assert-scope.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100869 "src/assert-scope.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000870 "src/ast/ast-expression-rewriter.cc",
871 "src/ast/ast-expression-rewriter.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000872 "src/ast/ast-literal-reindexer.cc",
873 "src/ast/ast-literal-reindexer.h",
874 "src/ast/ast-numbering.cc",
875 "src/ast/ast-numbering.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000876 "src/ast/ast-traversal-visitor.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100877 "src/ast/ast-type-bounds.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000878 "src/ast/ast-types.cc",
879 "src/ast/ast-types.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000880 "src/ast/ast-value-factory.cc",
881 "src/ast/ast-value-factory.h",
882 "src/ast/ast.cc",
883 "src/ast/ast.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000884 "src/ast/compile-time-value.cc",
885 "src/ast/compile-time-value.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000886 "src/ast/context-slot-cache.cc",
887 "src/ast/context-slot-cache.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000888 "src/ast/modules.cc",
889 "src/ast/modules.h",
890 "src/ast/prettyprinter.cc",
891 "src/ast/prettyprinter.h",
892 "src/ast/scopeinfo.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +0000893 "src/ast/scopes.cc",
894 "src/ast/scopes.h",
895 "src/ast/variables.cc",
896 "src/ast/variables.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000897 "src/background-parsing-task.cc",
898 "src/background-parsing-task.h",
899 "src/bailout-reason.cc",
900 "src/bailout-reason.h",
Emily Bernier958fae72015-03-24 16:35:39 -0400901 "src/basic-block-profiler.cc",
902 "src/basic-block-profiler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000903 "src/bignum-dtoa.cc",
904 "src/bignum-dtoa.h",
905 "src/bignum.cc",
906 "src/bignum.h",
Emily Bernier958fae72015-03-24 16:35:39 -0400907 "src/bit-vector.cc",
908 "src/bit-vector.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000909 "src/bootstrapper.cc",
910 "src/bootstrapper.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000911 "src/builtins/builtins-api.cc",
912 "src/builtins/builtins-array.cc",
913 "src/builtins/builtins-arraybuffer.cc",
914 "src/builtins/builtins-boolean.cc",
915 "src/builtins/builtins-call.cc",
916 "src/builtins/builtins-callsite.cc",
917 "src/builtins/builtins-conversion.cc",
918 "src/builtins/builtins-dataview.cc",
919 "src/builtins/builtins-date.cc",
920 "src/builtins/builtins-debug.cc",
921 "src/builtins/builtins-error.cc",
922 "src/builtins/builtins-function.cc",
923 "src/builtins/builtins-generator.cc",
924 "src/builtins/builtins-global.cc",
925 "src/builtins/builtins-handler.cc",
926 "src/builtins/builtins-internal.cc",
927 "src/builtins/builtins-interpreter.cc",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000928 "src/builtins/builtins-iterator.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +0000929 "src/builtins/builtins-json.cc",
930 "src/builtins/builtins-math.cc",
931 "src/builtins/builtins-number.cc",
932 "src/builtins/builtins-object.cc",
933 "src/builtins/builtins-proxy.cc",
934 "src/builtins/builtins-reflect.cc",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000935 "src/builtins/builtins-regexp.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +0000936 "src/builtins/builtins-sharedarraybuffer.cc",
937 "src/builtins/builtins-string.cc",
938 "src/builtins/builtins-symbol.cc",
939 "src/builtins/builtins-typedarray.cc",
940 "src/builtins/builtins-utils.h",
941 "src/builtins/builtins.cc",
942 "src/builtins/builtins.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000943 "src/cached-powers.cc",
944 "src/cached-powers.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100945 "src/cancelable-task.cc",
946 "src/cancelable-task.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000947 "src/char-predicates-inl.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100948 "src/char-predicates.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000949 "src/char-predicates.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000950 "src/checks.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100951 "src/code-events.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000952 "src/code-factory.cc",
953 "src/code-factory.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100954 "src/code-stub-assembler.cc",
955 "src/code-stub-assembler.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100956 "src/code-stubs-hydrogen.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000957 "src/code-stubs.cc",
958 "src/code-stubs.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000959 "src/codegen.cc",
960 "src/codegen.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100961 "src/collector.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000962 "src/compilation-cache.cc",
963 "src/compilation-cache.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000964 "src/compilation-dependencies.cc",
965 "src/compilation-dependencies.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +0000966 "src/compilation-info.cc",
967 "src/compilation-info.h",
Emily Bernier958fae72015-03-24 16:35:39 -0400968 "src/compilation-statistics.cc",
969 "src/compilation-statistics.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000970 "src/compiler-dispatcher/compiler-dispatcher-job.cc",
971 "src/compiler-dispatcher/compiler-dispatcher-job.h",
972 "src/compiler-dispatcher/optimizing-compile-dispatcher.cc",
973 "src/compiler-dispatcher/optimizing-compile-dispatcher.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100974 "src/compiler.cc",
975 "src/compiler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000976 "src/compiler/access-builder.cc",
977 "src/compiler/access-builder.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000978 "src/compiler/access-info.cc",
979 "src/compiler/access-info.h",
980 "src/compiler/all-nodes.cc",
981 "src/compiler/all-nodes.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000982 "src/compiler/ast-graph-builder.cc",
983 "src/compiler/ast-graph-builder.h",
Emily Bernier958fae72015-03-24 16:35:39 -0400984 "src/compiler/ast-loop-assignment-analyzer.cc",
985 "src/compiler/ast-loop-assignment-analyzer.h",
986 "src/compiler/basic-block-instrumentor.cc",
987 "src/compiler/basic-block-instrumentor.h",
Ben Murdoch014dc512016-03-22 12:00:34 +0000988 "src/compiler/branch-elimination.cc",
989 "src/compiler/branch-elimination.h",
990 "src/compiler/bytecode-branch-analysis.cc",
991 "src/compiler/bytecode-branch-analysis.h",
992 "src/compiler/bytecode-graph-builder.cc",
993 "src/compiler/bytecode-graph-builder.h",
Ben Murdochf91f0612016-11-29 16:50:11 +0000994 "src/compiler/bytecode-loop-analysis.cc",
995 "src/compiler/bytecode-loop-analysis.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +0100996 "src/compiler/c-linkage.cc",
Ben Murdoch13e2dad2016-09-16 13:49:30 +0100997 "src/compiler/checkpoint-elimination.cc",
998 "src/compiler/checkpoint-elimination.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +0100999 "src/compiler/code-assembler.cc",
1000 "src/compiler/code-assembler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001001 "src/compiler/code-generator-impl.h",
1002 "src/compiler/code-generator.cc",
1003 "src/compiler/code-generator.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001004 "src/compiler/common-node-cache.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001005 "src/compiler/common-node-cache.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001006 "src/compiler/common-operator-reducer.cc",
1007 "src/compiler/common-operator-reducer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001008 "src/compiler/common-operator.cc",
1009 "src/compiler/common-operator.h",
1010 "src/compiler/control-builders.cc",
1011 "src/compiler/control-builders.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001012 "src/compiler/control-equivalence.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001013 "src/compiler/control-equivalence.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001014 "src/compiler/control-flow-optimizer.cc",
1015 "src/compiler/control-flow-optimizer.h",
1016 "src/compiler/dead-code-elimination.cc",
1017 "src/compiler/dead-code-elimination.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001018 "src/compiler/diamond.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001019 "src/compiler/effect-control-linearizer.cc",
1020 "src/compiler/effect-control-linearizer.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001021 "src/compiler/escape-analysis-reducer.cc",
1022 "src/compiler/escape-analysis-reducer.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001023 "src/compiler/escape-analysis.cc",
1024 "src/compiler/escape-analysis.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001025 "src/compiler/frame-elider.cc",
1026 "src/compiler/frame-elider.h",
1027 "src/compiler/frame-states.cc",
1028 "src/compiler/frame-states.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001029 "src/compiler/frame.cc",
1030 "src/compiler/frame.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001031 "src/compiler/gap-resolver.cc",
1032 "src/compiler/gap-resolver.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001033 "src/compiler/graph-reducer.cc",
1034 "src/compiler/graph-reducer.h",
1035 "src/compiler/graph-replay.cc",
1036 "src/compiler/graph-replay.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001037 "src/compiler/graph-trimmer.cc",
1038 "src/compiler/graph-trimmer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001039 "src/compiler/graph-visualizer.cc",
1040 "src/compiler/graph-visualizer.h",
1041 "src/compiler/graph.cc",
1042 "src/compiler/graph.h",
1043 "src/compiler/instruction-codes.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001044 "src/compiler/instruction-scheduler.cc",
1045 "src/compiler/instruction-scheduler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001046 "src/compiler/instruction-selector-impl.h",
1047 "src/compiler/instruction-selector.cc",
1048 "src/compiler/instruction-selector.h",
1049 "src/compiler/instruction.cc",
1050 "src/compiler/instruction.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001051 "src/compiler/int64-lowering.cc",
1052 "src/compiler/int64-lowering.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001053 "src/compiler/js-builtin-reducer.cc",
1054 "src/compiler/js-builtin-reducer.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001055 "src/compiler/js-call-reducer.cc",
1056 "src/compiler/js-call-reducer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001057 "src/compiler/js-context-specialization.cc",
1058 "src/compiler/js-context-specialization.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001059 "src/compiler/js-create-lowering.cc",
1060 "src/compiler/js-create-lowering.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001061 "src/compiler/js-frame-specialization.cc",
1062 "src/compiler/js-frame-specialization.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001063 "src/compiler/js-generic-lowering.cc",
1064 "src/compiler/js-generic-lowering.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001065 "src/compiler/js-global-object-specialization.cc",
1066 "src/compiler/js-global-object-specialization.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001067 "src/compiler/js-graph.cc",
1068 "src/compiler/js-graph.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001069 "src/compiler/js-inlining-heuristic.cc",
1070 "src/compiler/js-inlining-heuristic.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001071 "src/compiler/js-inlining.cc",
1072 "src/compiler/js-inlining.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001073 "src/compiler/js-intrinsic-lowering.cc",
1074 "src/compiler/js-intrinsic-lowering.h",
1075 "src/compiler/js-native-context-specialization.cc",
1076 "src/compiler/js-native-context-specialization.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001077 "src/compiler/js-operator.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001078 "src/compiler/js-operator.h",
1079 "src/compiler/js-typed-lowering.cc",
1080 "src/compiler/js-typed-lowering.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001081 "src/compiler/jump-threading.cc",
1082 "src/compiler/jump-threading.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001083 "src/compiler/linkage.cc",
1084 "src/compiler/linkage.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001085 "src/compiler/live-range-separator.cc",
1086 "src/compiler/live-range-separator.h",
1087 "src/compiler/liveness-analyzer.cc",
1088 "src/compiler/liveness-analyzer.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001089 "src/compiler/load-elimination.cc",
1090 "src/compiler/load-elimination.h",
1091 "src/compiler/loop-analysis.cc",
1092 "src/compiler/loop-analysis.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001093 "src/compiler/loop-peeling.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001094 "src/compiler/loop-peeling.h",
1095 "src/compiler/loop-variable-optimizer.cc",
1096 "src/compiler/loop-variable-optimizer.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001097 "src/compiler/machine-graph-verifier.cc",
1098 "src/compiler/machine-graph-verifier.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001099 "src/compiler/machine-operator-reducer.cc",
1100 "src/compiler/machine-operator-reducer.h",
1101 "src/compiler/machine-operator.cc",
1102 "src/compiler/machine-operator.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001103 "src/compiler/memory-optimizer.cc",
1104 "src/compiler/memory-optimizer.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001105 "src/compiler/move-optimizer.cc",
1106 "src/compiler/move-optimizer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001107 "src/compiler/node-aux-data.h",
1108 "src/compiler/node-cache.cc",
1109 "src/compiler/node-cache.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001110 "src/compiler/node-marker.cc",
1111 "src/compiler/node-marker.h",
1112 "src/compiler/node-matchers.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001113 "src/compiler/node-matchers.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001114 "src/compiler/node-properties.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001115 "src/compiler/node-properties.h",
1116 "src/compiler/node.cc",
1117 "src/compiler/node.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001118 "src/compiler/opcodes.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001119 "src/compiler/opcodes.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001120 "src/compiler/operation-typer.cc",
1121 "src/compiler/operation-typer.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001122 "src/compiler/operator-properties.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001123 "src/compiler/operator-properties.h",
1124 "src/compiler/operator.cc",
1125 "src/compiler/operator.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001126 "src/compiler/osr.cc",
1127 "src/compiler/osr.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001128 "src/compiler/pipeline-statistics.cc",
1129 "src/compiler/pipeline-statistics.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001130 "src/compiler/pipeline.cc",
1131 "src/compiler/pipeline.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001132 "src/compiler/raw-machine-assembler.cc",
1133 "src/compiler/raw-machine-assembler.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001134 "src/compiler/redundancy-elimination.cc",
1135 "src/compiler/redundancy-elimination.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001136 "src/compiler/register-allocator-verifier.cc",
1137 "src/compiler/register-allocator-verifier.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001138 "src/compiler/register-allocator.cc",
1139 "src/compiler/register-allocator.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001140 "src/compiler/representation-change.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001141 "src/compiler/representation-change.h",
1142 "src/compiler/schedule.cc",
1143 "src/compiler/schedule.h",
1144 "src/compiler/scheduler.cc",
1145 "src/compiler/scheduler.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001146 "src/compiler/select-lowering.cc",
1147 "src/compiler/select-lowering.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001148 "src/compiler/simplified-lowering.cc",
1149 "src/compiler/simplified-lowering.h",
1150 "src/compiler/simplified-operator-reducer.cc",
1151 "src/compiler/simplified-operator-reducer.h",
1152 "src/compiler/simplified-operator.cc",
1153 "src/compiler/simplified-operator.h",
1154 "src/compiler/source-position.cc",
1155 "src/compiler/source-position.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001156 "src/compiler/state-values-utils.cc",
1157 "src/compiler/state-values-utils.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001158 "src/compiler/store-store-elimination.cc",
1159 "src/compiler/store-store-elimination.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001160 "src/compiler/tail-call-optimization.cc",
1161 "src/compiler/tail-call-optimization.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001162 "src/compiler/type-cache.cc",
1163 "src/compiler/type-cache.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001164 "src/compiler/type-hint-analyzer.cc",
1165 "src/compiler/type-hint-analyzer.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001166 "src/compiler/typed-optimization.cc",
1167 "src/compiler/typed-optimization.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001168 "src/compiler/typer.cc",
1169 "src/compiler/typer.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001170 "src/compiler/types.cc",
1171 "src/compiler/types.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001172 "src/compiler/unwinding-info-writer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001173 "src/compiler/value-numbering-reducer.cc",
1174 "src/compiler/value-numbering-reducer.h",
1175 "src/compiler/verifier.cc",
1176 "src/compiler/verifier.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001177 "src/compiler/wasm-compiler.cc",
1178 "src/compiler/wasm-compiler.h",
1179 "src/compiler/wasm-linkage.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001180 "src/compiler/zone-pool.cc",
1181 "src/compiler/zone-pool.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001182 "src/context-measure.cc",
1183 "src/context-measure.h",
1184 "src/contexts-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001185 "src/contexts.cc",
1186 "src/contexts.h",
1187 "src/conversions-inl.h",
1188 "src/conversions.cc",
1189 "src/conversions.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001190 "src/counters-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001191 "src/counters.cc",
1192 "src/counters.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001193 "src/crankshaft/compilation-phase.cc",
1194 "src/crankshaft/compilation-phase.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001195 "src/crankshaft/hydrogen-alias-analysis.h",
1196 "src/crankshaft/hydrogen-bce.cc",
1197 "src/crankshaft/hydrogen-bce.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001198 "src/crankshaft/hydrogen-canonicalize.cc",
1199 "src/crankshaft/hydrogen-canonicalize.h",
1200 "src/crankshaft/hydrogen-check-elimination.cc",
1201 "src/crankshaft/hydrogen-check-elimination.h",
1202 "src/crankshaft/hydrogen-dce.cc",
1203 "src/crankshaft/hydrogen-dce.h",
1204 "src/crankshaft/hydrogen-dehoist.cc",
1205 "src/crankshaft/hydrogen-dehoist.h",
1206 "src/crankshaft/hydrogen-environment-liveness.cc",
1207 "src/crankshaft/hydrogen-environment-liveness.h",
1208 "src/crankshaft/hydrogen-escape-analysis.cc",
1209 "src/crankshaft/hydrogen-escape-analysis.h",
1210 "src/crankshaft/hydrogen-flow-engine.h",
1211 "src/crankshaft/hydrogen-gvn.cc",
1212 "src/crankshaft/hydrogen-gvn.h",
1213 "src/crankshaft/hydrogen-infer-representation.cc",
1214 "src/crankshaft/hydrogen-infer-representation.h",
1215 "src/crankshaft/hydrogen-infer-types.cc",
1216 "src/crankshaft/hydrogen-infer-types.h",
1217 "src/crankshaft/hydrogen-instructions.cc",
1218 "src/crankshaft/hydrogen-instructions.h",
1219 "src/crankshaft/hydrogen-load-elimination.cc",
1220 "src/crankshaft/hydrogen-load-elimination.h",
1221 "src/crankshaft/hydrogen-mark-deoptimize.cc",
1222 "src/crankshaft/hydrogen-mark-deoptimize.h",
1223 "src/crankshaft/hydrogen-mark-unreachable.cc",
1224 "src/crankshaft/hydrogen-mark-unreachable.h",
1225 "src/crankshaft/hydrogen-osr.cc",
1226 "src/crankshaft/hydrogen-osr.h",
1227 "src/crankshaft/hydrogen-range-analysis.cc",
1228 "src/crankshaft/hydrogen-range-analysis.h",
1229 "src/crankshaft/hydrogen-redundant-phi.cc",
1230 "src/crankshaft/hydrogen-redundant-phi.h",
1231 "src/crankshaft/hydrogen-removable-simulates.cc",
1232 "src/crankshaft/hydrogen-removable-simulates.h",
1233 "src/crankshaft/hydrogen-representation-changes.cc",
1234 "src/crankshaft/hydrogen-representation-changes.h",
1235 "src/crankshaft/hydrogen-sce.cc",
1236 "src/crankshaft/hydrogen-sce.h",
1237 "src/crankshaft/hydrogen-store-elimination.cc",
1238 "src/crankshaft/hydrogen-store-elimination.h",
1239 "src/crankshaft/hydrogen-types.cc",
1240 "src/crankshaft/hydrogen-types.h",
1241 "src/crankshaft/hydrogen-uint32-analysis.cc",
1242 "src/crankshaft/hydrogen-uint32-analysis.h",
1243 "src/crankshaft/hydrogen.cc",
1244 "src/crankshaft/hydrogen.h",
1245 "src/crankshaft/lithium-allocator-inl.h",
1246 "src/crankshaft/lithium-allocator.cc",
1247 "src/crankshaft/lithium-allocator.h",
1248 "src/crankshaft/lithium-codegen.cc",
1249 "src/crankshaft/lithium-codegen.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001250 "src/crankshaft/lithium-inl.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001251 "src/crankshaft/lithium.cc",
1252 "src/crankshaft/lithium.h",
1253 "src/crankshaft/typing.cc",
1254 "src/crankshaft/typing.h",
1255 "src/crankshaft/unique.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001256 "src/date.cc",
1257 "src/date.h",
1258 "src/dateparser-inl.h",
1259 "src/dateparser.cc",
1260 "src/dateparser.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001261 "src/debug/debug-evaluate.cc",
1262 "src/debug/debug-evaluate.h",
1263 "src/debug/debug-frames.cc",
1264 "src/debug/debug-frames.h",
1265 "src/debug/debug-scopes.cc",
1266 "src/debug/debug-scopes.h",
1267 "src/debug/debug.cc",
1268 "src/debug/debug.h",
1269 "src/debug/liveedit.cc",
1270 "src/debug/liveedit.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001271 "src/deoptimize-reason.cc",
1272 "src/deoptimize-reason.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001273 "src/deoptimizer.cc",
1274 "src/deoptimizer.h",
1275 "src/disasm.h",
1276 "src/disassembler.cc",
1277 "src/disassembler.h",
1278 "src/diy-fp.cc",
1279 "src/diy-fp.h",
1280 "src/double.h",
1281 "src/dtoa.cc",
1282 "src/dtoa.h",
1283 "src/effects.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001284 "src/eh-frame.cc",
1285 "src/eh-frame.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001286 "src/elements-kind.cc",
1287 "src/elements-kind.h",
1288 "src/elements.cc",
1289 "src/elements.h",
1290 "src/execution.cc",
1291 "src/execution.h",
1292 "src/extensions/externalize-string-extension.cc",
1293 "src/extensions/externalize-string-extension.h",
1294 "src/extensions/free-buffer-extension.cc",
1295 "src/extensions/free-buffer-extension.h",
1296 "src/extensions/gc-extension.cc",
1297 "src/extensions/gc-extension.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001298 "src/extensions/ignition-statistics-extension.cc",
1299 "src/extensions/ignition-statistics-extension.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001300 "src/extensions/statistics-extension.cc",
1301 "src/extensions/statistics-extension.h",
1302 "src/extensions/trigger-failure-extension.cc",
1303 "src/extensions/trigger-failure-extension.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001304 "src/external-reference-table.cc",
1305 "src/external-reference-table.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001306 "src/factory.cc",
1307 "src/factory.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001308 "src/fast-accessor-assembler.cc",
1309 "src/fast-accessor-assembler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001310 "src/fast-dtoa.cc",
1311 "src/fast-dtoa.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001312 "src/field-index-inl.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001313 "src/field-index.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001314 "src/field-type.cc",
1315 "src/field-type.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001316 "src/fixed-dtoa.cc",
1317 "src/fixed-dtoa.h",
1318 "src/flag-definitions.h",
1319 "src/flags.cc",
1320 "src/flags.h",
1321 "src/frames-inl.h",
1322 "src/frames.cc",
1323 "src/frames.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001324 "src/full-codegen/full-codegen.cc",
1325 "src/full-codegen/full-codegen.h",
1326 "src/futex-emulation.cc",
1327 "src/futex-emulation.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001328 "src/gdb-jit.cc",
1329 "src/gdb-jit.h",
1330 "src/global-handles.cc",
1331 "src/global-handles.h",
1332 "src/globals.h",
1333 "src/handles-inl.h",
1334 "src/handles.cc",
1335 "src/handles.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001336 "src/heap-symbols.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001337 "src/heap/array-buffer-tracker-inl.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001338 "src/heap/array-buffer-tracker.cc",
1339 "src/heap/array-buffer-tracker.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001340 "src/heap/code-stats.cc",
1341 "src/heap/code-stats.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001342 "src/heap/gc-idle-time-handler.cc",
1343 "src/heap/gc-idle-time-handler.h",
1344 "src/heap/gc-tracer.cc",
1345 "src/heap/gc-tracer.h",
1346 "src/heap/heap-inl.h",
1347 "src/heap/heap.cc",
1348 "src/heap/heap.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001349 "src/heap/incremental-marking-inl.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001350 "src/heap/incremental-marking-job.cc",
1351 "src/heap/incremental-marking-job.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001352 "src/heap/incremental-marking.cc",
1353 "src/heap/incremental-marking.h",
1354 "src/heap/mark-compact-inl.h",
1355 "src/heap/mark-compact.cc",
1356 "src/heap/mark-compact.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001357 "src/heap/marking.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001358 "src/heap/memory-reducer.cc",
1359 "src/heap/memory-reducer.h",
1360 "src/heap/object-stats.cc",
1361 "src/heap/object-stats.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001362 "src/heap/objects-visiting-inl.h",
1363 "src/heap/objects-visiting.cc",
1364 "src/heap/objects-visiting.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001365 "src/heap/page-parallel-job.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001366 "src/heap/remembered-set.cc",
1367 "src/heap/remembered-set.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001368 "src/heap/scavenge-job.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001369 "src/heap/scavenge-job.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001370 "src/heap/scavenger-inl.h",
1371 "src/heap/scavenger.cc",
1372 "src/heap/scavenger.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001373 "src/heap/slot-set.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001374 "src/heap/spaces-inl.h",
1375 "src/heap/spaces.cc",
1376 "src/heap/spaces.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001377 "src/heap/store-buffer.cc",
1378 "src/heap/store-buffer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001379 "src/i18n.cc",
1380 "src/i18n.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001381 "src/ic/access-compiler.cc",
1382 "src/ic/access-compiler.h",
1383 "src/ic/call-optimization.cc",
1384 "src/ic/call-optimization.h",
1385 "src/ic/handler-compiler.cc",
1386 "src/ic/handler-compiler.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001387 "src/ic/handler-configuration.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001388 "src/ic/ic-compiler.cc",
1389 "src/ic/ic-compiler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001390 "src/ic/ic-inl.h",
1391 "src/ic/ic-state.cc",
1392 "src/ic/ic-state.h",
1393 "src/ic/ic.cc",
1394 "src/ic/ic.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001395 "src/ic/stub-cache.cc",
1396 "src/ic/stub-cache.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001397 "src/icu_util.cc",
1398 "src/icu_util.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001399 "src/identity-map.cc",
1400 "src/identity-map.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001401 "src/interface-descriptors.cc",
1402 "src/interface-descriptors.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001403 "src/interpreter/bytecode-array-builder.cc",
1404 "src/interpreter/bytecode-array-builder.h",
1405 "src/interpreter/bytecode-array-iterator.cc",
1406 "src/interpreter/bytecode-array-iterator.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001407 "src/interpreter/bytecode-array-writer.cc",
1408 "src/interpreter/bytecode-array-writer.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001409 "src/interpreter/bytecode-dead-code-optimizer.cc",
1410 "src/interpreter/bytecode-dead-code-optimizer.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001411 "src/interpreter/bytecode-decoder.cc",
1412 "src/interpreter/bytecode-decoder.h",
1413 "src/interpreter/bytecode-flags.cc",
1414 "src/interpreter/bytecode-flags.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001415 "src/interpreter/bytecode-generator.cc",
1416 "src/interpreter/bytecode-generator.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001417 "src/interpreter/bytecode-label.cc",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001418 "src/interpreter/bytecode-label.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001419 "src/interpreter/bytecode-operands.cc",
1420 "src/interpreter/bytecode-operands.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001421 "src/interpreter/bytecode-peephole-optimizer.cc",
1422 "src/interpreter/bytecode-peephole-optimizer.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001423 "src/interpreter/bytecode-peephole-table.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001424 "src/interpreter/bytecode-pipeline.cc",
1425 "src/interpreter/bytecode-pipeline.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001426 "src/interpreter/bytecode-register-allocator.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001427 "src/interpreter/bytecode-register-optimizer.cc",
1428 "src/interpreter/bytecode-register-optimizer.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001429 "src/interpreter/bytecode-register.cc",
1430 "src/interpreter/bytecode-register.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001431 "src/interpreter/bytecode-traits.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001432 "src/interpreter/bytecodes.cc",
1433 "src/interpreter/bytecodes.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001434 "src/interpreter/constant-array-builder.cc",
1435 "src/interpreter/constant-array-builder.h",
1436 "src/interpreter/control-flow-builders.cc",
1437 "src/interpreter/control-flow-builders.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001438 "src/interpreter/handler-table-builder.cc",
1439 "src/interpreter/handler-table-builder.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001440 "src/interpreter/interpreter-assembler.cc",
1441 "src/interpreter/interpreter-assembler.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001442 "src/interpreter/interpreter-intrinsics.cc",
1443 "src/interpreter/interpreter-intrinsics.h",
1444 "src/interpreter/interpreter.cc",
1445 "src/interpreter/interpreter.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001446 "src/isolate-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001447 "src/isolate.cc",
1448 "src/isolate.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001449 "src/json-parser.cc",
Ben Murdoch109988c2016-05-18 11:27:45 +01001450 "src/json-parser.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001451 "src/json-stringifier.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001452 "src/json-stringifier.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001453 "src/keys.cc",
1454 "src/keys.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001455 "src/layout-descriptor-inl.h",
1456 "src/layout-descriptor.cc",
1457 "src/layout-descriptor.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001458 "src/list-inl.h",
1459 "src/list.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001460 "src/locked-queue-inl.h",
1461 "src/locked-queue.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001462 "src/log-inl.h",
1463 "src/log-utils.cc",
1464 "src/log-utils.h",
1465 "src/log.cc",
1466 "src/log.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001467 "src/lookup-cache-inl.h",
1468 "src/lookup-cache.cc",
1469 "src/lookup-cache.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001470 "src/lookup.cc",
1471 "src/lookup.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001472 "src/machine-type.cc",
1473 "src/machine-type.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001474 "src/macro-assembler.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001475 "src/messages.cc",
1476 "src/messages.h",
1477 "src/msan.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001478 "src/objects-body-descriptors-inl.h",
1479 "src/objects-body-descriptors.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001480 "src/objects-debug.cc",
1481 "src/objects-inl.h",
1482 "src/objects-printer.cc",
1483 "src/objects.cc",
1484 "src/objects.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001485 "src/ostreams.cc",
1486 "src/ostreams.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001487 "src/parsing/duplicate-finder.cc",
1488 "src/parsing/duplicate-finder.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001489 "src/parsing/expression-classifier.h",
1490 "src/parsing/func-name-inferrer.cc",
1491 "src/parsing/func-name-inferrer.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001492 "src/parsing/parameter-initializer-rewriter.cc",
1493 "src/parsing/parameter-initializer-rewriter.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001494 "src/parsing/parse-info.cc",
1495 "src/parsing/parse-info.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001496 "src/parsing/parser-base.h",
1497 "src/parsing/parser.cc",
1498 "src/parsing/parser.h",
1499 "src/parsing/pattern-rewriter.cc",
1500 "src/parsing/preparse-data-format.h",
1501 "src/parsing/preparse-data.cc",
1502 "src/parsing/preparse-data.h",
1503 "src/parsing/preparser.cc",
1504 "src/parsing/preparser.h",
1505 "src/parsing/rewriter.cc",
1506 "src/parsing/rewriter.h",
1507 "src/parsing/scanner-character-streams.cc",
1508 "src/parsing/scanner-character-streams.h",
1509 "src/parsing/scanner.cc",
1510 "src/parsing/scanner.h",
1511 "src/parsing/token.cc",
1512 "src/parsing/token.h",
1513 "src/pending-compilation-error-handler.cc",
1514 "src/pending-compilation-error-handler.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001515 "src/perf-jit.cc",
1516 "src/perf-jit.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001517 "src/profiler/allocation-tracker.cc",
1518 "src/profiler/allocation-tracker.h",
1519 "src/profiler/circular-queue-inl.h",
1520 "src/profiler/circular-queue.h",
1521 "src/profiler/cpu-profiler-inl.h",
1522 "src/profiler/cpu-profiler.cc",
1523 "src/profiler/cpu-profiler.h",
1524 "src/profiler/heap-profiler.cc",
1525 "src/profiler/heap-profiler.h",
1526 "src/profiler/heap-snapshot-generator-inl.h",
1527 "src/profiler/heap-snapshot-generator.cc",
1528 "src/profiler/heap-snapshot-generator.h",
1529 "src/profiler/profile-generator-inl.h",
1530 "src/profiler/profile-generator.cc",
1531 "src/profiler/profile-generator.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001532 "src/profiler/profiler-listener.cc",
1533 "src/profiler/profiler-listener.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001534 "src/profiler/sampling-heap-profiler.cc",
1535 "src/profiler/sampling-heap-profiler.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001536 "src/profiler/strings-storage.cc",
1537 "src/profiler/strings-storage.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001538 "src/profiler/tick-sample.cc",
1539 "src/profiler/tick-sample.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001540 "src/profiler/tracing-cpu-profiler.cc",
1541 "src/profiler/tracing-cpu-profiler.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001542 "src/profiler/unbound-queue-inl.h",
1543 "src/profiler/unbound-queue.h",
1544 "src/property-descriptor.cc",
1545 "src/property-descriptor.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001546 "src/property-details.h",
1547 "src/property.cc",
1548 "src/property.h",
1549 "src/prototype.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001550 "src/regexp/bytecodes-irregexp.h",
1551 "src/regexp/interpreter-irregexp.cc",
1552 "src/regexp/interpreter-irregexp.h",
1553 "src/regexp/jsregexp-inl.h",
1554 "src/regexp/jsregexp.cc",
1555 "src/regexp/jsregexp.h",
1556 "src/regexp/regexp-ast.cc",
1557 "src/regexp/regexp-ast.h",
1558 "src/regexp/regexp-macro-assembler-irregexp-inl.h",
1559 "src/regexp/regexp-macro-assembler-irregexp.cc",
1560 "src/regexp/regexp-macro-assembler-irregexp.h",
1561 "src/regexp/regexp-macro-assembler-tracer.cc",
1562 "src/regexp/regexp-macro-assembler-tracer.h",
1563 "src/regexp/regexp-macro-assembler.cc",
1564 "src/regexp/regexp-macro-assembler.h",
1565 "src/regexp/regexp-parser.cc",
1566 "src/regexp/regexp-parser.h",
1567 "src/regexp/regexp-stack.cc",
1568 "src/regexp/regexp-stack.h",
1569 "src/register-configuration.cc",
1570 "src/register-configuration.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001571 "src/runtime-profiler.cc",
1572 "src/runtime-profiler.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001573 "src/runtime/runtime-array.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001574 "src/runtime/runtime-atomics.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001575 "src/runtime/runtime-classes.cc",
1576 "src/runtime/runtime-collections.cc",
1577 "src/runtime/runtime-compiler.cc",
1578 "src/runtime/runtime-date.cc",
1579 "src/runtime/runtime-debug.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001580 "src/runtime/runtime-error.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001581 "src/runtime/runtime-forin.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001582 "src/runtime/runtime-function.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001583 "src/runtime/runtime-futex.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001584 "src/runtime/runtime-generator.cc",
1585 "src/runtime/runtime-i18n.cc",
1586 "src/runtime/runtime-internal.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001587 "src/runtime/runtime-interpreter.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001588 "src/runtime/runtime-literals.cc",
1589 "src/runtime/runtime-liveedit.cc",
1590 "src/runtime/runtime-maths.cc",
1591 "src/runtime/runtime-numbers.cc",
1592 "src/runtime/runtime-object.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001593 "src/runtime/runtime-operators.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001594 "src/runtime/runtime-proxy.cc",
1595 "src/runtime/runtime-regexp.cc",
1596 "src/runtime/runtime-scopes.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001597 "src/runtime/runtime-simd.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001598 "src/runtime/runtime-strings.cc",
1599 "src/runtime/runtime-symbol.cc",
1600 "src/runtime/runtime-test.cc",
1601 "src/runtime/runtime-typedarray.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001602 "src/runtime/runtime-utils.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001603 "src/runtime/runtime-wasm.cc",
Emily Bernier958fae72015-03-24 16:35:39 -04001604 "src/runtime/runtime.cc",
1605 "src/runtime/runtime.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001606 "src/safepoint-table.cc",
1607 "src/safepoint-table.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001608 "src/signature.h",
1609 "src/simulator.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001610 "src/small-pointer-list.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001611 "src/snapshot/code-serializer.cc",
1612 "src/snapshot/code-serializer.h",
1613 "src/snapshot/deserializer.cc",
1614 "src/snapshot/deserializer.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001615 "src/snapshot/natives-common.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001616 "src/snapshot/natives.h",
1617 "src/snapshot/partial-serializer.cc",
1618 "src/snapshot/partial-serializer.h",
1619 "src/snapshot/serializer-common.cc",
1620 "src/snapshot/serializer-common.h",
1621 "src/snapshot/serializer.cc",
1622 "src/snapshot/serializer.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001623 "src/snapshot/snapshot-common.cc",
1624 "src/snapshot/snapshot-source-sink.cc",
1625 "src/snapshot/snapshot-source-sink.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001626 "src/snapshot/snapshot.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001627 "src/snapshot/startup-serializer.cc",
1628 "src/snapshot/startup-serializer.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001629 "src/source-position-table.cc",
1630 "src/source-position-table.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001631 "src/source-position.h",
1632 "src/splay-tree-inl.h",
1633 "src/splay-tree.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001634 "src/startup-data-util.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001635 "src/startup-data-util.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001636 "src/string-builder.cc",
1637 "src/string-builder.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001638 "src/string-search.h",
1639 "src/string-stream.cc",
1640 "src/string-stream.h",
1641 "src/strtod.cc",
1642 "src/strtod.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001643 "src/tracing/trace-event.cc",
1644 "src/tracing/trace-event.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001645 "src/transitions-inl.h",
1646 "src/transitions.cc",
1647 "src/transitions.h",
1648 "src/type-feedback-vector-inl.h",
1649 "src/type-feedback-vector.cc",
1650 "src/type-feedback-vector.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001651 "src/type-hints.cc",
1652 "src/type-hints.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001653 "src/type-info.cc",
1654 "src/type-info.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001655 "src/unicode-cache-inl.h",
1656 "src/unicode-cache.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001657 "src/unicode-decoder.cc",
1658 "src/unicode-decoder.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001659 "src/unicode-inl.h",
1660 "src/unicode.cc",
1661 "src/unicode.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001662 "src/uri.cc",
1663 "src/uri.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01001664 "src/utils-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001665 "src/utils.cc",
1666 "src/utils.h",
1667 "src/v8.cc",
1668 "src/v8.h",
1669 "src/v8memory.h",
1670 "src/v8threads.cc",
1671 "src/v8threads.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001672 "src/value-serializer.cc",
1673 "src/value-serializer.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001674 "src/vector.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001675 "src/version.cc",
1676 "src/version.h",
1677 "src/vm-state-inl.h",
1678 "src/vm-state.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001679 "src/wasm/ast-decoder.cc",
1680 "src/wasm/ast-decoder.h",
1681 "src/wasm/decoder.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001682 "src/wasm/leb-helper.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001683 "src/wasm/module-decoder.cc",
1684 "src/wasm/module-decoder.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001685 "src/wasm/switch-logic.cc",
1686 "src/wasm/switch-logic.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001687 "src/wasm/wasm-debug.cc",
1688 "src/wasm/wasm-debug.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001689 "src/wasm/wasm-external-refs.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001690 "src/wasm/wasm-external-refs.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001691 "src/wasm/wasm-function-name-table.cc",
1692 "src/wasm/wasm-function-name-table.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01001693 "src/wasm/wasm-interpreter.cc",
1694 "src/wasm/wasm-interpreter.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001695 "src/wasm/wasm-js.cc",
1696 "src/wasm/wasm-js.h",
1697 "src/wasm/wasm-macro-gen.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001698 "src/wasm/wasm-module-builder.cc",
1699 "src/wasm/wasm-module-builder.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001700 "src/wasm/wasm-module.cc",
1701 "src/wasm/wasm-module.h",
1702 "src/wasm/wasm-opcodes.cc",
1703 "src/wasm/wasm-opcodes.h",
1704 "src/wasm/wasm-result.cc",
1705 "src/wasm/wasm-result.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001706 "src/zone/accounting-allocator.cc",
1707 "src/zone/accounting-allocator.h",
1708 "src/zone/zone-allocator.h",
1709 "src/zone/zone-allocator.h",
1710 "src/zone/zone-containers.h",
1711 "src/zone/zone-segment.cc",
1712 "src/zone/zone-segment.h",
1713 "src/zone/zone.cc",
1714 "src/zone/zone.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001715 ]
1716
Ben Murdochf91f0612016-11-29 16:50:11 +00001717 if (v8_current_cpu == "x86") {
Ben Murdochf3b273f2017-01-17 12:11:28 +00001718 sources += [ ### gcmole(arch:ia32) ###
Ben Murdochf91f0612016-11-29 16:50:11 +00001719 "src/builtins/ia32/builtins-ia32.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001720 "src/compiler/ia32/code-generator-ia32.cc",
1721 "src/compiler/ia32/instruction-codes-ia32.h",
1722 "src/compiler/ia32/instruction-scheduler-ia32.cc",
1723 "src/compiler/ia32/instruction-selector-ia32.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001724 "src/crankshaft/ia32/lithium-codegen-ia32.cc",
1725 "src/crankshaft/ia32/lithium-codegen-ia32.h",
1726 "src/crankshaft/ia32/lithium-gap-resolver-ia32.cc",
1727 "src/crankshaft/ia32/lithium-gap-resolver-ia32.h",
1728 "src/crankshaft/ia32/lithium-ia32.cc",
1729 "src/crankshaft/ia32/lithium-ia32.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001730 "src/debug/ia32/debug-ia32.cc",
1731 "src/full-codegen/ia32/full-codegen-ia32.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001732 "src/ia32/assembler-ia32-inl.h",
1733 "src/ia32/assembler-ia32.cc",
1734 "src/ia32/assembler-ia32.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001735 "src/ia32/code-stubs-ia32.cc",
1736 "src/ia32/code-stubs-ia32.h",
1737 "src/ia32/codegen-ia32.cc",
1738 "src/ia32/codegen-ia32.h",
1739 "src/ia32/cpu-ia32.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001740 "src/ia32/deoptimizer-ia32.cc",
1741 "src/ia32/disasm-ia32.cc",
1742 "src/ia32/frames-ia32.cc",
1743 "src/ia32/frames-ia32.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001744 "src/ia32/interface-descriptors-ia32.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001745 "src/ia32/macro-assembler-ia32.cc",
1746 "src/ia32/macro-assembler-ia32.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001747 "src/ia32/simulator-ia32.cc",
1748 "src/ia32/simulator-ia32.h",
Emily Bernier958fae72015-03-24 16:35:39 -04001749 "src/ic/ia32/access-compiler-ia32.cc",
1750 "src/ic/ia32/handler-compiler-ia32.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001751 "src/ic/ia32/ic-compiler-ia32.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001752 "src/ic/ia32/ic-ia32.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001753 "src/ic/ia32/stub-cache-ia32.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001754 "src/regexp/ia32/regexp-macro-assembler-ia32.cc",
1755 "src/regexp/ia32/regexp-macro-assembler-ia32.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001756 ]
Ben Murdochf91f0612016-11-29 16:50:11 +00001757 } else if (v8_current_cpu == "x64") {
Ben Murdochf3b273f2017-01-17 12:11:28 +00001758 sources += [ ### gcmole(arch:x64) ###
Ben Murdochf91f0612016-11-29 16:50:11 +00001759 "src/builtins/x64/builtins-x64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001760 "src/compiler/x64/code-generator-x64.cc",
1761 "src/compiler/x64/instruction-codes-x64.h",
1762 "src/compiler/x64/instruction-scheduler-x64.cc",
1763 "src/compiler/x64/instruction-selector-x64.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001764 "src/compiler/x64/unwinding-info-writer-x64.cc",
1765 "src/compiler/x64/unwinding-info-writer-x64.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001766 "src/crankshaft/x64/lithium-codegen-x64.cc",
1767 "src/crankshaft/x64/lithium-codegen-x64.h",
1768 "src/crankshaft/x64/lithium-gap-resolver-x64.cc",
1769 "src/crankshaft/x64/lithium-gap-resolver-x64.h",
1770 "src/crankshaft/x64/lithium-x64.cc",
1771 "src/crankshaft/x64/lithium-x64.h",
1772 "src/debug/x64/debug-x64.cc",
1773 "src/full-codegen/x64/full-codegen-x64.cc",
1774 "src/ic/x64/access-compiler-x64.cc",
1775 "src/ic/x64/handler-compiler-x64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001776 "src/ic/x64/ic-compiler-x64.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001777 "src/ic/x64/ic-x64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001778 "src/ic/x64/stub-cache-x64.cc",
1779 "src/regexp/x64/regexp-macro-assembler-x64.cc",
1780 "src/regexp/x64/regexp-macro-assembler-x64.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001781 "src/third_party/valgrind/valgrind.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001782 "src/x64/assembler-x64-inl.h",
1783 "src/x64/assembler-x64.cc",
1784 "src/x64/assembler-x64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001785 "src/x64/code-stubs-x64.cc",
1786 "src/x64/code-stubs-x64.h",
1787 "src/x64/codegen-x64.cc",
1788 "src/x64/codegen-x64.h",
1789 "src/x64/cpu-x64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001790 "src/x64/deoptimizer-x64.cc",
1791 "src/x64/disasm-x64.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001792 "src/x64/eh-frame-x64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001793 "src/x64/frames-x64.cc",
1794 "src/x64/frames-x64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001795 "src/x64/interface-descriptors-x64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001796 "src/x64/macro-assembler-x64.cc",
1797 "src/x64/macro-assembler-x64.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00001798 "src/x64/simulator-x64.cc",
1799 "src/x64/simulator-x64.h",
1800 "src/x64/sse-instr.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001801 ]
Ben Murdochf91f0612016-11-29 16:50:11 +00001802 } else if (v8_current_cpu == "arm") {
Ben Murdochf3b273f2017-01-17 12:11:28 +00001803 sources += [ ### gcmole(arch:arm) ###
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001804 "src/arm/assembler-arm-inl.h",
1805 "src/arm/assembler-arm.cc",
1806 "src/arm/assembler-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001807 "src/arm/code-stubs-arm.cc",
1808 "src/arm/code-stubs-arm.h",
1809 "src/arm/codegen-arm.cc",
1810 "src/arm/codegen-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001811 "src/arm/constants-arm.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001812 "src/arm/constants-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001813 "src/arm/cpu-arm.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001814 "src/arm/deoptimizer-arm.cc",
1815 "src/arm/disasm-arm.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001816 "src/arm/eh-frame-arm.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001817 "src/arm/frames-arm.cc",
1818 "src/arm/frames-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001819 "src/arm/interface-descriptors-arm.cc",
1820 "src/arm/interface-descriptors-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001821 "src/arm/macro-assembler-arm.cc",
1822 "src/arm/macro-assembler-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001823 "src/arm/simulator-arm.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001824 "src/arm/simulator-arm.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001825 "src/builtins/arm/builtins-arm.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001826 "src/compiler/arm/code-generator-arm.cc",
1827 "src/compiler/arm/instruction-codes-arm.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001828 "src/compiler/arm/instruction-scheduler-arm.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001829 "src/compiler/arm/instruction-selector-arm.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001830 "src/compiler/arm/unwinding-info-writer-arm.cc",
1831 "src/compiler/arm/unwinding-info-writer-arm.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001832 "src/crankshaft/arm/lithium-arm.cc",
1833 "src/crankshaft/arm/lithium-arm.h",
1834 "src/crankshaft/arm/lithium-codegen-arm.cc",
1835 "src/crankshaft/arm/lithium-codegen-arm.h",
1836 "src/crankshaft/arm/lithium-gap-resolver-arm.cc",
1837 "src/crankshaft/arm/lithium-gap-resolver-arm.h",
1838 "src/debug/arm/debug-arm.cc",
1839 "src/full-codegen/arm/full-codegen-arm.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001840 "src/ic/arm/access-compiler-arm.cc",
1841 "src/ic/arm/handler-compiler-arm.cc",
1842 "src/ic/arm/ic-arm.cc",
1843 "src/ic/arm/ic-compiler-arm.cc",
1844 "src/ic/arm/stub-cache-arm.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001845 "src/regexp/arm/regexp-macro-assembler-arm.cc",
1846 "src/regexp/arm/regexp-macro-assembler-arm.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001847 ]
Ben Murdochf91f0612016-11-29 16:50:11 +00001848 } else if (v8_current_cpu == "arm64") {
Ben Murdochf3b273f2017-01-17 12:11:28 +00001849 sources += [ ### gcmole(arch:arm64) ###
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001850 "src/arm64/assembler-arm64-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001851 "src/arm64/assembler-arm64.cc",
1852 "src/arm64/assembler-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001853 "src/arm64/code-stubs-arm64.cc",
1854 "src/arm64/code-stubs-arm64.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001855 "src/arm64/codegen-arm64.cc",
1856 "src/arm64/codegen-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001857 "src/arm64/constants-arm64.h",
1858 "src/arm64/cpu-arm64.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001859 "src/arm64/decoder-arm64-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001860 "src/arm64/decoder-arm64.cc",
1861 "src/arm64/decoder-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001862 "src/arm64/deoptimizer-arm64.cc",
1863 "src/arm64/disasm-arm64.cc",
1864 "src/arm64/disasm-arm64.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001865 "src/arm64/eh-frame-arm64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001866 "src/arm64/frames-arm64.cc",
1867 "src/arm64/frames-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001868 "src/arm64/instructions-arm64.cc",
1869 "src/arm64/instructions-arm64.h",
1870 "src/arm64/instrument-arm64.cc",
1871 "src/arm64/instrument-arm64.h",
1872 "src/arm64/interface-descriptors-arm64.cc",
1873 "src/arm64/interface-descriptors-arm64.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001874 "src/arm64/macro-assembler-arm64-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001875 "src/arm64/macro-assembler-arm64.cc",
1876 "src/arm64/macro-assembler-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001877 "src/arm64/simulator-arm64.cc",
1878 "src/arm64/simulator-arm64.h",
1879 "src/arm64/utils-arm64.cc",
1880 "src/arm64/utils-arm64.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00001881 "src/builtins/arm64/builtins-arm64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001882 "src/compiler/arm64/code-generator-arm64.cc",
1883 "src/compiler/arm64/instruction-codes-arm64.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001884 "src/compiler/arm64/instruction-scheduler-arm64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001885 "src/compiler/arm64/instruction-selector-arm64.cc",
Ben Murdochf91f0612016-11-29 16:50:11 +00001886 "src/compiler/arm64/unwinding-info-writer-arm64.cc",
1887 "src/compiler/arm64/unwinding-info-writer-arm64.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001888 "src/crankshaft/arm64/delayed-masm-arm64-inl.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001889 "src/crankshaft/arm64/delayed-masm-arm64.cc",
1890 "src/crankshaft/arm64/delayed-masm-arm64.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00001891 "src/crankshaft/arm64/lithium-arm64.cc",
1892 "src/crankshaft/arm64/lithium-arm64.h",
1893 "src/crankshaft/arm64/lithium-codegen-arm64.cc",
1894 "src/crankshaft/arm64/lithium-codegen-arm64.h",
1895 "src/crankshaft/arm64/lithium-gap-resolver-arm64.cc",
1896 "src/crankshaft/arm64/lithium-gap-resolver-arm64.h",
1897 "src/debug/arm64/debug-arm64.cc",
1898 "src/full-codegen/arm64/full-codegen-arm64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001899 "src/ic/arm64/access-compiler-arm64.cc",
1900 "src/ic/arm64/handler-compiler-arm64.cc",
1901 "src/ic/arm64/ic-arm64.cc",
1902 "src/ic/arm64/ic-compiler-arm64.cc",
1903 "src/ic/arm64/stub-cache-arm64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001904 "src/regexp/arm64/regexp-macro-assembler-arm64.cc",
1905 "src/regexp/arm64/regexp-macro-assembler-arm64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001906 ]
Ben Murdochf3b273f2017-01-17 12:11:28 +00001907 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") {
1908 sources += [ ### gcmole(arch:mipsel) ###
Ben Murdochf91f0612016-11-29 16:50:11 +00001909 "src/builtins/mips/builtins-mips.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001910 "src/compiler/mips/code-generator-mips.cc",
1911 "src/compiler/mips/instruction-codes-mips.h",
1912 "src/compiler/mips/instruction-scheduler-mips.cc",
1913 "src/compiler/mips/instruction-selector-mips.cc",
1914 "src/crankshaft/mips/lithium-codegen-mips.cc",
1915 "src/crankshaft/mips/lithium-codegen-mips.h",
1916 "src/crankshaft/mips/lithium-gap-resolver-mips.cc",
1917 "src/crankshaft/mips/lithium-gap-resolver-mips.h",
1918 "src/crankshaft/mips/lithium-mips.cc",
1919 "src/crankshaft/mips/lithium-mips.h",
1920 "src/debug/mips/debug-mips.cc",
1921 "src/full-codegen/mips/full-codegen-mips.cc",
1922 "src/ic/mips/access-compiler-mips.cc",
1923 "src/ic/mips/handler-compiler-mips.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001924 "src/ic/mips/ic-compiler-mips.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001925 "src/ic/mips/ic-mips.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001926 "src/ic/mips/stub-cache-mips.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001927 "src/mips/assembler-mips-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001928 "src/mips/assembler-mips.cc",
1929 "src/mips/assembler-mips.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001930 "src/mips/code-stubs-mips.cc",
1931 "src/mips/code-stubs-mips.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001932 "src/mips/codegen-mips.cc",
1933 "src/mips/codegen-mips.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001934 "src/mips/constants-mips.cc",
1935 "src/mips/constants-mips.h",
1936 "src/mips/cpu-mips.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001937 "src/mips/deoptimizer-mips.cc",
1938 "src/mips/disasm-mips.cc",
1939 "src/mips/frames-mips.cc",
1940 "src/mips/frames-mips.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001941 "src/mips/interface-descriptors-mips.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001942 "src/mips/macro-assembler-mips.cc",
1943 "src/mips/macro-assembler-mips.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001944 "src/mips/simulator-mips.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001945 "src/mips/simulator-mips.h",
1946 "src/regexp/mips/regexp-macro-assembler-mips.cc",
1947 "src/regexp/mips/regexp-macro-assembler-mips.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001948 ]
Ben Murdochf3b273f2017-01-17 12:11:28 +00001949 } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") {
1950 sources += [ ### gcmole(arch:mips64el) ###
Ben Murdochf91f0612016-11-29 16:50:11 +00001951 "src/builtins/mips64/builtins-mips64.cc",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01001952 "src/compiler/mips64/code-generator-mips64.cc",
1953 "src/compiler/mips64/instruction-codes-mips64.h",
1954 "src/compiler/mips64/instruction-scheduler-mips64.cc",
1955 "src/compiler/mips64/instruction-selector-mips64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001956 "src/crankshaft/mips64/lithium-codegen-mips64.cc",
1957 "src/crankshaft/mips64/lithium-codegen-mips64.h",
1958 "src/crankshaft/mips64/lithium-gap-resolver-mips64.cc",
1959 "src/crankshaft/mips64/lithium-gap-resolver-mips64.h",
1960 "src/crankshaft/mips64/lithium-mips64.cc",
1961 "src/crankshaft/mips64/lithium-mips64.h",
1962 "src/debug/mips64/debug-mips64.cc",
1963 "src/full-codegen/mips64/full-codegen-mips64.cc",
1964 "src/ic/mips64/access-compiler-mips64.cc",
1965 "src/ic/mips64/handler-compiler-mips64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001966 "src/ic/mips64/ic-compiler-mips64.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001967 "src/ic/mips64/ic-mips64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001968 "src/ic/mips64/stub-cache-mips64.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001969 "src/mips64/assembler-mips64-inl.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001970 "src/mips64/assembler-mips64.cc",
1971 "src/mips64/assembler-mips64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001972 "src/mips64/code-stubs-mips64.cc",
1973 "src/mips64/code-stubs-mips64.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01001974 "src/mips64/codegen-mips64.cc",
1975 "src/mips64/codegen-mips64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001976 "src/mips64/constants-mips64.cc",
1977 "src/mips64/constants-mips64.h",
1978 "src/mips64/cpu-mips64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001979 "src/mips64/deoptimizer-mips64.cc",
1980 "src/mips64/disasm-mips64.cc",
1981 "src/mips64/frames-mips64.cc",
1982 "src/mips64/frames-mips64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001983 "src/mips64/interface-descriptors-mips64.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001984 "src/mips64/macro-assembler-mips64.cc",
1985 "src/mips64/macro-assembler-mips64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001986 "src/mips64/simulator-mips64.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00001987 "src/mips64/simulator-mips64.h",
1988 "src/regexp/mips64/regexp-macro-assembler-mips64.cc",
1989 "src/regexp/mips64/regexp-macro-assembler-mips64.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001990 ]
Ben Murdochf3b273f2017-01-17 12:11:28 +00001991 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
1992 sources += [ ### gcmole(arch:ppc) ###
1993 "src/builtins/ppc/builtins-ppc.cc",
1994 "src/compiler/ppc/code-generator-ppc.cc",
1995 "src/compiler/ppc/instruction-codes-ppc.h",
1996 "src/compiler/ppc/instruction-scheduler-ppc.cc",
1997 "src/compiler/ppc/instruction-selector-ppc.cc",
1998 "src/crankshaft/ppc/lithium-codegen-ppc.cc",
1999 "src/crankshaft/ppc/lithium-codegen-ppc.h",
2000 "src/crankshaft/ppc/lithium-gap-resolver-ppc.cc",
2001 "src/crankshaft/ppc/lithium-gap-resolver-ppc.h",
2002 "src/crankshaft/ppc/lithium-ppc.cc",
2003 "src/crankshaft/ppc/lithium-ppc.h",
2004 "src/debug/ppc/debug-ppc.cc",
2005 "src/full-codegen/ppc/full-codegen-ppc.cc",
2006 "src/ic/ppc/access-compiler-ppc.cc",
2007 "src/ic/ppc/handler-compiler-ppc.cc",
2008 "src/ic/ppc/ic-compiler-ppc.cc",
2009 "src/ic/ppc/ic-ppc.cc",
2010 "src/ic/ppc/stub-cache-ppc.cc",
2011 "src/ppc/assembler-ppc-inl.h",
2012 "src/ppc/assembler-ppc.cc",
2013 "src/ppc/assembler-ppc.h",
2014 "src/ppc/code-stubs-ppc.cc",
2015 "src/ppc/code-stubs-ppc.h",
2016 "src/ppc/codegen-ppc.cc",
2017 "src/ppc/codegen-ppc.h",
2018 "src/ppc/constants-ppc.cc",
2019 "src/ppc/constants-ppc.h",
2020 "src/ppc/cpu-ppc.cc",
2021 "src/ppc/deoptimizer-ppc.cc",
2022 "src/ppc/disasm-ppc.cc",
2023 "src/ppc/frames-ppc.cc",
2024 "src/ppc/frames-ppc.h",
2025 "src/ppc/interface-descriptors-ppc.cc",
2026 "src/ppc/macro-assembler-ppc.cc",
2027 "src/ppc/macro-assembler-ppc.h",
2028 "src/ppc/simulator-ppc.cc",
2029 "src/ppc/simulator-ppc.h",
2030 "src/regexp/ppc/regexp-macro-assembler-ppc.cc",
2031 "src/regexp/ppc/regexp-macro-assembler-ppc.h",
2032 ]
Ben Murdochf91f0612016-11-29 16:50:11 +00002033 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
Ben Murdochf3b273f2017-01-17 12:11:28 +00002034 sources += [ ### gcmole(arch:s390) ###
Ben Murdochf91f0612016-11-29 16:50:11 +00002035 "src/builtins/s390/builtins-s390.cc",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002036 "src/compiler/s390/code-generator-s390.cc",
2037 "src/compiler/s390/instruction-codes-s390.h",
2038 "src/compiler/s390/instruction-scheduler-s390.cc",
2039 "src/compiler/s390/instruction-selector-s390.cc",
2040 "src/crankshaft/s390/lithium-codegen-s390.cc",
2041 "src/crankshaft/s390/lithium-codegen-s390.h",
2042 "src/crankshaft/s390/lithium-gap-resolver-s390.cc",
2043 "src/crankshaft/s390/lithium-gap-resolver-s390.h",
2044 "src/crankshaft/s390/lithium-s390.cc",
2045 "src/crankshaft/s390/lithium-s390.h",
2046 "src/debug/s390/debug-s390.cc",
2047 "src/full-codegen/s390/full-codegen-s390.cc",
2048 "src/ic/s390/access-compiler-s390.cc",
2049 "src/ic/s390/handler-compiler-s390.cc",
2050 "src/ic/s390/ic-compiler-s390.cc",
2051 "src/ic/s390/ic-s390.cc",
2052 "src/ic/s390/stub-cache-s390.cc",
2053 "src/regexp/s390/regexp-macro-assembler-s390.cc",
2054 "src/regexp/s390/regexp-macro-assembler-s390.h",
2055 "src/s390/assembler-s390-inl.h",
2056 "src/s390/assembler-s390.cc",
2057 "src/s390/assembler-s390.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002058 "src/s390/code-stubs-s390.cc",
2059 "src/s390/code-stubs-s390.h",
2060 "src/s390/codegen-s390.cc",
2061 "src/s390/codegen-s390.h",
2062 "src/s390/constants-s390.cc",
2063 "src/s390/constants-s390.h",
2064 "src/s390/cpu-s390.cc",
2065 "src/s390/deoptimizer-s390.cc",
2066 "src/s390/disasm-s390.cc",
2067 "src/s390/frames-s390.cc",
2068 "src/s390/frames-s390.h",
2069 "src/s390/interface-descriptors-s390.cc",
2070 "src/s390/macro-assembler-s390.cc",
2071 "src/s390/macro-assembler-s390.h",
2072 "src/s390/simulator-s390.cc",
2073 "src/s390/simulator-s390.h",
2074 ]
Ben Murdochf3b273f2017-01-17 12:11:28 +00002075 } else if (v8_current_cpu == "x87") {
2076 sources += [ ### gcmole(arch:x87) ###
2077 "src/builtins/x87/builtins-x87.cc",
2078 "src/compiler/x87/code-generator-x87.cc",
2079 "src/compiler/x87/instruction-codes-x87.h",
2080 "src/compiler/x87/instruction-scheduler-x87.cc",
2081 "src/compiler/x87/instruction-selector-x87.cc",
2082 "src/crankshaft/x87/lithium-codegen-x87.cc",
2083 "src/crankshaft/x87/lithium-codegen-x87.h",
2084 "src/crankshaft/x87/lithium-gap-resolver-x87.cc",
2085 "src/crankshaft/x87/lithium-gap-resolver-x87.h",
2086 "src/crankshaft/x87/lithium-x87.cc",
2087 "src/crankshaft/x87/lithium-x87.h",
2088 "src/debug/x87/debug-x87.cc",
2089 "src/full-codegen/x87/full-codegen-x87.cc",
2090 "src/ic/x87/access-compiler-x87.cc",
2091 "src/ic/x87/handler-compiler-x87.cc",
2092 "src/ic/x87/ic-compiler-x87.cc",
2093 "src/ic/x87/ic-x87.cc",
2094 "src/ic/x87/stub-cache-x87.cc",
2095 "src/regexp/x87/regexp-macro-assembler-x87.cc",
2096 "src/regexp/x87/regexp-macro-assembler-x87.h",
2097 "src/x87/assembler-x87-inl.h",
2098 "src/x87/assembler-x87.cc",
2099 "src/x87/assembler-x87.h",
2100 "src/x87/code-stubs-x87.cc",
2101 "src/x87/code-stubs-x87.h",
2102 "src/x87/codegen-x87.cc",
2103 "src/x87/codegen-x87.h",
2104 "src/x87/cpu-x87.cc",
2105 "src/x87/deoptimizer-x87.cc",
2106 "src/x87/disasm-x87.cc",
2107 "src/x87/frames-x87.cc",
2108 "src/x87/frames-x87.h",
2109 "src/x87/interface-descriptors-x87.cc",
2110 "src/x87/macro-assembler-x87.cc",
2111 "src/x87/macro-assembler-x87.h",
2112 "src/x87/simulator-x87.cc",
2113 "src/x87/simulator-x87.h",
2114 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002115 }
2116
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002117 configs = [ ":internal_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002118
2119 defines = []
Ben Murdoch014dc512016-03-22 12:00:34 +00002120 deps = [
2121 ":v8_libbase",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002122 ":v8_libsampler",
Ben Murdoch014dc512016-03-22 12:00:34 +00002123 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002124
Ben Murdochf91f0612016-11-29 16:50:11 +00002125 sources += [ v8_generated_peephole_source ]
2126 deps += [ ":run_mkpeephole" ]
2127
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002128 if (is_win) {
2129 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2130 cflags = [ "/wd4267" ]
2131 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002132
2133 if (v8_enable_i18n_support) {
2134 deps += [ "//third_party/icu" ]
2135 if (is_win) {
2136 deps += [ "//third_party/icu:icudata" ]
2137 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002138 } else {
2139 sources -= [
2140 "src/i18n.cc",
2141 "src/i18n.h",
2142 ]
2143 }
2144
2145 if (v8_postmortem_support) {
2146 sources += [ "$target_gen_dir/debug-support.cc" ]
2147 deps += [ ":postmortem-metadata" ]
2148 }
Ben Murdochf3b273f2017-01-17 12:11:28 +00002149
2150 if (v8_enable_inspector_override) {
2151 deps += [ "src/inspector:inspector" ]
2152 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002153}
2154
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002155v8_source_set("v8_libbase") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002156 visibility = [ ":*" ] # Only targets in this file can depend on this.
2157
2158 sources = [
Ben Murdoch014dc512016-03-22 12:00:34 +00002159 "src/base/adapters.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002160 "src/base/atomic-utils.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002161 "src/base/atomicops.h",
2162 "src/base/atomicops_internals_arm64_gcc.h",
2163 "src/base/atomicops_internals_arm_gcc.h",
2164 "src/base/atomicops_internals_atomicword_compat.h",
2165 "src/base/atomicops_internals_mac.h",
Ben Murdoch014dc512016-03-22 12:00:34 +00002166 "src/base/atomicops_internals_mips64_gcc.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002167 "src/base/atomicops_internals_mips_gcc.h",
Ben Murdoch109988c2016-05-18 11:27:45 +01002168 "src/base/atomicops_internals_s390_gcc.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002169 "src/base/atomicops_internals_tsan.h",
2170 "src/base/atomicops_internals_x86_gcc.cc",
2171 "src/base/atomicops_internals_x86_gcc.h",
2172 "src/base/atomicops_internals_x86_msvc.h",
2173 "src/base/bits.cc",
2174 "src/base/bits.h",
2175 "src/base/build_config.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00002176 "src/base/compiler-specific.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002177 "src/base/cpu.cc",
2178 "src/base/cpu.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002179 "src/base/debug/stack_trace.cc",
2180 "src/base/debug/stack_trace.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002181 "src/base/division-by-constant.cc",
2182 "src/base/division-by-constant.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002183 "src/base/file-utils.cc",
2184 "src/base/file-utils.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002185 "src/base/flags.h",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002186 "src/base/format-macros.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002187 "src/base/free_deleter.h",
Emily Bernier958fae72015-03-24 16:35:39 -04002188 "src/base/functional.cc",
2189 "src/base/functional.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00002190 "src/base/hashmap-entry.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002191 "src/base/hashmap.h",
2192 "src/base/ieee754.cc",
2193 "src/base/ieee754.h",
Emily Bernier958fae72015-03-24 16:35:39 -04002194 "src/base/iterator.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002195 "src/base/lazy-instance.h",
2196 "src/base/logging.cc",
2197 "src/base/logging.h",
2198 "src/base/macros.h",
2199 "src/base/once.cc",
2200 "src/base/once.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002201 "src/base/platform/condition-variable.cc",
2202 "src/base/platform/condition-variable.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002203 "src/base/platform/elapsed-timer.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002204 "src/base/platform/mutex.cc",
2205 "src/base/platform/mutex.h",
2206 "src/base/platform/platform.h",
2207 "src/base/platform/semaphore.cc",
2208 "src/base/platform/semaphore.h",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002209 "src/base/platform/time.cc",
2210 "src/base/platform/time.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002211 "src/base/safe_conversions.h",
2212 "src/base/safe_conversions_impl.h",
2213 "src/base/safe_math.h",
2214 "src/base/safe_math_impl.h",
2215 "src/base/sys-info.cc",
2216 "src/base/sys-info.h",
2217 "src/base/utils/random-number-generator.cc",
2218 "src/base/utils/random-number-generator.h",
2219 ]
2220
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002221 configs = [ ":internal_config_base" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002222
2223 defines = []
2224
2225 if (is_posix) {
Ben Murdoch014dc512016-03-22 12:00:34 +00002226 sources += [ "src/base/platform/platform-posix.cc" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002227 }
2228
2229 if (is_linux) {
Ben Murdochf91f0612016-11-29 16:50:11 +00002230 sources += [
2231 "src/base/debug/stack_trace_posix.cc",
2232 "src/base/platform/platform-linux.cc",
2233 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002234
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002235 libs = [
2236 "dl",
2237 "rt",
2238 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002239 } else if (is_android) {
Ben Murdoch014dc512016-03-22 12:00:34 +00002240 if (current_toolchain == host_toolchain) {
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002241 libs = [
2242 "dl",
2243 "rt",
2244 ]
Ben Murdoch014dc512016-03-22 12:00:34 +00002245 if (host_os == "mac") {
Ben Murdochf91f0612016-11-29 16:50:11 +00002246 sources += [
2247 "src/base/debug/stack_trace_posix.cc",
2248 "src/base/platform/platform-macos.cc",
2249 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002250 } else {
Ben Murdochf91f0612016-11-29 16:50:11 +00002251 sources += [
2252 "src/base/debug/stack_trace_posix.cc",
2253 "src/base/platform/platform-linux.cc",
2254 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002255 }
2256 } else {
Ben Murdochf91f0612016-11-29 16:50:11 +00002257 sources += [
2258 "src/base/debug/stack_trace_android.cc",
2259 "src/base/platform/platform-linux.cc",
2260 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002261 }
2262 } else if (is_mac) {
Ben Murdochf91f0612016-11-29 16:50:11 +00002263 sources += [
2264 "src/base/debug/stack_trace_posix.cc",
2265 "src/base/platform/platform-macos.cc",
2266 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002267 } else if (is_win) {
2268 # TODO(jochen): Add support for cygwin.
2269 sources += [
Ben Murdochf91f0612016-11-29 16:50:11 +00002270 "src/base/debug/stack_trace_win.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002271 "src/base/platform/platform-win32.cc",
2272 "src/base/win32-headers.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002273 ]
2274
2275 defines += [ "_CRT_RAND_S" ] # for rand_s()
2276
Ben Murdoch014dc512016-03-22 12:00:34 +00002277 libs = [
Ben Murdochf91f0612016-11-29 16:50:11 +00002278 "dbghelp.lib",
2279 "shlwapi.lib",
Ben Murdoch014dc512016-03-22 12:00:34 +00002280 "winmm.lib",
2281 "ws2_32.lib",
2282 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002283 }
2284
2285 # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris.
2286}
2287
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002288v8_source_set("v8_libplatform") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002289 sources = [
Ben Murdochf91f0612016-11-29 16:50:11 +00002290 "//base/trace_event/common/trace_event_common.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002291 "include/libplatform/libplatform.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002292 "include/libplatform/v8-tracing.h",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002293 "src/libplatform/default-platform.cc",
2294 "src/libplatform/default-platform.h",
2295 "src/libplatform/task-queue.cc",
2296 "src/libplatform/task-queue.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002297 "src/libplatform/tracing/trace-buffer.cc",
2298 "src/libplatform/tracing/trace-buffer.h",
2299 "src/libplatform/tracing/trace-config.cc",
2300 "src/libplatform/tracing/trace-object.cc",
2301 "src/libplatform/tracing/trace-writer.cc",
2302 "src/libplatform/tracing/trace-writer.h",
2303 "src/libplatform/tracing/tracing-controller.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002304 "src/libplatform/worker-thread.cc",
2305 "src/libplatform/worker-thread.h",
2306 ]
2307
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002308 configs = [ ":internal_config_base" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002309
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002310 public_configs = [ ":libplatform_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002311
2312 deps = [
2313 ":v8_libbase",
2314 ]
2315}
2316
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002317v8_source_set("v8_libsampler") {
2318 sources = [
Ben Murdochf91f0612016-11-29 16:50:11 +00002319 "src/libsampler/sampler.cc",
2320 "src/libsampler/sampler.h",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002321 ]
2322
2323 configs = [ ":internal_config_base" ]
2324
2325 public_configs = [ ":libsampler_config" ]
2326
2327 deps = [
2328 ":v8_libbase",
2329 ]
2330}
2331
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002332v8_source_set("fuzzer_support") {
Ben Murdoch109988c2016-05-18 11:27:45 +01002333 visibility = [ ":*" ] # Only targets in this file can depend on this.
2334
2335 sources = [
2336 "test/fuzzer/fuzzer-support.cc",
2337 "test/fuzzer/fuzzer-support.h",
2338 ]
2339
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002340 configs = [ ":internal_config_base" ]
Ben Murdoch109988c2016-05-18 11:27:45 +01002341
2342 deps = [
Ben Murdochf3b273f2017-01-17 12:11:28 +00002343 ":v8",
2344 ]
2345
2346 public_deps = [
2347 ":v8_libplatform",
2348 ]
2349}
2350
2351# Used by fuzzers that would require exposing too many symbols for a proper
2352# component build.
2353v8_source_set("fuzzer_support_nocomponent") {
2354 visibility = [ ":*" ] # Only targets in this file can depend on this.
2355
2356 sources = [
2357 "test/fuzzer/fuzzer-support.cc",
2358 "test/fuzzer/fuzzer-support.h",
2359 ]
2360
2361 configs = [ ":internal_config_base" ]
2362
2363 deps = [
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002364 ":v8_maybe_snapshot",
Ben Murdoch109988c2016-05-18 11:27:45 +01002365 ]
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002366
2367 public_deps = [
2368 ":v8_libplatform",
2369 ]
Ben Murdoch109988c2016-05-18 11:27:45 +01002370}
2371
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002372v8_source_set("simple_fuzzer") {
2373 sources = [
2374 "test/fuzzer/fuzzer.cc",
2375 ]
2376
2377 configs = [ ":internal_config_base" ]
2378}
2379
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002380###############################################################################
2381# Executables
2382#
2383
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002384if (current_toolchain == v8_snapshot_toolchain) {
2385 v8_executable("mksnapshot") {
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002386 visibility = [ ":*" ] # Only targets in this file can depend on this.
2387
2388 sources = [
Ben Murdoch014dc512016-03-22 12:00:34 +00002389 "src/snapshot/mksnapshot.cc",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002390 ]
2391
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002392 configs = [ ":internal_config" ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002393
2394 deps = [
2395 ":v8_base",
2396 ":v8_libplatform",
2397 ":v8_nosnapshot",
Emily Bernier958fae72015-03-24 16:35:39 -04002398 "//build/config/sanitizers:deps",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002399 "//build/win:default_exe_manifest",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002400 ]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002401 }
2402}
2403
Ben Murdochf91f0612016-11-29 16:50:11 +00002404v8_executable("mkpeephole") {
2405 # mkpeephole needs to be built for the build host so the peephole lookup
2406 # table can built during build. The table depends on the properties of
2407 # bytecodes that are described in bytecodes.{cc,h}.
2408 visibility = [ ":*" ] # Only targets in this file can depend on this.
2409
2410 sources = [
Ben Murdochf3b273f2017-01-17 12:11:28 +00002411 "src/interpreter/bytecode-operands.cc",
2412 "src/interpreter/bytecode-operands.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002413 "src/interpreter/bytecode-peephole-optimizer.h",
Ben Murdochf3b273f2017-01-17 12:11:28 +00002414 "src/interpreter/bytecode-traits.h",
Ben Murdochf91f0612016-11-29 16:50:11 +00002415 "src/interpreter/bytecodes.cc",
2416 "src/interpreter/bytecodes.h",
2417 "src/interpreter/mkpeephole.cc",
2418 ]
2419
2420 configs = [
2421 ":external_config",
2422 ":internal_config",
2423 ]
2424
2425 deps = [
2426 ":v8_libbase",
2427 "//build/config/sanitizers:deps",
2428 "//build/win:default_exe_manifest",
2429 ]
2430}
2431
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002432###############################################################################
2433# Public targets
2434#
2435
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002436want_v8_shell =
2437 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") ||
2438 (current_toolchain == v8_snapshot_toolchain &&
2439 v8_toolset_for_shell == "host") ||
2440 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")
2441
2442group("gn_all") {
2443 testonly = true
2444
2445 deps = [
2446 ":d8",
2447 ":v8_hello_world",
2448 ":v8_parser_shell",
2449 ":v8_sample_process",
2450 ":v8_simple_json_fuzzer",
2451 ":v8_simple_parser_fuzzer",
2452 ":v8_simple_regexp_fuzzer",
2453 ":v8_simple_wasm_asmjs_fuzzer",
2454 ":v8_simple_wasm_fuzzer",
2455 "test:gn_all",
2456 "tools:gn_all",
2457 ]
2458
2459 if (want_v8_shell) {
2460 deps += [ ":v8_shell" ]
2461 }
2462
2463 if (v8_test_isolation_mode != "noop") {
2464 deps += [ ":d8_run" ]
2465 }
2466}
2467
Ben Murdoch014dc512016-03-22 12:00:34 +00002468if (is_component_build) {
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002469 v8_component("v8") {
Ben Murdoch014dc512016-03-22 12:00:34 +00002470 sources = [
2471 "src/v8dll-main.cc",
2472 ]
2473
Ben Murdochf91f0612016-11-29 16:50:11 +00002474 deps = [
2475 ":v8_dump_build_config",
2476 ]
2477
Ben Murdoch014dc512016-03-22 12:00:34 +00002478 public_deps = [
2479 ":v8_base",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002480 ":v8_maybe_snapshot",
Ben Murdoch014dc512016-03-22 12:00:34 +00002481 ]
2482
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002483 configs = [ ":internal_config" ]
Ben Murdoch014dc512016-03-22 12:00:34 +00002484
2485 public_configs = [ ":external_config" ]
Ben Murdoch014dc512016-03-22 12:00:34 +00002486 }
2487} else {
2488 group("v8") {
Ben Murdochf91f0612016-11-29 16:50:11 +00002489 deps = [
2490 ":v8_dump_build_config",
2491 ]
2492
Ben Murdoch014dc512016-03-22 12:00:34 +00002493 public_deps = [
2494 ":v8_base",
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002495 ":v8_maybe_snapshot",
Ben Murdoch014dc512016-03-22 12:00:34 +00002496 ]
2497 public_configs = [ ":external_config" ]
2498 }
2499}
2500
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002501v8_executable("d8") {
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002502 sources = [
Ben Murdochf3b273f2017-01-17 12:11:28 +00002503 "$target_gen_dir/d8-js.cc",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002504 "src/d8.cc",
2505 "src/d8.h",
2506 ]
2507
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002508 configs = [
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002509 # Note: don't use :internal_config here because this target will get
2510 # the :external_config applied to it by virtue of depending on :v8, and
2511 # you can't have both applied to the same target.
2512 ":internal_config_base",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002513 ]
2514
2515 deps = [
2516 ":d8_js2c",
2517 ":v8",
2518 ":v8_libplatform",
2519 "//build/config/sanitizers:deps",
2520 "//build/win:default_exe_manifest",
2521 ]
2522
2523 # TODO(jochen): Add support for vtunejit.
2524
2525 if (is_posix) {
2526 sources += [ "src/d8-posix.cc" ]
2527 } else if (is_win) {
2528 sources += [ "src/d8-windows.cc" ]
2529 }
2530
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002531 if (v8_enable_i18n_support) {
2532 deps += [ "//third_party/icu" ]
2533 }
2534}
2535
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002536v8_isolate_run("d8") {
2537 deps = [
2538 ":d8",
2539 ]
2540
2541 isolate = "//src/d8.isolate"
2542}
2543
2544v8_executable("v8_hello_world") {
2545 sources = [
2546 "samples/hello-world.cc",
2547 ]
2548
2549 configs = [
2550 # Note: don't use :internal_config here because this target will get
2551 # the :external_config applied to it by virtue of depending on :v8, and
2552 # you can't have both applied to the same target.
2553 ":internal_config_base",
2554 ]
2555
2556 deps = [
2557 ":v8",
2558 ":v8_libplatform",
2559 "//build/config/sanitizers:deps",
2560 "//build/win:default_exe_manifest",
2561 ]
2562
2563 if (v8_enable_i18n_support) {
2564 deps += [ "//third_party/icu" ]
2565 }
2566}
2567
2568v8_executable("v8_sample_process") {
2569 sources = [
2570 "samples/process.cc",
2571 ]
2572
2573 configs = [
2574 # Note: don't use :internal_config here because this target will get
2575 # the :external_config applied to it by virtue of depending on :v8, and
2576 # you can't have both applied to the same target.
2577 ":internal_config_base",
2578 ]
2579
2580 deps = [
2581 ":v8",
2582 ":v8_libplatform",
2583 "//build/config/sanitizers:deps",
2584 "//build/win:default_exe_manifest",
2585 ]
2586
2587 if (v8_enable_i18n_support) {
2588 deps += [ "//third_party/icu" ]
2589 }
2590}
2591
2592v8_executable("v8_parser_shell") {
2593 sources = [
2594 "tools/parser-shell.cc",
2595 "tools/shell-utils.h",
2596 ]
2597
2598 configs = [
2599 ":external_config",
2600 ":internal_config_base",
2601 ]
2602
2603 deps = [
2604 ":v8_libplatform",
2605 "//build/config/sanitizers:deps",
2606 "//build/win:default_exe_manifest",
2607 ]
2608
2609 if (is_component_build) {
2610 # v8_parser_shell can't be built against a shared library, so we
2611 # need to depend on the underlying static target in that case.
2612 deps += [ ":v8_maybe_snapshot" ]
2613 } else {
2614 deps += [ ":v8" ]
2615 }
2616
2617 if (v8_enable_i18n_support) {
2618 deps += [ "//third_party/icu" ]
2619 }
Ben Murdochf91f0612016-11-29 16:50:11 +00002620
2621 if (is_win) {
2622 # Suppress warnings about importing locally defined symbols.
2623 if (is_component_build) {
2624 ldflags = [
2625 "/ignore:4049",
2626 "/ignore:4217",
2627 ]
2628 }
2629 }
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002630}
2631
2632if (want_v8_shell) {
2633 v8_executable("v8_shell") {
Ben Murdoch014dc512016-03-22 12:00:34 +00002634 sources = [
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002635 "samples/shell.cc",
Ben Murdoch014dc512016-03-22 12:00:34 +00002636 ]
2637
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002638 configs = [
Ben Murdoch014dc512016-03-22 12:00:34 +00002639 # Note: don't use :internal_config here because this target will get
2640 # the :external_config applied to it by virtue of depending on :v8, and
2641 # you can't have both applied to the same target.
2642 ":internal_config_base",
Ben Murdoch014dc512016-03-22 12:00:34 +00002643 ]
2644
2645 deps = [
Ben Murdoch014dc512016-03-22 12:00:34 +00002646 ":v8",
2647 ":v8_libplatform",
2648 "//build/config/sanitizers:deps",
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002649 "//build/win:default_exe_manifest",
Ben Murdoch014dc512016-03-22 12:00:34 +00002650 ]
2651
Ben Murdoch014dc512016-03-22 12:00:34 +00002652 if (v8_enable_i18n_support) {
2653 deps += [ "//third_party/icu" ]
2654 }
2655 }
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002656}
Ben Murdoch109988c2016-05-18 11:27:45 +01002657
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002658template("v8_fuzzer") {
2659 name = target_name
2660 forward_variables_from(invoker, "*")
2661 v8_executable("v8_simple_" + name) {
2662 deps = [
2663 ":" + name,
2664 ":simple_fuzzer",
2665 "//build/win:default_exe_manifest",
2666 ]
2667
2668 configs = [ ":external_config" ]
2669 }
2670}
2671
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002672v8_source_set("json_fuzzer") {
Ben Murdoch109988c2016-05-18 11:27:45 +01002673 sources = [
2674 "test/fuzzer/json.cc",
2675 ]
2676
2677 deps = [
2678 ":fuzzer_support",
2679 ]
2680
Ben Murdochf3b273f2017-01-17 12:11:28 +00002681 configs = [
2682 ":external_config",
2683 ":internal_config_base",
2684 ]
Ben Murdoch109988c2016-05-18 11:27:45 +01002685}
2686
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002687v8_fuzzer("json_fuzzer") {
2688}
2689
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002690v8_source_set("parser_fuzzer") {
Ben Murdoch109988c2016-05-18 11:27:45 +01002691 sources = [
2692 "test/fuzzer/parser.cc",
2693 ]
2694
2695 deps = [
Ben Murdochf3b273f2017-01-17 12:11:28 +00002696 ":fuzzer_support_nocomponent",
Ben Murdoch109988c2016-05-18 11:27:45 +01002697 ]
2698
Ben Murdochf3b273f2017-01-17 12:11:28 +00002699 configs = [
2700 ":external_config",
2701 ":internal_config_base",
2702 ]
Ben Murdoch109988c2016-05-18 11:27:45 +01002703}
2704
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002705v8_fuzzer("parser_fuzzer") {
2706}
2707
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002708v8_source_set("regexp_fuzzer") {
Ben Murdoch109988c2016-05-18 11:27:45 +01002709 sources = [
2710 "test/fuzzer/regexp.cc",
2711 ]
2712
2713 deps = [
2714 ":fuzzer_support",
2715 ]
2716
Ben Murdochf3b273f2017-01-17 12:11:28 +00002717 configs = [
2718 ":external_config",
2719 ":internal_config_base",
2720 ]
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002721}
2722
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002723v8_fuzzer("regexp_fuzzer") {
2724}
2725
Ben Murdochf3b273f2017-01-17 12:11:28 +00002726v8_source_set("wasm_module_runner") {
2727 sources = [
2728 "test/common/wasm/wasm-module-runner.cc",
2729 "test/common/wasm/wasm-module-runner.h",
2730 ]
2731
2732 configs = [
2733 ":external_config",
2734 ":internal_config_base",
2735 ]
2736}
2737
2738v8_source_set("wasm_test_signatures") {
2739 sources = [
2740 "test/common/wasm/test-signatures.h",
2741 ]
2742
2743 configs = [
2744 ":external_config",
2745 ":internal_config_base",
2746 ]
2747}
2748
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002749v8_source_set("wasm_fuzzer") {
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002750 sources = [
2751 "test/fuzzer/wasm.cc",
2752 ]
2753
2754 deps = [
2755 ":fuzzer_support",
Ben Murdochf3b273f2017-01-17 12:11:28 +00002756 ":wasm_module_runner",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002757 ]
2758
Ben Murdochf3b273f2017-01-17 12:11:28 +00002759 configs = [
2760 ":external_config",
2761 ":internal_config_base",
2762 ]
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002763}
2764
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002765v8_fuzzer("wasm_fuzzer") {
2766}
2767
Ben Murdochbcf72ee2016-08-08 18:44:38 +01002768v8_source_set("wasm_asmjs_fuzzer") {
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002769 sources = [
2770 "test/fuzzer/wasm-asmjs.cc",
2771 ]
2772
2773 deps = [
2774 ":fuzzer_support",
Ben Murdochf3b273f2017-01-17 12:11:28 +00002775 ":wasm_module_runner",
Ben Murdoch3b9bc312016-06-02 14:46:10 +01002776 ]
2777
Ben Murdochf3b273f2017-01-17 12:11:28 +00002778 configs = [
2779 ":external_config",
2780 ":internal_config_base",
2781 ]
Ben Murdoch109988c2016-05-18 11:27:45 +01002782}
Ben Murdoch13e2dad2016-09-16 13:49:30 +01002783
2784v8_fuzzer("wasm_asmjs_fuzzer") {
2785}
Ben Murdochf3b273f2017-01-17 12:11:28 +00002786
2787v8_source_set("wasm_code_fuzzer") {
2788 sources = [
2789 "test/fuzzer/wasm-code.cc",
2790 ]
2791
2792 deps = [
2793 ":fuzzer_support",
2794 ":wasm_module_runner",
2795 ":wasm_test_signatures",
2796 ]
2797
2798 configs = [
2799 ":external_config",
2800 ":internal_config_base",
2801 ]
2802}
2803
2804v8_fuzzer("wasm_code_fuzzer") {
2805}
2806
2807v8_source_set("lib_wasm_section_fuzzer") {
2808 sources = [
2809 "test/fuzzer/wasm-section-fuzzers.cc",
2810 "test/fuzzer/wasm-section-fuzzers.h",
2811 ]
2812
2813 configs = [
2814 ":external_config",
2815 ":internal_config_base",
2816 ]
2817}
2818
2819v8_source_set("wasm_types_section_fuzzer") {
2820 sources = [
2821 "test/fuzzer/wasm-types-section.cc",
2822 ]
2823
2824 deps = [
2825 ":fuzzer_support",
2826 ":lib_wasm_section_fuzzer",
2827 ":wasm_module_runner",
2828 ]
2829
2830 configs = [
2831 ":external_config",
2832 ":internal_config_base",
2833 ]
2834}
2835
2836v8_fuzzer("wasm_types_section_fuzzer") {
2837}
2838
2839v8_source_set("wasm_names_section_fuzzer") {
2840 sources = [
2841 "test/fuzzer/wasm-names-section.cc",
2842 ]
2843
2844 deps = [
2845 ":fuzzer_support",
2846 ":lib_wasm_section_fuzzer",
2847 ":wasm_module_runner",
2848 ]
2849
2850 configs = [
2851 ":external_config",
2852 ":internal_config_base",
2853 ]
2854}
2855
2856v8_fuzzer("wasm_names_section_fuzzer") {
2857}
2858
2859v8_source_set("wasm_globals_section_fuzzer") {
2860 sources = [
2861 "test/fuzzer/wasm-globals-section.cc",
2862 ]
2863
2864 deps = [
2865 ":fuzzer_support",
2866 ":lib_wasm_section_fuzzer",
2867 ":wasm_module_runner",
2868 ]
2869
2870 configs = [
2871 ":external_config",
2872 ":internal_config_base",
2873 ]
2874}
2875
2876v8_fuzzer("wasm_globals_section_fuzzer") {
2877}
2878
2879v8_source_set("wasm_imports_section_fuzzer") {
2880 sources = [
2881 "test/fuzzer/wasm-imports-section.cc",
2882 ]
2883
2884 deps = [
2885 ":fuzzer_support",
2886 ":lib_wasm_section_fuzzer",
2887 ":wasm_module_runner",
2888 ]
2889
2890 configs = [
2891 ":external_config",
2892 ":internal_config_base",
2893 ]
2894}
2895
2896v8_fuzzer("wasm_imports_section_fuzzer") {
2897}
2898
2899v8_source_set("wasm_function_sigs_section_fuzzer") {
2900 sources = [
2901 "test/fuzzer/wasm-function-sigs-section.cc",
2902 ]
2903
2904 deps = [
2905 ":fuzzer_support",
2906 ":lib_wasm_section_fuzzer",
2907 ":wasm_module_runner",
2908 ]
2909
2910 configs = [
2911 ":external_config",
2912 ":internal_config_base",
2913 ]
2914}
2915
2916v8_fuzzer("wasm_function_sigs_section_fuzzer") {
2917}
2918
2919v8_source_set("wasm_memory_section_fuzzer") {
2920 sources = [
2921 "test/fuzzer/wasm-memory-section.cc",
2922 ]
2923
2924 deps = [
2925 ":fuzzer_support",
2926 ":lib_wasm_section_fuzzer",
2927 ":wasm_module_runner",
2928 ]
2929
2930 configs = [
2931 ":external_config",
2932 ":internal_config_base",
2933 ]
2934}
2935
2936v8_fuzzer("wasm_memory_section_fuzzer") {
2937}
2938
2939v8_source_set("wasm_data_section_fuzzer") {
2940 sources = [
2941 "test/fuzzer/wasm-data-section.cc",
2942 ]
2943
2944 deps = [
2945 ":fuzzer_support",
2946 ":lib_wasm_section_fuzzer",
2947 ":wasm_module_runner",
2948 ]
2949
2950 configs = [
2951 ":external_config",
2952 ":internal_config_base",
2953 ]
2954}
2955
2956v8_fuzzer("wasm_data_section_fuzzer") {
2957}