[WRTjs] Enable WRTjs
[platform/framework/web/chromium-efl.git] / v8 / BUILD.bazel
1 # Copyright 2021 the V8 project 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
5 load("@bazel_skylib//lib:selects.bzl", "selects")
6 load("@rules_python//python:defs.bzl", "py_binary")
7 load("@v8_python_deps//:requirements.bzl", "requirement")
8 load(
9     "@v8//:bazel/defs.bzl",
10     "v8_binary",
11     "v8_build_config",
12     "v8_config",
13     "v8_custom_config",
14     "v8_flag",
15     "v8_int",
16     "v8_library",
17     "v8_mksnapshot",
18     "v8_string",
19     "v8_torque_files",
20 )
21 load(":bazel/v8-non-pointer-compression.bzl", "v8_binary_non_pointer_compression")
22
23 # =================================================
24 # Flags
25 # =================================================
26
27 # V8 GN flags not currently supported:
28 # v8_custom_deps
29 # v8_embed_script
30 # v8_embedder_string
31 # v8_promise_internal_field_count
32 # v8_enable_vtunetracemark
33 # v8_enable_fast_torque
34 # v8_win64_unwinding_info
35 # v8_enable_31bit_smis_on_64bit_arch
36 # v8_enable_trace_unoptimized
37 # v8_enable_trace_ignition
38 # v8_enable_trace_baseline_exec
39 # v8_enable_trace_feedback_updates
40 # v8_enable_atomic_object_field_writes
41 # v8_enable_concurrent_marking
42 # v8_enable_conservative_stack_scanning
43 # v8_enable_direct_handle
44 # v8_enable_direct_local
45 # v8_enable_local_off_stack_check
46 # v8_enable_ignition_dispatch_counting
47 # v8_enable_builtins_optimization
48 # v8_enable_builtins_profiling
49 # v8_enable_builtins_profiling_verbose
50 # v8_builtins_profiling_log_file
51 # v8_enable_external_code_space
52 # v8_postmortem_support
53 # v8_use_siphash
54 # v8_no_inline
55 # v8_os_page_size
56 # v8_can_use_fpu_instructions
57 # v8_use_mips_abi_hardfloat
58 # v8_enable_gdbjit
59 # v8_check_header_includes
60 # v8_enable_lazy_source_positions
61 # v8_enable_third_party_heap
62 # v8_third_party_heap_files
63 # v8_disable_write_barriers
64 # v8_enable_unconditional_write_barriers
65 # v8_enable_single_generation
66 # v8_enable_regexp_interpreter_threaded_dispatch
67 # v8_verify_torque_generation_invariance
68 # v8_enable_snapshot_compression
69 # v8_control_flow_integrity
70 # v8_enable_sandbox
71 # cppgc_enable_caged_heap
72 # cppgc_enable_check_assignments_in_prefinalizers
73 # cppgc_enable_slim_write_barrier
74 # cppgc_enable_object_names
75 # cppgc_enable_pointer_compression
76 # cppgc_enable_verify_heap
77 # cppgc_enable_young_generation
78 # v8_enable_zone_compression
79 # v8_enable_precise_zone_stats
80 # v8_enable_swiss_name_dictionary
81 # v8_generate_external_defines_header
82 # v8_dict_property_const_tracking
83 # v8_enable_map_packing
84 # v8_enable_javascript_promise_hooks
85 # v8_enable_allocation_folding
86 # v8_allocation_site_tracking
87
88 v8_flag(name = "v8_android_log_stdout")
89
90 v8_flag(name = "v8_annotate_torque_ir")
91
92 v8_flag(name = "v8_code_comments")
93
94 v8_flag(
95     name = "v8_deprecation_warnings",
96     default = True,
97 )
98
99 v8_flag(
100     name = "v8_imminent_deprecation_warnings",
101     default = True,
102 )
103
104 v8_flag(name = "v8_enable_backtrace")
105
106 v8_flag(name = "v8_enable_debug_code")
107
108 v8_flag(name = "v8_enable_disassembler")
109
110 v8_flag(name = "v8_enable_handle_zapping")
111
112 v8_flag(name = "v8_enable_runtime_call_stats")
113
114 v8_flag(name = "v8_enable_hugepage")
115
116 v8_flag(name = "v8_enable_fast_mksnapshot")
117
118 v8_flag(name = "v8_enable_future")
119
120 # NOTE: Transitions are not recommended in library targets:
121 # https://groups.google.com/a/google.com/g/c-toolchain-team/c/W4nmWonD0ow/m/rLGyIL4YIQAJ
122 # Therefore we create multiple targets with and without ICU, instead of
123 # implementing the flag v8_enable_i18n_support.
124
125 v8_flag(
126     name = "v8_enable_lazy_source_positions",
127     default = True,
128 )
129
130 v8_flag(name = "v8_enable_object_print")
131
132 v8_flag(name = "v8_enable_slow_dchecks")
133
134 v8_flag(name = "v8_enable_snapshot_code_comments")
135
136 v8_flag(name = "v8_enable_snapshot_native_code_counters")
137
138 v8_flag(name = "v8_enable_static_roots")
139
140 v8_flag(name = "v8_enable_trace_maps")
141
142 v8_flag(name = "v8_enable_v8_checks")
143
144 v8_flag(name = "v8_enable_verify_csa")
145
146 v8_flag(name = "v8_enable_verify_heap")
147
148 v8_flag(name = "v8_enable_verify_predictable")
149
150 v8_flag(name = "v8_enable_test_features")
151
152 v8_flag(
153     name = "v8_enable_turbofan",
154     default = True,
155 )
156
157 v8_flag(
158     name = "v8_enable_webassembly",
159     default = True,
160 )
161
162 v8_flag(
163     name = "v8_jitless",
164     default = False,
165 )
166
167 v8_int(
168     name = "v8_typed_array_max_size_in_heap",
169     default = 64,
170 )
171
172 # We use a string flag to create a 3 value-logic.
173 # If no explicit value for v8_enable_pointer_compression, we set it to 'none'.
174 v8_string(
175     name = "v8_enable_pointer_compression",
176     default = "none",
177 )
178
179 # Default setting for v8_enable_pointer_compression.
180 config_setting(
181     name = "v8_enable_pointer_compression_is_none",
182     flag_values = {
183         ":v8_enable_pointer_compression": "none",
184     },
185 )
186
187 # Explicity defined v8_enable_pointer_compression.
188 config_setting(
189     name = "v8_enable_pointer_compression_is_true",
190     flag_values = {
191         ":v8_enable_pointer_compression": "True",
192     },
193 )
194
195 # Default setting for v8_enable_pointer_compression when target is x64.
196 selects.config_setting_group(
197     name = "v8_target_x64_default_pointer_compression",
198     match_all = [
199         ":v8_enable_pointer_compression_is_none",
200         "@v8//bazel/config:v8_target_x64",
201     ],
202 )
203
204 # Default setting for v8_enable_pointer_compression when target is arm64.
205 selects.config_setting_group(
206     name = "v8_target_arm64_default_pointer_compression",
207     match_all = [
208         ":v8_enable_pointer_compression_is_none",
209         "@v8//bazel/config:v8_target_arm64",
210     ],
211 )
212
213 # v8_enable_pointer_compression is valid whenever it is explicitly defined
214 # or we have the default settings for targets x64 and arm64.
215 selects.config_setting_group(
216     name = "is_v8_enable_pointer_compression",
217     match_any = [
218         ":v8_enable_pointer_compression_is_true",
219         ":v8_target_x64_default_pointer_compression",
220         ":v8_target_arm64_default_pointer_compression",
221     ],
222 )
223
224 # Pointer cage, true by default if v8_enable_pointer_compression.
225 v8_flag(
226     name = "v8_enable_pointer_compression_shared_cage",
227     default = True,
228 )
229
230 # Shared RO heap. Flag has to be set to false when
231 # v8_enable_pointer_compression_shared_cage is set to false.
232 v8_flag(
233     name = "v8_enable_shared_ro_heap",
234     default = True,
235 )
236
237 v8_flag(
238     name = "v8_enable_extensible_ro_snapshot",
239     default = True,
240 )
241
242 # Enable shared cage if v8_enable_pointer_compression
243 # and v8_enable_pointer_compression_shared_cage.
244 selects.config_setting_group(
245     name = "enable_pointer_compression_shared_cage",
246     match_all = [
247         ":is_v8_enable_pointer_compression",
248         ":is_v8_enable_pointer_compression_shared_cage",
249     ],
250 )
251
252 # Enable isolated cage if v8_enable_pointer_compression and
253 # NOT v8_enable_pointer_compression_shared_cage.
254 selects.config_setting_group(
255     name = "enable_pointer_compression_isolated_cage",
256     match_all = [
257         ":is_v8_enable_pointer_compression",
258         ":is_not_v8_enable_pointer_compression_shared_cage",
259     ],
260 )
261
262 # We use a string flag to create a 3 value-logic.
263 # If no explicit value for v8_enable_short_builtin_calls, we set it to 'none'.
264 v8_string(
265     name = "v8_enable_short_builtin_calls",
266     default = "none",
267 )
268
269 # Default setting for v8_enable_pointer_compression.
270 config_setting(
271     name = "v8_enable_short_builtin_calls_is_none",
272     flag_values = {
273         ":v8_enable_short_builtin_calls": "none",
274     },
275 )
276
277 # Explicity defined v8_enable_pointer_compression.
278 config_setting(
279     name = "v8_enable_short_builtin_calls_is_true",
280     flag_values = {
281         ":v8_enable_short_builtin_calls": "True",
282     },
283 )
284
285 # Enable VTune jit profiling
286 v8_flag(
287     name = "v8_enable_vtunejit",
288     default = False,
289 )
290
291 # Default setting for v8_enable_short_builtin_calls when target is x64.
292 # Disable short calls when pointer compression is not enabled.
293 selects.config_setting_group(
294     name = "v8_target_x64_default_short_builtin_calls",
295     match_all = [
296         ":v8_enable_short_builtin_calls_is_none",
297         "@v8//bazel/config:v8_target_x64",
298         ":is_v8_enable_pointer_compression",
299     ],
300 )
301
302 # Default setting for v8_enable_short_builtin_calls when target is arm64, but not Android.
303 selects.config_setting_group(
304     name = "v8_target_arm64_default_short_builtin_calls",
305     match_all = [
306         ":v8_enable_short_builtin_calls_is_none",
307         "@v8//bazel/config:v8_target_arm64",
308         "@v8//bazel/config:is_not_android",
309     ],
310 )
311
312 # v8_enable_short_builtin_calls is valid whenever it is explicitly defined
313 # or we have the default settings for targets x64 and arm64.
314 # TODO(victorgomes): v8_enable_short_builtin_calls should not be enabled when CFI is enabled.
315 selects.config_setting_group(
316     name = "is_v8_enable_short_builtin_calls",
317     match_any = [
318         ":v8_enable_short_builtin_calls_is_true",
319         ":v8_target_x64_default_short_builtin_calls",
320         ":v8_target_arm64_default_short_builtin_calls",
321     ],
322 )
323
324 # Enable -rdynamic.
325 selects.config_setting_group(
326     name = "should_add_rdynamic",
327     match_all = [
328         "@v8//bazel/config:is_linux",
329         ":is_v8_enable_backtrace",
330     ],
331 )
332
333 v8_custom_config(name = "default")
334
335 v8_config(
336     name = "define_flags",
337     conditional_defines = {
338         "v8_android_log_stdout": "V8_ANDROID_LOG_STDOUT",
339         "v8_code_comments": "V8_CODE_COMMENTS",
340         "v8_deprecation_warnings": "V8_DEPRECATION_WARNINGS",
341         "v8_imminent_deprecation_warnings": "V8_IMMINENT_DEPRECATION_WARNINGS",
342         "v8_enable_debug_code": "V8_ENABLE_DEBUG_CODE",
343         "v8_enable_disassembler": "ENABLE_DISASSEMBLER",
344         "v8_enable_handle_zapping": "ENABLE_HANDLE_ZAPPING",
345         "v8_enable_hugepage": "ENABLE_HUGEPAGE",
346         "v8_enable_future": "V8_ENABLE_FUTURE",
347         "v8_enable_lazy_source_positions": "V8_ENABLE_LAZY_SOURCE_POSITIONS",
348         "v8_enable_object_print": "OBJECT_PRINT",
349         "v8_enable_slow_dchecks": "ENABLE_SLOW_DCHECKS",
350         "v8_enable_runtime_call_stats": "V8_RUNTIME_CALL_STATS",
351         "v8_enable_snapshot_native_code_counters": "V8_SNAPSHOT_NATIVE_CODE_COUNTERS",
352         "v8_enable_static_roots": "V8_STATIC_ROOTS",
353         "v8_enable_trace_maps": "V8_TRACE_MAPS",
354         "v8_enable_turbofan": "V8_ENABLE_TURBOFAN",
355         "v8_enable_v8_checks": "V8_ENABLE_CHECKS",
356         "v8_enable_verify_csa": "ENABLE_VERIFY_CSA",
357         "v8_enable_verify_heap": "VERIFY_HEAP",
358         "v8_enable_verify_predictable": "VERIFY_PREDICTABLE",
359         "v8_enable_webassembly": "V8_ENABLE_WEBASSEMBLY",
360         "v8_jitless": "V8_JITLESS",
361         "v8_enable_vtunejit": "ENABLE_VTUNE_JIT_INTERFACE",
362     },
363     defines = [
364         "GOOGLE3",
365         "V8_ADVANCED_BIGINT_ALGORITHMS",
366         "V8_CONCURRENT_MARKING",
367         "V8_ENABLE_SPARKPLUG",
368     ] + select({
369         "@v8//bazel/config:is_debug": [
370             "DEBUG",
371             "V8_ENABLE_CHECKS",
372         ],
373         "//conditions:default": [],
374     }) + select(
375         {
376             "@v8//bazel/config:v8_target_ia32": ["V8_TARGET_ARCH_IA32"],
377             "@v8//bazel/config:v8_target_x64": ["V8_TARGET_ARCH_X64"],
378             "@v8//bazel/config:v8_target_arm": [
379                 "V8_TARGET_ARCH_ARM",
380                 "CAN_USE_ARMV7_INSTRUCTIONS",
381                 "CAN_USE_VFP3_INSTRUCTIONS",
382             ],
383             "@v8//bazel/config:v8_target_arm64": ["V8_TARGET_ARCH_ARM64"],
384             "@v8//bazel/config:v8_target_s390x": [
385                 "V8_TARGET_ARCH_S390",
386                 "V8_TARGET_ARCH_S390X",
387             ],
388             "@v8//bazel/config:v8_target_riscv64": [
389                 # NOTE: Bazel rules for riscv64 weren't tested on a real system.
390                 "V8_TARGET_ARCH_RISCV64",
391                 "CAN_USE_FPU_INSTRUCTIONS",
392             ],
393             "@v8//bazel/config:v8_target_ppc64le": [
394                 # NOTE: Bazel rules for ppc64le weren't tested on a real system.
395                 "V8_TARGET_ARCH_PPC64",
396                 "V8_TARGET_ARCH_PPC_LE",
397             ],
398         },
399         no_match_error = "Please specify a target cpu supported by v8",
400     ) + select({
401         "@v8//bazel/config:is_android": [
402             "V8_HAVE_TARGET_OS",
403             "V8_TARGET_OS_ANDROID",
404         ],
405         "@v8//bazel/config:is_linux": [
406             "V8_HAVE_TARGET_OS",
407             "V8_TARGET_OS_LINUX",
408         ],
409         "@v8//bazel/config:is_macos": [
410             "V8_HAVE_TARGET_OS",
411             "V8_TARGET_OS_MACOS",
412         ],
413         "@v8//bazel/config:is_windows": [
414             "V8_HAVE_TARGET_OS",
415             "V8_TARGET_OS_WIN",
416             "UNICODE",
417             "_UNICODE",
418             "_CRT_RAND_S",
419             "_WIN32_WINNT=0x0602",
420         ],
421     }) + select({
422         ":is_v8_enable_pointer_compression": [
423             "V8_COMPRESS_POINTERS",
424             "V8_31BIT_SMIS_ON_64BIT_ARCH",
425         ],
426         "//conditions:default": [],
427     }) + select({
428         ":enable_pointer_compression_shared_cage": [
429             "V8_COMPRESS_POINTERS_IN_SHARED_CAGE",
430         ],
431         ":enable_pointer_compression_isolated_cage": [
432             "V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE",
433         ],
434         "//conditions:default": [],
435     }) + select({
436         ":is_v8_enable_shared_ro_heap": [
437             "V8_SHARED_RO_HEAP",
438         ],
439     }) + select({
440         ":is_v8_enable_extensible_ro_snapshot": [
441             "V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT",
442         ],
443     }) + select({
444         ":is_v8_enable_short_builtin_calls": [
445             "V8_SHORT_BUILTIN_CALLS",
446         ],
447         "//conditions:default": [],
448     }) + select({
449         ":is_v8_enable_test_features": [
450             "V8_ENABLE_ALLOCATION_TIMEOUT",
451             "V8_ENABLE_FORCE_SLOW_PATH",
452             "V8_ENABLE_DOUBLE_CONST_STORE_CHECK",
453         ],
454         "//conditions:default": [],
455     }),
456     deps = [":default"],
457 )
458
459 # =================================================
460 # File group rules
461 # =================================================
462
463 filegroup(
464     name = "public_header_files",
465     srcs = glob(["include/**/*.h"]),
466 )
467
468 filegroup(
469     name = "public_wasm_c_api_header_files",
470     srcs = [
471         "third_party/wasm-api/wasm.h",
472         "third_party/wasm-api/wasm.hh",
473     ],
474 )
475
476 filegroup(
477     name = "v8_config_headers_files",
478     srcs = [
479         "include/v8-platform.h",
480         "include/v8-source-location.h",
481         "include/v8config.h",
482     ],
483 )
484
485 filegroup(
486     name = "v8_version_files",
487     srcs = [
488         "include/v8-value-serializer-version.h",
489         "include/v8-version.h",
490         "include/v8-version-string.h",
491     ],
492 )
493
494 filegroup(
495     name = "cppgc_headers_files",
496     srcs = [
497         "include/cppgc/allocation.h",
498         "include/cppgc/common.h",
499         "include/cppgc/cross-thread-persistent.h",
500         "include/cppgc/custom-space.h",
501         "include/cppgc/default-platform.h",
502         "include/cppgc/ephemeron-pair.h",
503         "include/cppgc/explicit-management.h",
504         "include/cppgc/garbage-collected.h",
505         "include/cppgc/heap.h",
506         "include/cppgc/heap-consistency.h",
507         "include/cppgc/heap-handle.h",
508         "include/cppgc/heap-state.h",
509         "include/cppgc/heap-statistics.h",
510         "include/cppgc/internal/api-constants.h",
511         "include/cppgc/internal/atomic-entry-flag.h",
512         "include/cppgc/internal/base-page-handle.h",
513         "include/cppgc/internal/caged-heap.h",
514         "include/cppgc/internal/caged-heap-local-data.h",
515         "include/cppgc/internal/compiler-specific.h",
516         "include/cppgc/internal/finalizer-trait.h",
517         "include/cppgc/internal/gc-info.h",
518         "include/cppgc/internal/logging.h",
519         "include/cppgc/internal/member-storage.h",
520         "include/cppgc/internal/name-trait.h",
521         "include/cppgc/internal/persistent-node.h",
522         "include/cppgc/internal/pointer-policies.h",
523         "include/cppgc/internal/write-barrier.h",
524         "include/cppgc/liveness-broker.h",
525         "include/cppgc/macros.h",
526         "include/cppgc/member.h",
527         "include/cppgc/name-provider.h",
528         "include/cppgc/object-size-trait.h",
529         "include/cppgc/persistent.h",
530         "include/cppgc/platform.h",
531         "include/cppgc/prefinalizer.h",
532         "include/cppgc/process-heap-statistics.h",
533         "include/cppgc/sentinel-pointer.h",
534         "include/cppgc/source-location.h",
535         "include/cppgc/trace-trait.h",
536         "include/cppgc/type-traits.h",
537         "include/cppgc/visitor.h",
538     ],
539 )
540
541 filegroup(
542     name = "v8_headers_files",
543     srcs = [
544         "include/v8.h",
545         "include/v8-array-buffer.h",
546         "include/v8-callbacks.h",
547         "include/v8-container.h",
548         "include/v8-context.h",
549         "include/v8-cppgc.h",
550         "include/v8-data.h",
551         "include/v8-date.h",
552         "include/v8-debug.h",
553         "include/v8-embedder-heap.h",
554         "include/v8-embedder-state-scope.h",
555         "include/v8-exception.h",
556         "include/v8-extension.h",
557         "include/v8-external.h",
558         "include/v8-fast-api-calls.h",
559         "include/v8-forward.h",
560         "include/v8-function.h",
561         "include/v8-function-callback.h",
562         "include/v8-handle-base.h",
563         "include/v8-initialization.h",
564         "include/v8-internal.h",
565         "include/v8-isolate.h",
566         "include/v8-json.h",
567         "include/v8-local-handle.h",
568         "include/v8-locker.h",
569         "include/v8-maybe.h",
570         "include/v8-memory-span.h",
571         "include/v8-message.h",
572         "include/v8-microtask.h",
573         "include/v8-microtask-queue.h",
574         "include/v8-object.h",
575         "include/v8-persistent-handle.h",
576         "include/v8-primitive.h",
577         "include/v8-primitive-object.h",
578         "include/v8-profiler.h",
579         "include/v8-promise.h",
580         "include/v8-proxy.h",
581         "include/v8-regexp.h",
582         "include/v8-script.h",
583         "include/v8-snapshot.h",
584         "include/v8-statistics.h",
585         "include/v8-template.h",
586         "include/v8-traced-handle.h",
587         "include/v8-typed-array.h",
588         "include/v8-unwinder.h",
589         "include/v8-util.h",
590         "include/v8-value.h",
591         "include/v8-value-serializer.h",
592         "include/v8-wasm.h",
593         "include/v8-weak-callback-info.h",
594         ":cppgc_headers_files",
595         ":v8_version_files",
596     ],
597 )
598
599 filegroup(
600     name = "v8_flags",
601     srcs = [
602         "src/flags/flag-definitions.h",
603         "src/flags/flags.h",
604     ] + select({
605         "is_v8_enable_webassembly": ["src/wasm/wasm-feature-flags.h"],
606         "//conditions:default": [],
607     }),
608 )
609
610 filegroup(
611     name = "v8_shared_internal_headers",
612     srcs = [
613         "src/common/globals.h",
614         "testing/gtest/include/gtest/gtest_prod.h",
615     ] + select({
616         "is_v8_enable_webassembly": [
617             "src/wasm/wasm-constants.h",
618             "src/wasm/wasm-limits.h",
619         ],
620         "//conditions:default": [],
621     }),
622 )
623
624 filegroup(
625     name = "v8_libbase_files",
626     srcs = [
627         "src/base/abort-mode.cc",
628         "src/base/abort-mode.h",
629         "src/base/address-region.h",
630         "src/base/atomic-utils.h",
631         "src/base/atomicops.h",
632         "src/base/base-export.h",
633         "src/base/bit-field.h",
634         "src/base/bits.cc",
635         "src/base/bits.h",
636         "src/base/bits-iterator.h",
637         "src/base/bounded-page-allocator.cc",
638         "src/base/bounded-page-allocator.h",
639         "src/base/bounds.h",
640         "src/base/build_config.h",
641         "src/base/compiler-specific.h",
642         "src/base/container-utils.h",
643         "src/base/contextual.h",
644         "src/base/cpu.cc",
645         "src/base/cpu.h",
646         "src/base/debug/stack_trace.cc",
647         "src/base/debug/stack_trace.h",
648         "src/base/discriminated-union.h",
649         "src/base/division-by-constant.cc",
650         "src/base/division-by-constant.h",
651         "src/base/emulated-virtual-address-subspace.cc",
652         "src/base/emulated-virtual-address-subspace.h",
653         "src/base/enum-set.h",
654         "src/base/export-template.h",
655         "src/base/file-utils.cc",
656         "src/base/file-utils.h",
657         "src/base/flags.h",
658         "src/base/free_deleter.h",
659         "src/base/functional.h",
660         "src/base/hashmap.h",
661         "src/base/hashmap-entry.h",
662         "src/base/ieee754.cc",
663         "src/base/ieee754.h",
664         "src/base/immediate-crash.h",
665         "src/base/intrusive-set.h",
666         "src/base/iterator.h",
667         "src/base/lazy-instance.h",
668         "src/base/logging.cc",
669         "src/base/logging.h",
670         "src/base/macros.h",
671         "src/base/memory.h",
672         "src/base/numbers/bignum.cc",
673         "src/base/numbers/bignum.h",
674         "src/base/numbers/bignum-dtoa.cc",
675         "src/base/numbers/bignum-dtoa.h",
676         "src/base/numbers/cached-powers.cc",
677         "src/base/numbers/cached-powers.h",
678         "src/base/numbers/diy-fp.cc",
679         "src/base/numbers/diy-fp.h",
680         "src/base/numbers/double.h",
681         "src/base/numbers/dtoa.cc",
682         "src/base/numbers/dtoa.h",
683         "src/base/numbers/fast-dtoa.cc",
684         "src/base/numbers/fast-dtoa.h",
685         "src/base/numbers/fixed-dtoa.cc",
686         "src/base/numbers/fixed-dtoa.h",
687         "src/base/numbers/strtod.cc",
688         "src/base/numbers/strtod.h",
689         "src/base/once.cc",
690         "src/base/once.h",
691         "src/base/optional.h",
692         "src/base/overflowing-math.h",
693         "src/base/page-allocator.cc",
694         "src/base/page-allocator.h",
695         "src/base/platform/condition-variable.cc",
696         "src/base/platform/condition-variable.h",
697         "src/base/platform/elapsed-timer.h",
698         "src/base/platform/memory.h",
699         "src/base/platform/memory-protection-key.cc",
700         "src/base/platform/memory-protection-key.h",
701         "src/base/platform/mutex.cc",
702         "src/base/platform/mutex.h",
703         "src/base/platform/platform.cc",
704         "src/base/platform/platform.h",
705         "src/base/platform/semaphore.cc",
706         "src/base/platform/semaphore.h",
707         "src/base/platform/time.cc",
708         "src/base/platform/time.h",
709         "src/base/platform/wrappers.h",
710         "src/base/platform/yield-processor.h",
711         "src/base/pointer-with-payload.h",
712         "src/base/region-allocator.cc",
713         "src/base/region-allocator.h",
714         "src/base/ring-buffer.h",
715         "src/base/safe_conversions.h",
716         "src/base/safe_conversions_arm_impl.h",
717         "src/base/safe_conversions_impl.h",
718         "src/base/small-map.h",
719         "src/base/small-vector.h",
720         "src/base/string-format.h",
721         "src/base/strings.cc",
722         "src/base/strings.h",
723         "src/base/sys-info.cc",
724         "src/base/sys-info.h",
725         "src/base/template-utils.h",
726         "src/base/threaded-list.h",
727         "src/base/timezone-cache.h",
728         "src/base/utils/random-number-generator.cc",
729         "src/base/utils/random-number-generator.h",
730         "src/base/v8-fallthrough.h",
731         "src/base/vector.h",
732         "src/base/virtual-address-space.cc",
733         "src/base/virtual-address-space.h",
734         "src/base/virtual-address-space-page-allocator.cc",
735         "src/base/virtual-address-space-page-allocator.h",
736         "src/base/vlq.h",
737         "src/base/vlq-base64.cc",
738         "src/base/vlq-base64.h",
739         ":v8_config_headers_files",
740         ":v8_flags",
741         ":v8_headers_files",
742     ] + select({
743         "@v8//bazel/config:is_posix": [
744             "src/base/platform/platform-posix.cc",
745             "src/base/platform/platform-posix.h",
746             "src/base/platform/platform-posix-time.cc",
747             "src/base/platform/platform-posix-time.h",
748         ],
749         "//conditions:default": [],
750     }) + select({
751         "@v8//bazel/config:is_linux": [
752             "src/base/debug/stack_trace_posix.cc",
753             "src/base/platform/platform-linux.cc",
754             "src/base/platform/platform-linux.h",
755         ],
756         "@v8//bazel/config:is_android": [
757             "src/base/debug/stack_trace_android.cc",
758             "src/base/platform/platform-linux.cc",
759             "src/base/platform/platform-linux.h",
760         ],
761         "@v8//bazel/config:is_macos": [
762             "src/base/debug/stack_trace_posix.cc",
763             "src/base/platform/platform-darwin.cc",
764         ],
765         "@v8//bazel/config:is_windows": [
766             "src/base/debug/stack_trace_win.cc",
767             "src/base/platform/platform-win32.cc",
768             "src/base/win32-headers.h",
769         ],
770     }),
771     visibility = ["//visibility:public"],
772 )
773
774 filegroup(
775     name = "v8_libplatform_files",
776     srcs = [
777         "include/libplatform/libplatform.h",
778         "include/libplatform/libplatform-export.h",
779         "include/libplatform/v8-tracing.h",
780         "src/libplatform/default-foreground-task-runner.cc",
781         "src/libplatform/default-foreground-task-runner.h",
782         "src/libplatform/default-job.cc",
783         "src/libplatform/default-job.h",
784         "src/libplatform/default-platform.cc",
785         "src/libplatform/default-platform.h",
786         "src/libplatform/default-thread-isolated-allocator.cc",
787         "src/libplatform/default-thread-isolated-allocator.h",
788         "src/libplatform/default-worker-threads-task-runner.cc",
789         "src/libplatform/default-worker-threads-task-runner.h",
790         "src/libplatform/delayed-task-queue.cc",
791         "src/libplatform/delayed-task-queue.h",
792         "src/libplatform/task-queue.cc",
793         "src/libplatform/task-queue.h",
794         "src/libplatform/tracing/recorder.h",
795         "src/libplatform/tracing/trace-buffer.cc",
796         "src/libplatform/tracing/trace-buffer.h",
797         "src/libplatform/tracing/trace-config.cc",
798         "src/libplatform/tracing/trace-object.cc",
799         "src/libplatform/tracing/trace-writer.cc",
800         "src/libplatform/tracing/trace-writer.h",
801         "src/libplatform/tracing/tracing-controller.cc",
802         "src/libplatform/worker-thread.cc",
803         "src/libplatform/worker-thread.h",
804     ],
805 )
806
807 filegroup(
808     name = "v8_libsampler_files",
809     srcs = [
810         "src/libsampler/sampler.cc",
811         "src/libsampler/sampler.h",
812     ],
813 )
814
815 filegroup(
816     name = "torque_runtime_support_files",
817     srcs = ["src/torque/runtime-support.h"],
818 )
819
820 filegroup(
821     name = "noicu/torque_files",
822     srcs = [
823         "src/builtins/aggregate-error.tq",
824         "src/builtins/array.tq",
825         "src/builtins/array-at.tq",
826         "src/builtins/array-concat.tq",
827         "src/builtins/array-copywithin.tq",
828         "src/builtins/array-every.tq",
829         "src/builtins/array-filter.tq",
830         "src/builtins/array-find.tq",
831         "src/builtins/array-findindex.tq",
832         "src/builtins/array-findlast.tq",
833         "src/builtins/array-findlastindex.tq",
834         "src/builtins/array-foreach.tq",
835         "src/builtins/array-from.tq",
836         "src/builtins/array-from-async.tq",
837         "src/builtins/array-isarray.tq",
838         "src/builtins/array-join.tq",
839         "src/builtins/array-lastindexof.tq",
840         "src/builtins/array-map.tq",
841         "src/builtins/array-of.tq",
842         "src/builtins/array-reduce.tq",
843         "src/builtins/array-reduce-right.tq",
844         "src/builtins/array-reverse.tq",
845         "src/builtins/array-shift.tq",
846         "src/builtins/array-slice.tq",
847         "src/builtins/array-some.tq",
848         "src/builtins/array-splice.tq",
849         "src/builtins/array-to-reversed.tq",
850         "src/builtins/array-to-sorted.tq",
851         "src/builtins/array-to-spliced.tq",
852         "src/builtins/array-unshift.tq",
853         "src/builtins/array-with.tq",
854         "src/builtins/arraybuffer.tq",
855         "src/builtins/base.tq",
856         "src/builtins/boolean.tq",
857         "src/builtins/builtins-bigint.tq",
858         "src/builtins/builtins-string.tq",
859         "src/builtins/cast.tq",
860         "src/builtins/collections.tq",
861         "src/builtins/console.tq",
862         "src/builtins/constructor.tq",
863         "src/builtins/conversion.tq",
864         "src/builtins/convert.tq",
865         "src/builtins/data-view.tq",
866         "src/builtins/finalization-registry.tq",
867         "src/builtins/frame-arguments.tq",
868         "src/builtins/frames.tq",
869         "src/builtins/function.tq",
870         "src/builtins/growable-fixed-array.tq",
871         "src/builtins/ic.tq",
872         "src/builtins/ic-callable.tq",
873         "src/builtins/internal.tq",
874         "src/builtins/internal-coverage.tq",
875         "src/builtins/iterator.tq",
876         "src/builtins/iterator-from.tq",
877         "src/builtins/iterator-helpers.tq",
878         "src/builtins/map-groupby.tq",
879         "src/builtins/math.tq",
880         "src/builtins/number.tq",
881         "src/builtins/object.tq",
882         "src/builtins/object-fromentries.tq",
883         "src/builtins/object-groupby.tq",
884         "src/builtins/promise-abstract-operations.tq",
885         "src/builtins/promise-all.tq",
886         "src/builtins/promise-all-element-closure.tq",
887         "src/builtins/promise-any.tq",
888         "src/builtins/promise-constructor.tq",
889         "src/builtins/promise-finally.tq",
890         "src/builtins/promise-jobs.tq",
891         "src/builtins/promise-misc.tq",
892         "src/builtins/promise-race.tq",
893         "src/builtins/promise-reaction-job.tq",
894         "src/builtins/promise-resolve.tq",
895         "src/builtins/promise-then.tq",
896         "src/builtins/promise-withresolvers.tq",
897         "src/builtins/proxy.tq",
898         "src/builtins/proxy-constructor.tq",
899         "src/builtins/proxy-delete-property.tq",
900         "src/builtins/proxy-get-property.tq",
901         "src/builtins/proxy-get-prototype-of.tq",
902         "src/builtins/proxy-has-property.tq",
903         "src/builtins/proxy-is-extensible.tq",
904         "src/builtins/proxy-prevent-extensions.tq",
905         "src/builtins/proxy-revocable.tq",
906         "src/builtins/proxy-revoke.tq",
907         "src/builtins/proxy-set-property.tq",
908         "src/builtins/proxy-set-prototype-of.tq",
909         "src/builtins/reflect.tq",
910         "src/builtins/regexp.tq",
911         "src/builtins/regexp-exec.tq",
912         "src/builtins/regexp-match.tq",
913         "src/builtins/regexp-match-all.tq",
914         "src/builtins/regexp-replace.tq",
915         "src/builtins/regexp-search.tq",
916         "src/builtins/regexp-source.tq",
917         "src/builtins/regexp-split.tq",
918         "src/builtins/regexp-test.tq",
919         "src/builtins/set-difference.tq",
920         "src/builtins/set-intersection.tq",
921         "src/builtins/set-is-disjoint-from.tq",
922         "src/builtins/set-is-subset-of.tq",
923         "src/builtins/set-is-superset-of.tq",
924         "src/builtins/set-symmetric-difference.tq",
925         "src/builtins/set-union.tq",
926         "src/builtins/string-at.tq",
927         "src/builtins/string-endswith.tq",
928         "src/builtins/string-html.tq",
929         "src/builtins/string-includes.tq",
930         "src/builtins/string-indexof.tq",
931         "src/builtins/string-iswellformed.tq",
932         "src/builtins/string-iterator.tq",
933         "src/builtins/string-match-search.tq",
934         "src/builtins/string-pad.tq",
935         "src/builtins/string-repeat.tq",
936         "src/builtins/string-replaceall.tq",
937         "src/builtins/string-slice.tq",
938         "src/builtins/string-startswith.tq",
939         "src/builtins/string-substr.tq",
940         "src/builtins/string-substring.tq",
941         "src/builtins/string-towellformed.tq",
942         "src/builtins/string-trim.tq",
943         "src/builtins/symbol.tq",
944         "src/builtins/torque-internal.tq",
945         "src/builtins/typed-array.tq",
946         "src/builtins/typed-array-at.tq",
947         "src/builtins/typed-array-createtypedarray.tq",
948         "src/builtins/typed-array-entries.tq",
949         "src/builtins/typed-array-every.tq",
950         "src/builtins/typed-array-filter.tq",
951         "src/builtins/typed-array-find.tq",
952         "src/builtins/typed-array-findindex.tq",
953         "src/builtins/typed-array-findlast.tq",
954         "src/builtins/typed-array-findlastindex.tq",
955         "src/builtins/typed-array-foreach.tq",
956         "src/builtins/typed-array-from.tq",
957         "src/builtins/typed-array-keys.tq",
958         "src/builtins/typed-array-of.tq",
959         "src/builtins/typed-array-reduce.tq",
960         "src/builtins/typed-array-reduceright.tq",
961         "src/builtins/typed-array-set.tq",
962         "src/builtins/typed-array-slice.tq",
963         "src/builtins/typed-array-some.tq",
964         "src/builtins/typed-array-sort.tq",
965         "src/builtins/typed-array-subarray.tq",
966         "src/builtins/typed-array-to-reversed.tq",
967         "src/builtins/typed-array-to-sorted.tq",
968         "src/builtins/typed-array-values.tq",
969         "src/builtins/typed-array-with.tq",
970         "src/builtins/weak-ref.tq",
971         "src/ic/handler-configuration.tq",
972         "src/objects/allocation-site.tq",
973         "src/objects/api-callbacks.tq",
974         "src/objects/arguments.tq",
975         "src/objects/bigint.tq",
976         "src/objects/bytecode-array.tq",
977         "src/objects/call-site-info.tq",
978         "src/objects/cell.tq",
979         "src/objects/contexts.tq",
980         "src/objects/data-handler.tq",
981         "src/objects/debug-objects.tq",
982         "src/objects/descriptor-array.tq",
983         "src/objects/embedder-data-array.tq",
984         "src/objects/feedback-cell.tq",
985         "src/objects/feedback-vector.tq",
986         "src/objects/fixed-array.tq",
987         "src/objects/foreign.tq",
988         "src/objects/free-space.tq",
989         "src/objects/heap-number.tq",
990         "src/objects/heap-object.tq",
991         "src/objects/js-array.tq",
992         "src/objects/js-array-buffer.tq",
993         "src/objects/js-atomics-synchronization.tq",
994         "src/objects/js-collection.tq",
995         "src/objects/js-collection-iterator.tq",
996         "src/objects/js-function.tq",
997         "src/objects/js-generator.tq",
998         "src/objects/js-iterator-helpers.tq",
999         "src/objects/js-objects.tq",
1000         "src/objects/js-promise.tq",
1001         "src/objects/js-proxy.tq",
1002         "src/objects/js-raw-json.tq",
1003         "src/objects/js-regexp.tq",
1004         "src/objects/js-regexp-string-iterator.tq",
1005         "src/objects/js-shadow-realm.tq",
1006         "src/objects/js-shared-array.tq",
1007         "src/objects/js-struct.tq",
1008         "src/objects/js-temporal-objects.tq",
1009         "src/objects/js-weak-refs.tq",
1010         "src/objects/literal-objects.tq",
1011         "src/objects/map.tq",
1012         "src/objects/megadom-handler.tq",
1013         "src/objects/microtask.tq",
1014         "src/objects/module.tq",
1015         "src/objects/name.tq",
1016         "src/objects/oddball.tq",
1017         "src/objects/hole.tq",
1018         "src/objects/trusted-object.tq",
1019         "src/objects/ordered-hash-table.tq",
1020         "src/objects/primitive-heap-object.tq",
1021         "src/objects/promise.tq",
1022         "src/objects/property-array.tq",
1023         "src/objects/property-cell.tq",
1024         "src/objects/property-descriptor-object.tq",
1025         "src/objects/prototype-info.tq",
1026         "src/objects/regexp-match-info.tq",
1027         "src/objects/scope-info.tq",
1028         "src/objects/script.tq",
1029         "src/objects/shared-function-info.tq",
1030         "src/objects/source-text-module.tq",
1031         "src/objects/string.tq",
1032         "src/objects/struct.tq",
1033         "src/objects/swiss-hash-table-helpers.tq",
1034         "src/objects/swiss-name-dictionary.tq",
1035         "src/objects/synthetic-module.tq",
1036         "src/objects/template-objects.tq",
1037         "src/objects/templates.tq",
1038         "src/objects/torque-defined-classes.tq",
1039         "src/objects/turbofan-types.tq",
1040         "src/objects/turboshaft-types.tq",
1041         "test/torque/test-torque.tq",
1042         "third_party/v8/builtins/array-sort.tq",
1043     ] + select({
1044         ":is_v8_enable_webassembly": [
1045             "src/builtins/js-to-wasm.tq",
1046             "src/builtins/wasm.tq",
1047             "src/builtins/wasm-strings.tq",
1048             "src/builtins/wasm-to-js.tq",
1049             "src/debug/debug-wasm-objects.tq",
1050             "src/wasm/wasm-objects.tq",
1051         ],
1052         "//conditions:default": [],
1053     }),
1054 )
1055
1056 filegroup(
1057     name = "icu/torque_files",
1058     srcs = [
1059         "src/objects/intl-objects.tq",
1060         "src/objects/js-break-iterator.tq",
1061         "src/objects/js-collator.tq",
1062         "src/objects/js-date-time-format.tq",
1063         "src/objects/js-display-names.tq",
1064         "src/objects/js-duration-format.tq",
1065         "src/objects/js-list-format.tq",
1066         "src/objects/js-locale.tq",
1067         "src/objects/js-number-format.tq",
1068         "src/objects/js-plural-rules.tq",
1069         "src/objects/js-relative-time-format.tq",
1070         "src/objects/js-segment-iterator.tq",
1071         "src/objects/js-segmenter.tq",
1072         "src/objects/js-segments.tq",
1073         ":noicu/torque_files",
1074     ],
1075 )
1076
1077 filegroup(
1078     name = "torque_base_files",
1079     srcs = [
1080         "src/numbers/integer-literal.h",
1081         "src/numbers/integer-literal-inl.h",
1082         "src/torque/ast.h",
1083         "src/torque/cc-generator.cc",
1084         "src/torque/cc-generator.h",
1085         "src/torque/cfg.cc",
1086         "src/torque/cfg.h",
1087         "src/torque/class-debug-reader-generator.cc",
1088         "src/torque/constants.h",
1089         "src/torque/cpp-builder.cc",
1090         "src/torque/cpp-builder.h",
1091         "src/torque/csa-generator.cc",
1092         "src/torque/csa-generator.h",
1093         "src/torque/declarable.cc",
1094         "src/torque/declarable.h",
1095         "src/torque/declaration-visitor.cc",
1096         "src/torque/declaration-visitor.h",
1097         "src/torque/declarations.cc",
1098         "src/torque/declarations.h",
1099         "src/torque/earley-parser.cc",
1100         "src/torque/earley-parser.h",
1101         "src/torque/global-context.cc",
1102         "src/torque/global-context.h",
1103         "src/torque/implementation-visitor.cc",
1104         "src/torque/implementation-visitor.h",
1105         "src/torque/instance-type-generator.cc",
1106         "src/torque/instructions.cc",
1107         "src/torque/instructions.h",
1108         "src/torque/kythe-data.cc",
1109         "src/torque/kythe-data.h",
1110         "src/torque/parameter-difference.h",
1111         "src/torque/server-data.cc",
1112         "src/torque/server-data.h",
1113         "src/torque/source-positions.cc",
1114         "src/torque/source-positions.h",
1115         "src/torque/torque-code-generator.cc",
1116         "src/torque/torque-code-generator.h",
1117         "src/torque/torque-compiler.cc",
1118         "src/torque/torque-compiler.h",
1119         "src/torque/torque-parser.cc",
1120         "src/torque/torque-parser.h",
1121         "src/torque/type-inference.cc",
1122         "src/torque/type-inference.h",
1123         "src/torque/type-oracle.cc",
1124         "src/torque/type-oracle.h",
1125         "src/torque/type-visitor.cc",
1126         "src/torque/type-visitor.h",
1127         "src/torque/types.cc",
1128         "src/torque/types.h",
1129         "src/torque/utils.cc",
1130         "src/torque/utils.h",
1131     ],
1132 )
1133
1134 # Default setting for v8_enable_pointer_compression when target is x64.
1135 selects.config_setting_group(
1136     name = "is_v8_enable_webassembly_on_non_android_posix_x64",
1137     match_all = [
1138         ":is_v8_enable_webassembly",
1139         "@v8//bazel/config:is_non_android_posix_x64",
1140     ],
1141 )
1142
1143 filegroup(
1144     name = "v8_base_without_compiler_files",
1145     srcs = [
1146         "include/cppgc/common.h",
1147         "include/v8-inspector.h",
1148         "include/v8-inspector-protocol.h",
1149         "include/v8-metrics.h",
1150         "include/v8-unwinder-state.h",
1151         "include/v8-wasm-trap-handler-posix.h",
1152         "src/api/api.cc",
1153         "src/api/api.h",
1154         "src/api/api-arguments.cc",
1155         "src/api/api-arguments.h",
1156         "src/api/api-arguments-inl.h",
1157         "src/api/api-inl.h",
1158         "src/api/api-macros.h",
1159         "src/api/api-macros-undef.h",
1160         "src/api/api-natives.cc",
1161         "src/api/api-natives.h",
1162         "src/asmjs/asm-js.h",
1163         "src/ast/ast.cc",
1164         "src/ast/ast.h",
1165         "src/ast/ast-function-literal-id-reindexer.cc",
1166         "src/ast/ast-function-literal-id-reindexer.h",
1167         "src/ast/ast-source-ranges.h",
1168         "src/ast/ast-traversal-visitor.h",
1169         "src/ast/ast-value-factory.cc",
1170         "src/ast/ast-value-factory.h",
1171         "src/ast/modules.cc",
1172         "src/ast/modules.h",
1173         "src/ast/prettyprinter.cc",
1174         "src/ast/prettyprinter.h",
1175         "src/ast/scopes.cc",
1176         "src/ast/scopes.h",
1177         "src/ast/source-range-ast-visitor.cc",
1178         "src/ast/source-range-ast-visitor.h",
1179         "src/ast/variables.cc",
1180         "src/ast/variables.h",
1181         "src/base/sanitizer/asan.h",
1182         "src/base/sanitizer/lsan-page-allocator.cc",
1183         "src/base/sanitizer/lsan-page-allocator.h",
1184         "src/base/sanitizer/lsan-virtual-address-space.cc",
1185         "src/base/sanitizer/lsan-virtual-address-space.h",
1186         "src/base/sanitizer/msan.h",
1187         "src/base/sanitizer/tsan.h",
1188         "src/baseline/baseline.cc",
1189         "src/baseline/baseline.h",
1190         "src/baseline/baseline-assembler.h",
1191         "src/baseline/baseline-assembler-inl.h",
1192         "src/baseline/baseline-batch-compiler.cc",
1193         "src/baseline/baseline-batch-compiler.h",
1194         "src/baseline/baseline-compiler.cc",
1195         "src/baseline/baseline-compiler.h",
1196         "src/baseline/bytecode-offset-iterator.cc",
1197         "src/baseline/bytecode-offset-iterator.h",
1198         "src/builtins/accessors.cc",
1199         "src/builtins/accessors.h",
1200         "src/builtins/builtins.cc",
1201         "src/builtins/builtins.h",
1202         "src/builtins/builtins-api.cc",
1203         "src/builtins/builtins-array.cc",
1204         "src/builtins/builtins-arraybuffer.cc",
1205         "src/builtins/builtins-async-module.cc",
1206         "src/builtins/builtins-atomics-synchronization.cc",
1207         "src/builtins/builtins-bigint.cc",
1208         "src/builtins/builtins-callsite.cc",
1209         "src/builtins/builtins-collections.cc",
1210         "src/builtins/builtins-console.cc",
1211         "src/builtins/builtins-constructor.h",
1212         "src/builtins/builtins-dataview.cc",
1213         "src/builtins/builtins-date.cc",
1214         "src/builtins/builtins-definitions.h",
1215         "src/builtins/builtins-descriptors.h",
1216         "src/builtins/builtins-error.cc",
1217         "src/builtins/builtins-function.cc",
1218         "src/builtins/builtins-global.cc",
1219         "src/builtins/builtins-internal.cc",
1220         "src/builtins/builtins-json.cc",
1221         "src/builtins/builtins-number.cc",
1222         "src/builtins/builtins-object.cc",
1223         "src/builtins/builtins-promise.h",
1224         "src/builtins/builtins-reflect.cc",
1225         "src/builtins/builtins-regexp.cc",
1226         "src/builtins/builtins-shadow-realm.cc",
1227         "src/builtins/builtins-shared-array.cc",
1228         "src/builtins/builtins-sharedarraybuffer.cc",
1229         "src/builtins/builtins-string.cc",
1230         "src/builtins/builtins-struct.cc",
1231         "src/builtins/builtins-symbol.cc",
1232         "src/builtins/builtins-temporal.cc",
1233         "src/builtins/builtins-trace.cc",
1234         "src/builtins/builtins-typed-array.cc",
1235         "src/builtins/builtins-utils.h",
1236         "src/builtins/builtins-utils-inl.h",
1237         "src/builtins/builtins-weak-refs.cc",
1238         "src/builtins/constants-table-builder.cc",
1239         "src/builtins/constants-table-builder.h",
1240         "src/builtins/profile-data-reader.h",
1241         "src/codegen/aligned-slot-allocator.cc",
1242         "src/codegen/aligned-slot-allocator.h",
1243         "src/codegen/assembler.cc",
1244         "src/codegen/assembler.h",
1245         "src/codegen/assembler-arch.h",
1246         "src/codegen/assembler-inl.h",
1247         "src/codegen/atomic-memory-order.h",
1248         "src/codegen/background-merge-task.h",
1249         "src/codegen/bailout-reason.cc",
1250         "src/codegen/bailout-reason.h",
1251         "src/codegen/callable.h",
1252         "src/codegen/code-comments.cc",
1253         "src/codegen/code-comments.h",
1254         "src/codegen/code-desc.cc",
1255         "src/codegen/code-desc.h",
1256         "src/codegen/code-factory.cc",
1257         "src/codegen/code-factory.h",
1258         "src/codegen/code-reference.cc",
1259         "src/codegen/code-reference.h",
1260         "src/codegen/compilation-cache.cc",
1261         "src/codegen/compilation-cache.h",
1262         "src/codegen/compiler.cc",
1263         "src/codegen/compiler.h",
1264         "src/codegen/constant-pool.cc",
1265         "src/codegen/constant-pool.h",
1266         "src/codegen/constants-arch.h",
1267         "src/codegen/cpu-features.h",
1268         "src/codegen/external-reference.cc",
1269         "src/codegen/external-reference.h",
1270         "src/codegen/external-reference-encoder.cc",
1271         "src/codegen/external-reference-encoder.h",
1272         "src/codegen/external-reference-table.cc",
1273         "src/codegen/external-reference-table.h",
1274         "src/codegen/flush-instruction-cache.cc",
1275         "src/codegen/flush-instruction-cache.h",
1276         "src/codegen/handler-table.cc",
1277         "src/codegen/handler-table.h",
1278         "src/codegen/interface-descriptors.cc",
1279         "src/codegen/interface-descriptors.h",
1280         "src/codegen/interface-descriptors-inl.h",
1281         "src/codegen/label.h",
1282         "src/codegen/linkage-location.h",
1283         "src/codegen/machine-type.cc",
1284         "src/codegen/machine-type.h",
1285         "src/codegen/macro-assembler.h",
1286         "src/codegen/macro-assembler-base.cc",
1287         "src/codegen/macro-assembler-base.h",
1288         "src/codegen/macro-assembler-inl.h",
1289         "src/codegen/maglev-safepoint-table.cc",
1290         "src/codegen/maglev-safepoint-table.h",
1291         "src/codegen/optimized-compilation-info.cc",
1292         "src/codegen/optimized-compilation-info.h",
1293         "src/codegen/pending-optimization-table.cc",
1294         "src/codegen/pending-optimization-table.h",
1295         "src/codegen/register.h",
1296         "src/codegen/register-arch.h",
1297         "src/codegen/register-base.h",
1298         "src/codegen/register-configuration.cc",
1299         "src/codegen/register-configuration.h",
1300         "src/codegen/reglist.h",
1301         "src/codegen/reglist-base.h",
1302         "src/codegen/reloc-info.cc",
1303         "src/codegen/reloc-info.h",
1304         "src/codegen/reloc-info-inl.h",
1305         "src/codegen/safepoint-table.cc",
1306         "src/codegen/safepoint-table.h",
1307         "src/codegen/safepoint-table-base.h",
1308         "src/codegen/script-details.h",
1309         "src/codegen/signature.h",
1310         "src/codegen/source-position.cc",
1311         "src/codegen/source-position.h",
1312         "src/codegen/source-position-table.cc",
1313         "src/codegen/source-position-table.h",
1314         "src/codegen/tick-counter.cc",
1315         "src/codegen/tick-counter.h",
1316         "src/codegen/tnode.cc",
1317         "src/codegen/tnode.h",
1318         "src/codegen/unoptimized-compilation-info.cc",
1319         "src/codegen/unoptimized-compilation-info.h",
1320         "src/common/assert-scope.cc",
1321         "src/common/assert-scope.h",
1322         "src/common/checks.h",
1323         "src/common/code-memory-access.cc",
1324         "src/common/code-memory-access.h",
1325         "src/common/code-memory-access-inl.h",
1326         "src/common/high-allocation-throughput-scope.h",
1327         "src/common/message-template.h",
1328         "src/common/operation.h",
1329         "src/common/ptr-compr.cc",
1330         "src/common/ptr-compr.h",
1331         "src/common/ptr-compr-inl.h",
1332         "src/compiler-dispatcher/lazy-compile-dispatcher.cc",
1333         "src/compiler-dispatcher/lazy-compile-dispatcher.h",
1334         "src/compiler-dispatcher/optimizing-compile-dispatcher.cc",
1335         "src/compiler-dispatcher/optimizing-compile-dispatcher.h",
1336         "src/compiler/turbofan.h",
1337         "src/date/date.cc",
1338         "src/date/date.h",
1339         "src/date/dateparser.cc",
1340         "src/date/dateparser.h",
1341         "src/date/dateparser-inl.h",
1342         "src/debug/debug.cc",
1343         "src/debug/debug.h",
1344         "src/debug/debug-coverage.cc",
1345         "src/debug/debug-coverage.h",
1346         "src/debug/debug-evaluate.cc",
1347         "src/debug/debug-evaluate.h",
1348         "src/debug/debug-frames.cc",
1349         "src/debug/debug-frames.h",
1350         "src/debug/debug-interface.cc",
1351         "src/debug/debug-interface.h",
1352         "src/debug/debug-property-iterator.cc",
1353         "src/debug/debug-property-iterator.h",
1354         "src/debug/debug-scope-iterator.cc",
1355         "src/debug/debug-scope-iterator.h",
1356         "src/debug/debug-scopes.cc",
1357         "src/debug/debug-scopes.h",
1358         "src/debug/debug-stack-trace-iterator.cc",
1359         "src/debug/debug-stack-trace-iterator.h",
1360         "src/debug/interface-types.h",
1361         "src/debug/liveedit.cc",
1362         "src/debug/liveedit.h",
1363         "src/debug/liveedit-diff.cc",
1364         "src/debug/liveedit-diff.h",
1365         "src/deoptimizer/deoptimize-reason.cc",
1366         "src/deoptimizer/deoptimize-reason.h",
1367         "src/deoptimizer/deoptimized-frame-info.cc",
1368         "src/deoptimizer/deoptimized-frame-info.h",
1369         "src/deoptimizer/deoptimizer.cc",
1370         "src/deoptimizer/deoptimizer.h",
1371         "src/deoptimizer/frame-description.h",
1372         "src/deoptimizer/frame-translation-builder.cc",
1373         "src/deoptimizer/frame-translation-builder.h",
1374         "src/deoptimizer/materialized-object-store.cc",
1375         "src/deoptimizer/materialized-object-store.h",
1376         "src/deoptimizer/translated-state.cc",
1377         "src/deoptimizer/translated-state.h",
1378         "src/deoptimizer/translation-opcode.h",
1379         "src/diagnostics/basic-block-profiler.cc",
1380         "src/diagnostics/basic-block-profiler.h",
1381         "src/diagnostics/code-tracer.h",
1382         "src/diagnostics/compilation-statistics.cc",
1383         "src/diagnostics/compilation-statistics.h",
1384         "src/diagnostics/disasm.h",
1385         "src/diagnostics/disassembler.cc",
1386         "src/diagnostics/disassembler.h",
1387         "src/diagnostics/eh-frame.cc",
1388         "src/diagnostics/eh-frame.h",
1389         "src/diagnostics/gdb-jit.cc",
1390         "src/diagnostics/gdb-jit.h",
1391         "src/diagnostics/objects-debug.cc",
1392         "src/diagnostics/objects-printer.cc",
1393         "src/diagnostics/perf-jit.cc",
1394         "src/diagnostics/perf-jit.h",
1395         "src/diagnostics/unwinder.cc",
1396         "src/diagnostics/unwinder.h",
1397         "src/execution/arguments.cc",
1398         "src/execution/arguments.h",
1399         "src/execution/arguments-inl.h",
1400         "src/execution/clobber-registers.cc",
1401         "src/execution/clobber-registers.h",
1402         "src/execution/embedder-state.cc",
1403         "src/execution/embedder-state.h",
1404         "src/execution/encoded-c-signature.cc",
1405         "src/execution/encoded-c-signature.h",
1406         "src/execution/execution.cc",
1407         "src/execution/execution.h",
1408         "src/execution/frame-constants.h",
1409         "src/execution/frames.cc",
1410         "src/execution/frames.h",
1411         "src/execution/frames-inl.h",
1412         "src/execution/futex-emulation.cc",
1413         "src/execution/futex-emulation.h",
1414         "src/execution/interrupts-scope.cc",
1415         "src/execution/interrupts-scope.h",
1416         "src/execution/isolate.cc",
1417         "src/execution/isolate.h",
1418         "src/execution/isolate-data.h",
1419         "src/execution/isolate-inl.h",
1420         "src/execution/isolate-utils.h",
1421         "src/execution/isolate-utils-inl.h",
1422         "src/execution/local-isolate.cc",
1423         "src/execution/local-isolate.h",
1424         "src/execution/local-isolate-inl.h",
1425         "src/execution/messages.cc",
1426         "src/execution/messages.h",
1427         "src/execution/microtask-queue.cc",
1428         "src/execution/microtask-queue.h",
1429         "src/execution/pointer-authentication.h",
1430         "src/execution/pointer-authentication-dummy.h",
1431         "src/execution/protectors.cc",
1432         "src/execution/protectors.h",
1433         "src/execution/protectors-inl.h",
1434         "src/execution/shared-mutex-guard-if-off-thread.h",
1435         "src/execution/simulator.h",
1436         "src/execution/simulator-base.cc",
1437         "src/execution/simulator-base.h",
1438         "src/execution/stack-guard.cc",
1439         "src/execution/stack-guard.h",
1440         "src/execution/thread-id.cc",
1441         "src/execution/thread-id.h",
1442         "src/execution/thread-local-top.cc",
1443         "src/execution/thread-local-top.h",
1444         "src/execution/tiering-manager.cc",
1445         "src/execution/tiering-manager.h",
1446         "src/execution/v8threads.cc",
1447         "src/execution/v8threads.h",
1448         "src/execution/vm-state.h",
1449         "src/execution/vm-state-inl.h",
1450         "src/extensions/cputracemark-extension.cc",
1451         "src/extensions/cputracemark-extension.h",
1452         "src/extensions/externalize-string-extension.cc",
1453         "src/extensions/externalize-string-extension.h",
1454         "src/extensions/gc-extension.cc",
1455         "src/extensions/gc-extension.h",
1456         "src/extensions/ignition-statistics-extension.cc",
1457         "src/extensions/ignition-statistics-extension.h",
1458         "src/extensions/statistics-extension.cc",
1459         "src/extensions/statistics-extension.h",
1460         "src/extensions/trigger-failure-extension.cc",
1461         "src/extensions/trigger-failure-extension.h",
1462         "src/flags/flag-definitions.h",
1463         "src/flags/flags.cc",
1464         "src/flags/flags.h",
1465         "src/handles/global-handles.cc",
1466         "src/handles/global-handles.h",
1467         "src/handles/global-handles-inl.h",
1468         "src/handles/handles.cc",
1469         "src/handles/handles.h",
1470         "src/handles/handles-inl.h",
1471         "src/handles/local-handles.cc",
1472         "src/handles/local-handles.h",
1473         "src/handles/local-handles-inl.h",
1474         "src/handles/maybe-handles.h",
1475         "src/handles/maybe-handles-inl.h",
1476         "src/handles/persistent-handles.cc",
1477         "src/handles/persistent-handles.h",
1478         "src/handles/shared-object-conveyor-handles.cc",
1479         "src/handles/shared-object-conveyor-handles.h",
1480         "src/handles/traced-handles.cc",
1481         "src/handles/traced-handles.h",
1482         "src/heap/allocation-observer.cc",
1483         "src/heap/allocation-observer.h",
1484         "src/heap/allocation-result.h",
1485         "src/heap/allocation-stats.h",
1486         "src/heap/array-buffer-sweeper.cc",
1487         "src/heap/array-buffer-sweeper.h",
1488         "src/heap/base-space.h",
1489         "src/heap/base/active-system-pages.cc",
1490         "src/heap/base/active-system-pages.h",
1491         "src/heap/basic-memory-chunk.cc",
1492         "src/heap/basic-memory-chunk.h",
1493         "src/heap/code-range.cc",
1494         "src/heap/code-range.h",
1495         "src/heap/trusted-range.cc",
1496         "src/heap/trusted-range.h",
1497         "src/heap/code-stats.cc",
1498         "src/heap/code-stats.h",
1499         "src/heap/collection-barrier.cc",
1500         "src/heap/collection-barrier.h",
1501         "src/heap/combined-heap.cc",
1502         "src/heap/combined-heap.h",
1503         "src/heap/concurrent-allocator.cc",
1504         "src/heap/concurrent-allocator.h",
1505         "src/heap/concurrent-allocator-inl.h",
1506         "src/heap/concurrent-marking.cc",
1507         "src/heap/concurrent-marking.h",
1508         "src/heap/cppgc-js/cpp-heap.cc",
1509         "src/heap/cppgc-js/cpp-heap.h",
1510         "src/heap/cppgc-js/cpp-marking-state.h",
1511         "src/heap/cppgc-js/cpp-marking-state-inl.h",
1512         "src/heap/cppgc-js/cpp-snapshot.cc",
1513         "src/heap/cppgc-js/cpp-snapshot.h",
1514         "src/heap/cppgc-js/cross-heap-remembered-set.cc",
1515         "src/heap/cppgc-js/cross-heap-remembered-set.h",
1516         "src/heap/cppgc-js/unified-heap-marking-state.cc",
1517         "src/heap/cppgc-js/unified-heap-marking-state.h",
1518         "src/heap/cppgc-js/unified-heap-marking-state-inl.h",
1519         "src/heap/cppgc-js/unified-heap-marking-verifier.cc",
1520         "src/heap/cppgc-js/unified-heap-marking-verifier.h",
1521         "src/heap/cppgc-js/unified-heap-marking-visitor.cc",
1522         "src/heap/cppgc-js/unified-heap-marking-visitor.h",
1523         "src/heap/cppgc-js/wrappable-info.h",
1524         "src/heap/cppgc-js/wrappable-info-inl.h",
1525         "src/heap/ephemeron-remembered-set.h",
1526         "src/heap/ephemeron-remembered-set.cc",
1527         "src/heap/evacuation-allocator.cc",
1528         "src/heap/evacuation-allocator.h",
1529         "src/heap/evacuation-allocator-inl.h",
1530         "src/heap/evacuation-verifier.cc",
1531         "src/heap/evacuation-verifier.h",
1532         "src/heap/evacuation-verifier-inl.h",
1533         "src/heap/factory.cc",
1534         "src/heap/factory.h",
1535         "src/heap/factory-base.cc",
1536         "src/heap/factory-base.h",
1537         "src/heap/factory-base-inl.h",
1538         "src/heap/factory-inl.h",
1539         "src/heap/finalization-registry-cleanup-task.cc",
1540         "src/heap/finalization-registry-cleanup-task.h",
1541         "src/heap/free-list.cc",
1542         "src/heap/free-list.h",
1543         "src/heap/free-list-inl.h",
1544         "src/heap/gc-callbacks.h",
1545         "src/heap/gc-idle-time-handler.cc",
1546         "src/heap/gc-idle-time-handler.h",
1547         "src/heap/gc-tracer.cc",
1548         "src/heap/gc-tracer.h",
1549         "src/heap/gc-tracer-inl.h",
1550         "src/heap/heap.cc",
1551         "src/heap/heap.h",
1552         "src/heap/heap-allocator.cc",
1553         "src/heap/heap-allocator.h",
1554         "src/heap/heap-allocator-inl.h",
1555         "src/heap/heap-controller.cc",
1556         "src/heap/heap-controller.h",
1557         "src/heap/heap-inl.h",
1558         "src/heap/heap-layout-tracer.cc",
1559         "src/heap/heap-layout-tracer.h",
1560         "src/heap/heap-verifier.cc",
1561         "src/heap/heap-verifier.h",
1562         "src/heap/heap-write-barrier.cc",
1563         "src/heap/heap-write-barrier.h",
1564         "src/heap/heap-write-barrier-inl.h",
1565         "src/heap/incremental-marking.cc",
1566         "src/heap/incremental-marking.h",
1567         "src/heap/incremental-marking-inl.h",
1568         "src/heap/incremental-marking-job.cc",
1569         "src/heap/incremental-marking-job.h",
1570         "src/heap/index-generator.cc",
1571         "src/heap/index-generator.h",
1572         "src/heap/large-page.cc",
1573         "src/heap/large-page.h",
1574         "src/heap/large-spaces.cc",
1575         "src/heap/large-spaces.h",
1576         "src/heap/linear-allocation-area.h",
1577         "src/heap/list.h",
1578         "src/heap/local-factory.cc",
1579         "src/heap/local-factory.h",
1580         "src/heap/local-factory-inl.h",
1581         "src/heap/local-heap.cc",
1582         "src/heap/local-heap.h",
1583         "src/heap/local-heap-inl.h",
1584         "src/heap/main-allocator.cc",
1585         "src/heap/main-allocator.h",
1586         "src/heap/main-allocator-inl.h",
1587         "src/heap/mark-compact.cc",
1588         "src/heap/mark-compact.h",
1589         "src/heap/mark-compact-inl.h",
1590         "src/heap/mark-sweep-utilities.cc",
1591         "src/heap/mark-sweep-utilities.h",
1592         "src/heap/minor-mark-sweep.cc",
1593         "src/heap/minor-mark-sweep.h",
1594         "src/heap/minor-mark-sweep-inl.h",
1595         "src/heap/marking.cc",
1596         "src/heap/marking.h",
1597         "src/heap/marking-inl.h",
1598         "src/heap/marking-barrier.cc",
1599         "src/heap/marking-barrier.h",
1600         "src/heap/marking-barrier-inl.h",
1601         "src/heap/marking-state.h",
1602         "src/heap/marking-state-inl.h",
1603         "src/heap/marking-visitor.h",
1604         "src/heap/marking-visitor-inl.h",
1605         "src/heap/marking-worklist.cc",
1606         "src/heap/marking-worklist.h",
1607         "src/heap/marking-worklist-inl.h",
1608         "src/heap/memory-allocator.cc",
1609         "src/heap/memory-allocator.h",
1610         "src/heap/memory-balancer.cc",
1611         "src/heap/memory-balancer.h",
1612         "src/heap/memory-chunk.cc",
1613         "src/heap/memory-chunk.h",
1614         "src/heap/memory-chunk-inl.h",
1615         "src/heap/memory-chunk-layout.cc",
1616         "src/heap/memory-chunk-layout.h",
1617         "src/heap/memory-measurement.cc",
1618         "src/heap/memory-measurement.h",
1619         "src/heap/memory-measurement-inl.h",
1620         "src/heap/memory-reducer.cc",
1621         "src/heap/memory-reducer.h",
1622         "src/heap/minor-gc-job.cc",
1623         "src/heap/minor-gc-job.h",
1624         "src/heap/new-spaces.cc",
1625         "src/heap/new-spaces.h",
1626         "src/heap/new-spaces-inl.h",
1627         "src/heap/object-lock.h",
1628         "src/heap/object-stats.cc",
1629         "src/heap/object-stats.h",
1630         "src/heap/objects-visiting.cc",
1631         "src/heap/objects-visiting.h",
1632         "src/heap/objects-visiting-inl.h",
1633         "src/heap/page.cc",
1634         "src/heap/page.h",
1635         "src/heap/page-inl.h",
1636         "src/heap/paged-spaces.cc",
1637         "src/heap/paged-spaces.h",
1638         "src/heap/paged-spaces-inl.h",
1639         "src/heap/parallel-work-item.h",
1640         "src/heap/parked-scope-inl.h",
1641         "src/heap/parked-scope.h",
1642         "src/heap/pretenuring-handler.cc",
1643         "src/heap/pretenuring-handler.h",
1644         "src/heap/pretenuring-handler-inl.h",
1645         "src/heap/progress-bar.h",
1646         "src/heap/read-only-heap.cc",
1647         "src/heap/read-only-heap.h",
1648         "src/heap/read-only-heap-inl.h",
1649         "src/heap/read-only-promotion.cc",
1650         "src/heap/read-only-promotion.h",
1651         "src/heap/read-only-spaces.cc",
1652         "src/heap/read-only-spaces.h",
1653         "src/heap/remembered-set.h",
1654         "src/heap/remembered-set-inl.h",
1655         "src/heap/safepoint.cc",
1656         "src/heap/safepoint.h",
1657         "src/heap/scavenger.cc",
1658         "src/heap/scavenger.h",
1659         "src/heap/scavenger-inl.h",
1660         "src/heap/slot-set.cc",
1661         "src/heap/slot-set.h",
1662         "src/heap/spaces.cc",
1663         "src/heap/spaces.h",
1664         "src/heap/spaces-inl.h",
1665         "src/heap/stress-scavenge-observer.cc",
1666         "src/heap/stress-scavenge-observer.h",
1667         "src/heap/sweeper.cc",
1668         "src/heap/sweeper.h",
1669         "src/heap/third-party/heap-api.h",
1670         "src/heap/third-party/heap-api-stub.cc",
1671         "src/heap/traced-handles-marking-visitor.cc",
1672         "src/heap/traced-handles-marking-visitor.h",
1673         "src/heap/weak-object-worklists.cc",
1674         "src/heap/weak-object-worklists.h",
1675         "src/heap/young-generation-marking-visitor.h",
1676         "src/heap/young-generation-marking-visitor-inl.h",
1677         "src/heap/zapping.cc",
1678         "src/heap/zapping.h",
1679         "src/ic/call-optimization.cc",
1680         "src/ic/call-optimization.h",
1681         "src/ic/handler-configuration.cc",
1682         "src/ic/handler-configuration.h",
1683         "src/ic/handler-configuration-inl.h",
1684         "src/ic/ic.cc",
1685         "src/ic/ic.h",
1686         "src/ic/ic-inl.h",
1687         "src/ic/ic-stats.cc",
1688         "src/ic/ic-stats.h",
1689         "src/ic/stub-cache.cc",
1690         "src/ic/stub-cache.h",
1691         "src/init/bootstrapper.cc",
1692         "src/init/bootstrapper.h",
1693         "src/init/heap-symbols.h",
1694         "src/init/icu_util.cc",
1695         "src/init/icu_util.h",
1696         "src/init/isolate-allocator.cc",
1697         "src/init/isolate-allocator.h",
1698         "src/init/setup-isolate.h",
1699         "src/init/startup-data-util.cc",
1700         "src/init/startup-data-util.h",
1701         "src/init/v8.cc",
1702         "src/init/v8.h",
1703         "src/interpreter/block-coverage-builder.h",
1704         "src/interpreter/bytecode-array-builder.cc",
1705         "src/interpreter/bytecode-array-builder.h",
1706         "src/interpreter/bytecode-array-iterator.cc",
1707         "src/interpreter/bytecode-array-iterator.h",
1708         "src/interpreter/bytecode-array-random-iterator.cc",
1709         "src/interpreter/bytecode-array-random-iterator.h",
1710         "src/interpreter/bytecode-array-writer.cc",
1711         "src/interpreter/bytecode-array-writer.h",
1712         "src/interpreter/bytecode-decoder.cc",
1713         "src/interpreter/bytecode-decoder.h",
1714         "src/interpreter/bytecode-flags.cc",
1715         "src/interpreter/bytecode-flags.h",
1716         "src/interpreter/bytecode-generator.cc",
1717         "src/interpreter/bytecode-generator.h",
1718         "src/interpreter/bytecode-jump-table.h",
1719         "src/interpreter/bytecode-label.cc",
1720         "src/interpreter/bytecode-label.h",
1721         "src/interpreter/bytecode-node.cc",
1722         "src/interpreter/bytecode-node.h",
1723         "src/interpreter/bytecode-operands.cc",
1724         "src/interpreter/bytecode-operands.h",
1725         "src/interpreter/bytecode-register.cc",
1726         "src/interpreter/bytecode-register.h",
1727         "src/interpreter/bytecode-register-allocator.h",
1728         "src/interpreter/bytecode-register-optimizer.cc",
1729         "src/interpreter/bytecode-register-optimizer.h",
1730         "src/interpreter/bytecode-source-info.cc",
1731         "src/interpreter/bytecode-source-info.h",
1732         "src/interpreter/bytecode-traits.h",
1733         "src/interpreter/bytecodes.cc",
1734         "src/interpreter/bytecodes.h",
1735         "src/interpreter/constant-array-builder.cc",
1736         "src/interpreter/constant-array-builder.h",
1737         "src/interpreter/control-flow-builders.cc",
1738         "src/interpreter/control-flow-builders.h",
1739         "src/interpreter/handler-table-builder.cc",
1740         "src/interpreter/handler-table-builder.h",
1741         "src/interpreter/interpreter.cc",
1742         "src/interpreter/interpreter.h",
1743         "src/interpreter/interpreter-generator.h",
1744         "src/interpreter/interpreter-intrinsics.cc",
1745         "src/interpreter/interpreter-intrinsics.h",
1746         "src/json/json-parser.cc",
1747         "src/json/json-parser.h",
1748         "src/json/json-stringifier.cc",
1749         "src/json/json-stringifier.h",
1750         "src/logging/code-events.h",
1751         "src/logging/counters.cc",
1752         "src/logging/counters.h",
1753         "src/logging/counters-definitions.h",
1754         "src/logging/counters-scopes.h",
1755         "src/logging/local-logger.cc",
1756         "src/logging/local-logger.h",
1757         "src/logging/log.cc",
1758         "src/logging/log.h",
1759         "src/logging/log-file.cc",
1760         "src/logging/log-file.h",
1761         "src/logging/log-inl.h",
1762         "src/logging/metrics.cc",
1763         "src/logging/metrics.h",
1764         "src/logging/runtime-call-stats.h",
1765         "src/logging/runtime-call-stats-scope.h",
1766         "src/logging/tracing-flags.cc",
1767         "src/logging/tracing-flags.h",
1768         "src/numbers/conversions.cc",
1769         "src/numbers/conversions.h",
1770         "src/numbers/conversions-inl.h",
1771         "src/numbers/hash-seed-inl.h",
1772         "src/numbers/integer-literal.h",
1773         "src/numbers/integer-literal-inl.h",
1774         "src/numbers/math-random.cc",
1775         "src/numbers/math-random.h",
1776         "src/objects/abstract-code.cc",
1777         "src/objects/abstract-code.h",
1778         "src/objects/abstract-code-inl.h",
1779         "src/objects/all-objects-inl.h",
1780         "src/objects/allocation-site.h",
1781         "src/objects/allocation-site-inl.h",
1782         "src/objects/allocation-site-scopes.h",
1783         "src/objects/allocation-site-scopes-inl.h",
1784         "src/objects/api-callbacks.h",
1785         "src/objects/api-callbacks-inl.h",
1786         "src/objects/arguments.h",
1787         "src/objects/arguments-inl.h",
1788         "src/objects/backing-store.cc",
1789         "src/objects/backing-store.h",
1790         "src/objects/bigint.cc",
1791         "src/objects/bigint.h",
1792         "src/objects/bigint-inl.h",
1793         "src/objects/bytecode-array.cc",
1794         "src/objects/bytecode-array.h",
1795         "src/objects/bytecode-array-inl.h",
1796         "src/objects/call-site-info.cc",
1797         "src/objects/call-site-info.h",
1798         "src/objects/call-site-info-inl.h",
1799         "src/objects/cell.h",
1800         "src/objects/cell-inl.h",
1801         "src/objects/code.cc",
1802         "src/objects/code.h",
1803         "src/objects/code-inl.h",
1804         "src/objects/code-kind.cc",
1805         "src/objects/code-kind.h",
1806         "src/objects/compilation-cache-table.cc",
1807         "src/objects/compilation-cache-table.h",
1808         "src/objects/compilation-cache-table-inl.h",
1809         "src/objects/compressed-slots.h",
1810         "src/objects/compressed-slots-inl.h",
1811         "src/objects/contexts.cc",
1812         "src/objects/contexts.h",
1813         "src/objects/contexts-inl.h",
1814         "src/objects/data-handler.h",
1815         "src/objects/data-handler-inl.h",
1816         "src/objects/debug-objects.cc",
1817         "src/objects/debug-objects.h",
1818         "src/objects/debug-objects-inl.h",
1819         "src/objects/deoptimization-data.cc",
1820         "src/objects/deoptimization-data.h",
1821         "src/objects/deoptimization-data-inl.h",
1822         "src/objects/dependent-code.cc",
1823         "src/objects/dependent-code.h",
1824         "src/objects/dependent-code-inl.h",
1825         "src/objects/descriptor-array.h",
1826         "src/objects/descriptor-array-inl.h",
1827         "src/objects/dictionary.h",
1828         "src/objects/dictionary-inl.h",
1829         "src/objects/elements.cc",
1830         "src/objects/elements.h",
1831         "src/objects/elements-inl.h",
1832         "src/objects/elements-kind.cc",
1833         "src/objects/elements-kind.h",
1834         "src/objects/embedder-data-array.cc",
1835         "src/objects/embedder-data-array.h",
1836         "src/objects/embedder-data-array-inl.h",
1837         "src/objects/embedder-data-slot.h",
1838         "src/objects/embedder-data-slot-inl.h",
1839         "src/objects/feedback-cell.h",
1840         "src/objects/feedback-cell-inl.h",
1841         "src/objects/feedback-vector.cc",
1842         "src/objects/feedback-vector.h",
1843         "src/objects/feedback-vector-inl.h",
1844         "src/objects/field-index.h",
1845         "src/objects/field-index-inl.h",
1846         "src/objects/field-type.cc",
1847         "src/objects/field-type.h",
1848         "src/objects/fixed-array.cc",
1849         "src/objects/fixed-array.h",
1850         "src/objects/fixed-array-inl.h",
1851         "src/objects/foreign.h",
1852         "src/objects/foreign-inl.h",
1853         "src/objects/free-space.h",
1854         "src/objects/free-space-inl.h",
1855         "src/objects/function-kind.h",
1856         "src/objects/function-syntax-kind.h",
1857         "src/objects/hash-table.h",
1858         "src/objects/hash-table-inl.h",
1859         "src/objects/heap-number.h",
1860         "src/objects/heap-number-inl.h",
1861         "src/objects/heap-object.h",
1862         "src/objects/heap-object-inl.h",
1863         "src/objects/instance-type.h",
1864         "src/objects/instance-type-checker.h",
1865         "src/objects/instance-type-inl.h",
1866         "src/objects/internal-index.h",
1867         "src/objects/instruction-stream.cc",
1868         "src/objects/instruction-stream.h",
1869         "src/objects/instruction-stream-inl.h",
1870         "src/objects/js-array.h",
1871         "src/objects/js-array-buffer.cc",
1872         "src/objects/js-array-buffer.h",
1873         "src/objects/js-array-buffer-inl.h",
1874         "src/objects/js-array-inl.h",
1875         "src/objects/js-atomics-synchronization.cc",
1876         "src/objects/js-atomics-synchronization.h",
1877         "src/objects/js-atomics-synchronization-inl.h",
1878         "src/objects/js-collection.h",
1879         "src/objects/js-collection-inl.h",
1880         "src/objects/js-collection-iterator.h",
1881         "src/objects/js-collection-iterator-inl.h",
1882         "src/objects/js-function.cc",
1883         "src/objects/js-function.h",
1884         "src/objects/js-function-inl.h",
1885         "src/objects/js-generator.h",
1886         "src/objects/js-generator-inl.h",
1887         "src/objects/js-iterator-helpers.h",
1888         "src/objects/js-iterator-helpers-inl.h",
1889         "src/objects/js-objects.cc",
1890         "src/objects/js-objects.h",
1891         "src/objects/js-objects-inl.h",
1892         "src/objects/js-promise.h",
1893         "src/objects/js-promise-inl.h",
1894         "src/objects/js-proxy.h",
1895         "src/objects/js-proxy-inl.h",
1896         "src/objects/js-raw-json.cc",
1897         "src/objects/js-raw-json.h",
1898         "src/objects/js-raw-json-inl.h",
1899         "src/objects/js-regexp.cc",
1900         "src/objects/js-regexp.h",
1901         "src/objects/js-regexp-inl.h",
1902         "src/objects/js-regexp-string-iterator.h",
1903         "src/objects/js-regexp-string-iterator-inl.h",
1904         "src/objects/js-shadow-realm.h",
1905         "src/objects/js-shadow-realm-inl.h",
1906         "src/objects/js-shared-array.h",
1907         "src/objects/js-shared-array-inl.h",
1908         "src/objects/js-struct.cc",
1909         "src/objects/js-struct.h",
1910         "src/objects/js-struct-inl.h",
1911         "src/objects/js-temporal-objects.cc",
1912         "src/objects/js-temporal-objects.h",
1913         "src/objects/js-temporal-objects-inl.h",
1914         "src/objects/js-weak-refs.h",
1915         "src/objects/js-weak-refs-inl.h",
1916         "src/objects/keys.cc",
1917         "src/objects/keys.h",
1918         "src/objects/literal-objects.cc",
1919         "src/objects/literal-objects.h",
1920         "src/objects/literal-objects-inl.h",
1921         "src/objects/lookup.cc",
1922         "src/objects/lookup.h",
1923         "src/objects/lookup-cache.cc",
1924         "src/objects/lookup-cache.h",
1925         "src/objects/lookup-cache-inl.h",
1926         "src/objects/lookup-inl.h",
1927         "src/objects/managed.cc",
1928         "src/objects/managed.h",
1929         "src/objects/managed-inl.h",
1930         "src/objects/map.cc",
1931         "src/objects/map.h",
1932         "src/objects/map-inl.h",
1933         "src/objects/map-updater.cc",
1934         "src/objects/map-updater.h",
1935         "src/objects/maybe-object.h",
1936         "src/objects/maybe-object-inl.h",
1937         "src/objects/megadom-handler.h",
1938         "src/objects/megadom-handler-inl.h",
1939         "src/objects/microtask.h",
1940         "src/objects/microtask-inl.h",
1941         "src/objects/module.cc",
1942         "src/objects/module.h",
1943         "src/objects/module-inl.h",
1944         "src/objects/name.h",
1945         "src/objects/name-inl.h",
1946         "src/objects/object-list-macros.h",
1947         "src/objects/object-macros.h",
1948         "src/objects/object-macros-undef.h",
1949         "src/objects/object-type.cc",
1950         "src/objects/object-type.h",
1951         "src/objects/objects.cc",
1952         "src/objects/objects.h",
1953         "src/objects/objects-body-descriptors.h",
1954         "src/objects/objects-body-descriptors-inl.h",
1955         "src/objects/objects-definitions.h",
1956         "src/objects/objects-inl.h",
1957         "src/objects/oddball.h",
1958         "src/objects/oddball-inl.h",
1959         "src/objects/hole.h",
1960         "src/objects/trusted-object.h",
1961         "src/objects/trusted-object-inl.h",
1962         "src/objects/hole-inl.h",
1963         "src/objects/option-utils.cc",
1964         "src/objects/option-utils.h",
1965         "src/objects/ordered-hash-table.cc",
1966         "src/objects/ordered-hash-table.h",
1967         "src/objects/ordered-hash-table-inl.h",
1968         "src/objects/primitive-heap-object.h",
1969         "src/objects/primitive-heap-object-inl.h",
1970         "src/objects/promise.h",
1971         "src/objects/promise-inl.h",
1972         "src/objects/property.cc",
1973         "src/objects/property.h",
1974         "src/objects/property-array.h",
1975         "src/objects/property-array-inl.h",
1976         "src/objects/property-cell.h",
1977         "src/objects/property-cell-inl.h",
1978         "src/objects/property-descriptor.cc",
1979         "src/objects/property-descriptor.h",
1980         "src/objects/property-descriptor-object.h",
1981         "src/objects/property-descriptor-object-inl.h",
1982         "src/objects/property-details.h",
1983         "src/objects/prototype.h",
1984         "src/objects/prototype-info.h",
1985         "src/objects/prototype-info-inl.h",
1986         "src/objects/prototype-inl.h",
1987         "src/objects/regexp-match-info.cc",
1988         "src/objects/regexp-match-info.h",
1989         "src/objects/regexp-match-info-inl.h",
1990         "src/objects/scope-info.cc",
1991         "src/objects/scope-info.h",
1992         "src/objects/scope-info-inl.h",
1993         "src/objects/script.h",
1994         "src/objects/script-inl.h",
1995         "src/objects/shared-function-info.cc",
1996         "src/objects/shared-function-info.h",
1997         "src/objects/shared-function-info-inl.h",
1998         "src/objects/simd.cc",
1999         "src/objects/simd.h",
2000         "src/objects/slots.h",
2001         "src/objects/slots-atomic-inl.h",
2002         "src/objects/slots-inl.h",
2003         "src/objects/smi.h",
2004         "src/objects/smi-inl.h",
2005         "src/objects/source-text-module.cc",
2006         "src/objects/source-text-module.h",
2007         "src/objects/source-text-module-inl.h",
2008         "src/objects/string.cc",
2009         "src/objects/string.h",
2010         "src/objects/string-comparator.cc",
2011         "src/objects/string-comparator.h",
2012         "src/objects/string-forwarding-table.cc",
2013         "src/objects/string-forwarding-table.h",
2014         "src/objects/string-forwarding-table-inl.h",
2015         "src/objects/string-inl.h",
2016         "src/objects/string-set.h",
2017         "src/objects/string-set-inl.h",
2018         "src/objects/string-table.cc",
2019         "src/objects/string-table.h",
2020         "src/objects/string-table-inl.h",
2021         "src/objects/struct.h",
2022         "src/objects/struct-inl.h",
2023         "src/objects/swiss-hash-table-helpers.h",
2024         "src/objects/swiss-name-dictionary.cc",
2025         "src/objects/swiss-name-dictionary.h",
2026         "src/objects/swiss-name-dictionary-inl.h",
2027         "src/objects/symbol-table.cc",
2028         "src/objects/synthetic-module.cc",
2029         "src/objects/synthetic-module.h",
2030         "src/objects/synthetic-module-inl.h",
2031         "src/objects/tagged.h",
2032         "src/objects/tagged-field.h",
2033         "src/objects/tagged-field-inl.h",
2034         "src/objects/tagged-impl.cc",
2035         "src/objects/tagged-impl.h",
2036         "src/objects/tagged-impl-inl.h",
2037         "src/objects/tagged-index.h",
2038         "src/objects/tagged-value.h",
2039         "src/objects/tagged-value-inl.h",
2040         "src/objects/template-objects.cc",
2041         "src/objects/template-objects.h",
2042         "src/objects/template-objects-inl.h",
2043         "src/objects/templates.cc",
2044         "src/objects/templates.h",
2045         "src/objects/templates-inl.h",
2046         "src/objects/torque-defined-classes.h",
2047         "src/objects/torque-defined-classes-inl.h",
2048         "src/objects/transitions.cc",
2049         "src/objects/transitions.h",
2050         "src/objects/transitions-inl.h",
2051         "src/objects/turbofan-types.h",
2052         "src/objects/turbofan-types-inl.h",
2053         "src/objects/turboshaft-types.h",
2054         "src/objects/turboshaft-types-inl.h",
2055         "src/objects/type-hints.cc",
2056         "src/objects/type-hints.h",
2057         "src/objects/value-serializer.cc",
2058         "src/objects/value-serializer.h",
2059         "src/objects/visitors.cc",
2060         "src/objects/visitors.h",
2061         "src/objects/visitors-inl.h",
2062         "src/parsing/expression-scope.h",
2063         "src/parsing/func-name-inferrer.cc",
2064         "src/parsing/func-name-inferrer.h",
2065         "src/parsing/import-assertions.cc",
2066         "src/parsing/import-assertions.h",
2067         "src/parsing/keywords-gen.h",
2068         "src/parsing/literal-buffer.cc",
2069         "src/parsing/literal-buffer.h",
2070         "src/parsing/parse-info.cc",
2071         "src/parsing/parse-info.h",
2072         "src/parsing/parser.cc",
2073         "src/parsing/parser.h",
2074         "src/parsing/parser-base.h",
2075         "src/parsing/parsing.cc",
2076         "src/parsing/parsing.h",
2077         "src/parsing/pending-compilation-error-handler.cc",
2078         "src/parsing/pending-compilation-error-handler.h",
2079         "src/parsing/preparse-data.cc",
2080         "src/parsing/preparse-data.h",
2081         "src/parsing/preparse-data-impl.h",
2082         "src/parsing/preparser.cc",
2083         "src/parsing/preparser.h",
2084         "src/parsing/preparser-logger.h",
2085         "src/parsing/rewriter.cc",
2086         "src/parsing/rewriter.h",
2087         "src/parsing/scanner.cc",
2088         "src/parsing/scanner.h",
2089         "src/parsing/scanner-character-streams.cc",
2090         "src/parsing/scanner-character-streams.h",
2091         "src/parsing/scanner-inl.h",
2092         "src/parsing/token.cc",
2093         "src/parsing/token.h",
2094         "src/profiler/allocation-tracker.cc",
2095         "src/profiler/allocation-tracker.h",
2096         "src/profiler/circular-queue.h",
2097         "src/profiler/circular-queue-inl.h",
2098         "src/profiler/cpu-profiler.cc",
2099         "src/profiler/cpu-profiler.h",
2100         "src/profiler/cpu-profiler-inl.h",
2101         "src/profiler/heap-profiler.cc",
2102         "src/profiler/heap-profiler.h",
2103         "src/profiler/heap-snapshot-generator.cc",
2104         "src/profiler/heap-snapshot-generator.h",
2105         "src/profiler/heap-snapshot-generator-inl.h",
2106         "src/profiler/output-stream-writer.h",
2107         "src/profiler/profile-generator.cc",
2108         "src/profiler/profile-generator.h",
2109         "src/profiler/profile-generator-inl.h",
2110         "src/profiler/profiler-listener.cc",
2111         "src/profiler/profiler-listener.h",
2112         "src/profiler/profiler-stats.cc",
2113         "src/profiler/profiler-stats.h",
2114         "src/profiler/sampling-heap-profiler.cc",
2115         "src/profiler/sampling-heap-profiler.h",
2116         "src/profiler/strings-storage.cc",
2117         "src/profiler/strings-storage.h",
2118         "src/profiler/symbolizer.cc",
2119         "src/profiler/symbolizer.h",
2120         "src/profiler/tick-sample.cc",
2121         "src/profiler/tick-sample.h",
2122         "src/profiler/tracing-cpu-profiler.cc",
2123         "src/profiler/tracing-cpu-profiler.h",
2124         "src/profiler/weak-code-registry.cc",
2125         "src/profiler/weak-code-registry.h",
2126         "src/regexp/experimental/experimental.cc",
2127         "src/regexp/experimental/experimental.h",
2128         "src/regexp/experimental/experimental-bytecode.cc",
2129         "src/regexp/experimental/experimental-bytecode.h",
2130         "src/regexp/experimental/experimental-compiler.cc",
2131         "src/regexp/experimental/experimental-compiler.h",
2132         "src/regexp/experimental/experimental-interpreter.cc",
2133         "src/regexp/experimental/experimental-interpreter.h",
2134         "src/regexp/regexp.cc",
2135         "src/regexp/regexp.h",
2136         "src/regexp/regexp-ast.cc",
2137         "src/regexp/regexp-ast.h",
2138         "src/regexp/regexp-bytecode-generator.cc",
2139         "src/regexp/regexp-bytecode-generator.h",
2140         "src/regexp/regexp-bytecode-generator-inl.h",
2141         "src/regexp/regexp-bytecode-peephole.cc",
2142         "src/regexp/regexp-bytecode-peephole.h",
2143         "src/regexp/regexp-bytecodes.cc",
2144         "src/regexp/regexp-bytecodes.h",
2145         "src/regexp/regexp-compiler.cc",
2146         "src/regexp/regexp-compiler.h",
2147         "src/regexp/regexp-compiler-tonode.cc",
2148         "src/regexp/regexp-dotprinter.cc",
2149         "src/regexp/regexp-dotprinter.h",
2150         "src/regexp/regexp-error.cc",
2151         "src/regexp/regexp-error.h",
2152         "src/regexp/regexp-flags.h",
2153         "src/regexp/regexp-interpreter.cc",
2154         "src/regexp/regexp-interpreter.h",
2155         "src/regexp/regexp-macro-assembler.cc",
2156         "src/regexp/regexp-macro-assembler.h",
2157         "src/regexp/regexp-macro-assembler-arch.h",
2158         "src/regexp/regexp-macro-assembler-tracer.cc",
2159         "src/regexp/regexp-macro-assembler-tracer.h",
2160         "src/regexp/regexp-nodes.h",
2161         "src/regexp/regexp-parser.cc",
2162         "src/regexp/regexp-parser.h",
2163         "src/regexp/regexp-stack.cc",
2164         "src/regexp/regexp-stack.h",
2165         "src/regexp/regexp-utils.cc",
2166         "src/regexp/regexp-utils.h",
2167         "src/regexp/special-case.h",
2168         "src/roots/roots.cc",
2169         "src/roots/roots.h",
2170         "src/roots/roots-inl.h",
2171         "src/roots/static-roots.h",
2172         "src/runtime/runtime.cc",
2173         "src/runtime/runtime.h",
2174         "src/runtime/runtime-array.cc",
2175         "src/runtime/runtime-atomics.cc",
2176         "src/runtime/runtime-bigint.cc",
2177         "src/runtime/runtime-classes.cc",
2178         "src/runtime/runtime-collections.cc",
2179         "src/runtime/runtime-compiler.cc",
2180         "src/runtime/runtime-date.cc",
2181         "src/runtime/runtime-debug.cc",
2182         "src/runtime/runtime-forin.cc",
2183         "src/runtime/runtime-function.cc",
2184         "src/runtime/runtime-futex.cc",
2185         "src/runtime/runtime-generator.cc",
2186         "src/runtime/runtime-internal.cc",
2187         "src/runtime/runtime-literals.cc",
2188         "src/runtime/runtime-module.cc",
2189         "src/runtime/runtime-numbers.cc",
2190         "src/runtime/runtime-object.cc",
2191         "src/runtime/runtime-operators.cc",
2192         "src/runtime/runtime-promise.cc",
2193         "src/runtime/runtime-proxy.cc",
2194         "src/runtime/runtime-regexp.cc",
2195         "src/runtime/runtime-scopes.cc",
2196         "src/runtime/runtime-shadow-realm.cc",
2197         "src/runtime/runtime-strings.cc",
2198         "src/runtime/runtime-symbol.cc",
2199         "src/runtime/runtime-temporal.cc",
2200         "src/runtime/runtime-test.cc",
2201         "src/runtime/runtime-trace.cc",
2202         "src/runtime/runtime-typedarray.cc",
2203         "src/runtime/runtime-utils.h",
2204         "src/runtime/runtime-weak-refs.cc",
2205         "src/sandbox/bounded-size.h",
2206         "src/sandbox/bounded-size-inl.h",
2207         "src/sandbox/external-pointer.h",
2208         "src/sandbox/external-pointer-inl.h",
2209         "src/sandbox/external-pointer-table.cc",
2210         "src/sandbox/external-pointer-table.h",
2211         "src/sandbox/external-pointer-table-inl.h",
2212         "src/sandbox/code-pointer-table.cc",
2213         "src/sandbox/code-pointer-table.h",
2214         "src/sandbox/code-pointer-table-inl.h",
2215         "src/sandbox/trusted-pointer-table.cc",
2216         "src/sandbox/trusted-pointer-table.h",
2217         "src/sandbox/trusted-pointer-table-inl.h",
2218         "src/sandbox/code-pointer.h",
2219         "src/sandbox/code-pointer-inl.h",
2220         "src/sandbox/indirect-pointer.h",
2221         "src/sandbox/indirect-pointer-tag.h",
2222         "src/sandbox/indirect-pointer-inl.h",
2223         "src/sandbox/external-entity-table.h",
2224         "src/sandbox/external-entity-table-inl.h",
2225         "src/sandbox/sandbox.cc",
2226         "src/sandbox/sandbox.h",
2227         "src/sandbox/sandboxed-pointer.h",
2228         "src/sandbox/sandboxed-pointer-inl.h",
2229         "src/sandbox/testing.cc",
2230         "src/sandbox/testing.h",
2231         "src/snapshot/code-serializer.cc",
2232         "src/snapshot/code-serializer.h",
2233         "src/snapshot/context-deserializer.cc",
2234         "src/snapshot/context-deserializer.h",
2235         "src/snapshot/context-serializer.cc",
2236         "src/snapshot/context-serializer.h",
2237         "src/snapshot/deserializer.cc",
2238         "src/snapshot/deserializer.h",
2239         "src/snapshot/embedded/embedded-data.cc",
2240         "src/snapshot/embedded/embedded-data.h",
2241         "src/snapshot/embedded/embedded-data-inl.h",
2242         "src/snapshot/embedded/embedded-file-writer.h",
2243         "src/snapshot/embedded/embedded-file-writer-interface.h",
2244         "src/snapshot/embedded/platform-embedded-file-writer-base.h",
2245         "src/snapshot/object-deserializer.cc",
2246         "src/snapshot/object-deserializer.h",
2247         "src/snapshot/read-only-deserializer.cc",
2248         "src/snapshot/read-only-deserializer.h",
2249         "src/snapshot/read-only-serializer.cc",
2250         "src/snapshot/read-only-serializer.h",
2251         "src/snapshot/read-only-serializer-deserializer.h",
2252         "src/snapshot/references.h",
2253         "src/snapshot/roots-serializer.cc",
2254         "src/snapshot/roots-serializer.h",
2255         "src/snapshot/serializer.cc",
2256         "src/snapshot/serializer.h",
2257         "src/snapshot/serializer-deserializer.cc",
2258         "src/snapshot/serializer-deserializer.h",
2259         "src/snapshot/serializer-inl.h",
2260         "src/snapshot/shared-heap-deserializer.cc",
2261         "src/snapshot/shared-heap-deserializer.h",
2262         "src/snapshot/shared-heap-serializer.cc",
2263         "src/snapshot/shared-heap-serializer.h",
2264         "src/snapshot/snapshot.cc",
2265         "src/snapshot/snapshot.h",
2266         "src/snapshot/snapshot-data.cc",
2267         "src/snapshot/snapshot-data.h",
2268         "src/snapshot/snapshot-source-sink.cc",
2269         "src/snapshot/snapshot-source-sink.h",
2270         "src/snapshot/snapshot-utils.cc",
2271         "src/snapshot/snapshot-utils.h",
2272         "src/snapshot/sort-builtins.cc",
2273         "src/snapshot/sort-builtins.h",
2274         "src/snapshot/startup-deserializer.cc",
2275         "src/snapshot/startup-deserializer.h",
2276         "src/snapshot/startup-serializer.cc",
2277         "src/snapshot/startup-serializer.h",
2278         "src/strings/char-predicates.h",
2279         "src/strings/char-predicates-inl.h",
2280         "src/strings/string-builder.cc",
2281         "src/strings/string-builder-inl.h",
2282         "src/strings/string-case.cc",
2283         "src/strings/string-case.h",
2284         "src/strings/string-hasher.h",
2285         "src/strings/string-hasher-inl.h",
2286         "src/strings/string-search.h",
2287         "src/strings/string-stream.cc",
2288         "src/strings/string-stream.h",
2289         "src/strings/unicode.cc",
2290         "src/strings/unicode.h",
2291         "src/strings/unicode-decoder.cc",
2292         "src/strings/unicode-decoder.h",
2293         "src/strings/unicode-inl.h",
2294         "src/strings/uri.cc",
2295         "src/strings/uri.h",
2296         "src/tasks/cancelable-task.cc",
2297         "src/tasks/cancelable-task.h",
2298         "src/tasks/operations-barrier.cc",
2299         "src/tasks/operations-barrier.h",
2300         "src/tasks/task-utils.cc",
2301         "src/tasks/task-utils.h",
2302         "src/temporal/temporal-parser.cc",
2303         "src/temporal/temporal-parser.h",
2304         "src/third_party/siphash/halfsiphash.cc",
2305         "src/third_party/siphash/halfsiphash.h",
2306         "src/third_party/utf8-decoder/utf8-decoder.h",
2307         "src/torque/runtime-macro-shims.h",
2308         "src/tracing/trace-event.cc",
2309         "src/tracing/trace-event.h",
2310         "src/tracing/traced-value.cc",
2311         "src/tracing/traced-value.h",
2312         "src/tracing/tracing-category-observer.cc",
2313         "src/tracing/tracing-category-observer.h",
2314         "src/utils/address-map.cc",
2315         "src/utils/address-map.h",
2316         "src/utils/allocation.cc",
2317         "src/utils/allocation.h",
2318         "src/utils/bit-vector.cc",
2319         "src/utils/bit-vector.h",
2320         "src/utils/boxed-float.h",
2321         "src/utils/detachable-vector.cc",
2322         "src/utils/detachable-vector.h",
2323         "src/utils/hex-format.cc",
2324         "src/utils/hex-format.h",
2325         "src/utils/identity-map.cc",
2326         "src/utils/identity-map.h",
2327         "src/utils/locked-queue.h",
2328         "src/utils/locked-queue-inl.h",
2329         "src/utils/memcopy.cc",
2330         "src/utils/memcopy.h",
2331         "src/utils/ostreams.cc",
2332         "src/utils/ostreams.h",
2333         "src/utils/scoped-list.h",
2334         "src/utils/sha-256.cc",
2335         "src/utils/sha-256.h",
2336         "src/utils/sparse-bit-vector.h",
2337         "src/utils/utils.cc",
2338         "src/utils/utils.h",
2339         "src/utils/utils-inl.h",
2340         "src/utils/version.cc",
2341         "src/utils/version.h",
2342         "src/zone/accounting-allocator.cc",
2343         "src/zone/accounting-allocator.h",
2344         "src/zone/compressed-zone-ptr.h",
2345         "src/zone/type-stats.cc",
2346         "src/zone/type-stats.h",
2347         "src/zone/zone.cc",
2348         "src/zone/zone.h",
2349         "src/zone/zone-allocator.h",
2350         "src/zone/zone-chunk-list.h",
2351         "src/zone/zone-compact-set.h",
2352         "src/zone/zone-compression.h",
2353         "src/zone/zone-containers.h",
2354         "src/zone/zone-hashmap.h",
2355         "src/zone/zone-list.h",
2356         "src/zone/zone-list-inl.h",
2357         "src/zone/zone-segment.cc",
2358         "src/zone/zone-segment.h",
2359         "src/zone/zone-type-traits.h",
2360         "src/zone/zone-utils.h",
2361         ":cppgc_base_files",
2362         ":generated_bytecode_builtins_list",
2363         ":v8_bigint",
2364         ":v8_heap_base_files",
2365     ] + select({
2366         "@v8//bazel/config:v8_target_ia32": [
2367             "src/baseline/ia32/baseline-assembler-ia32-inl.h",
2368             "src/baseline/ia32/baseline-compiler-ia32-inl.h",
2369             "src/codegen/ia32/assembler-ia32.cc",
2370             "src/codegen/ia32/assembler-ia32.h",
2371             "src/codegen/ia32/assembler-ia32-inl.h",
2372             "src/codegen/ia32/constants-ia32.h",
2373             "src/codegen/ia32/cpu-ia32.cc",
2374             "src/codegen/ia32/fma-instr.h",
2375             "src/codegen/ia32/interface-descriptors-ia32-inl.h",
2376             "src/codegen/ia32/macro-assembler-ia32.cc",
2377             "src/codegen/ia32/macro-assembler-ia32.h",
2378             "src/codegen/ia32/register-ia32.h",
2379             "src/codegen/ia32/reglist-ia32.h",
2380             "src/codegen/ia32/sse-instr.h",
2381             "src/codegen/shared-ia32-x64/macro-assembler-shared-ia32-x64.cc",
2382             "src/codegen/shared-ia32-x64/macro-assembler-shared-ia32-x64.h",
2383             "src/deoptimizer/ia32/deoptimizer-ia32.cc",
2384             "src/diagnostics/ia32/disasm-ia32.cc",
2385             "src/diagnostics/ia32/unwinder-ia32.cc",
2386             "src/execution/ia32/frame-constants-ia32.cc",
2387             "src/execution/ia32/frame-constants-ia32.h",
2388             "src/regexp/ia32/regexp-macro-assembler-ia32.cc",
2389             "src/regexp/ia32/regexp-macro-assembler-ia32.h",
2390             "src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h",
2391         ],
2392         "@v8//bazel/config:v8_target_x64": [
2393             "src/baseline/x64/baseline-assembler-x64-inl.h",
2394             "src/baseline/x64/baseline-compiler-x64-inl.h",
2395             "src/codegen/shared-ia32-x64/macro-assembler-shared-ia32-x64.cc",
2396             "src/codegen/shared-ia32-x64/macro-assembler-shared-ia32-x64.h",
2397             "src/codegen/x64/assembler-x64.cc",
2398             "src/codegen/x64/assembler-x64.h",
2399             "src/codegen/x64/assembler-x64-inl.h",
2400             "src/codegen/x64/constants-x64.h",
2401             "src/codegen/x64/cpu-x64.cc",
2402             "src/codegen/x64/fma-instr.h",
2403             "src/codegen/x64/interface-descriptors-x64-inl.h",
2404             "src/codegen/x64/macro-assembler-x64.cc",
2405             "src/codegen/x64/macro-assembler-x64.h",
2406             "src/codegen/x64/register-x64.h",
2407             "src/codegen/x64/reglist-x64.h",
2408             "src/codegen/x64/sse-instr.h",
2409             "src/deoptimizer/x64/deoptimizer-x64.cc",
2410             "src/diagnostics/x64/disasm-x64.cc",
2411             "src/diagnostics/x64/eh-frame-x64.cc",
2412             "src/diagnostics/x64/unwinder-x64.cc",
2413             "src/execution/x64/frame-constants-x64.cc",
2414             "src/execution/x64/frame-constants-x64.h",
2415             "src/regexp/x64/regexp-macro-assembler-x64.cc",
2416             "src/regexp/x64/regexp-macro-assembler-x64.h",
2417             "src/wasm/baseline/x64/liftoff-assembler-x64-inl.h",
2418         ],
2419         "@v8//bazel/config:v8_target_arm": [
2420             "src/baseline/arm/baseline-assembler-arm-inl.h",
2421             "src/baseline/arm/baseline-compiler-arm-inl.h",
2422             "src/codegen/arm/assembler-arm.cc",
2423             "src/codegen/arm/assembler-arm.h",
2424             "src/codegen/arm/assembler-arm-inl.h",
2425             "src/codegen/arm/constants-arm.cc",
2426             "src/codegen/arm/constants-arm.h",
2427             "src/codegen/arm/cpu-arm.cc",
2428             "src/codegen/arm/interface-descriptors-arm-inl.h",
2429             "src/codegen/arm/macro-assembler-arm.cc",
2430             "src/codegen/arm/macro-assembler-arm.h",
2431             "src/codegen/arm/register-arm.h",
2432             "src/codegen/arm/reglist-arm.h",
2433             "src/deoptimizer/arm/deoptimizer-arm.cc",
2434             "src/diagnostics/arm/disasm-arm.cc",
2435             "src/diagnostics/arm/eh-frame-arm.cc",
2436             "src/diagnostics/arm/unwinder-arm.cc",
2437             "src/execution/arm/frame-constants-arm.cc",
2438             "src/execution/arm/frame-constants-arm.h",
2439             "src/execution/arm/simulator-arm.cc",
2440             "src/execution/arm/simulator-arm.h",
2441             "src/regexp/arm/regexp-macro-assembler-arm.cc",
2442             "src/regexp/arm/regexp-macro-assembler-arm.h",
2443             "src/wasm/baseline/arm/liftoff-assembler-arm-inl.h",
2444         ],
2445         "@v8//bazel/config:v8_target_arm64": [
2446             "src/baseline/arm64/baseline-assembler-arm64-inl.h",
2447             "src/baseline/arm64/baseline-compiler-arm64-inl.h",
2448             "src/codegen/arm64/assembler-arm64.cc",
2449             "src/codegen/arm64/assembler-arm64.h",
2450             "src/codegen/arm64/assembler-arm64-inl.h",
2451             "src/codegen/arm64/constants-arm64.h",
2452             "src/codegen/arm64/cpu-arm64.cc",
2453             "src/codegen/arm64/decoder-arm64.cc",
2454             "src/codegen/arm64/decoder-arm64.h",
2455             "src/codegen/arm64/decoder-arm64-inl.h",
2456             "src/codegen/arm64/instructions-arm64.cc",
2457             "src/codegen/arm64/instructions-arm64.h",
2458             "src/codegen/arm64/instructions-arm64-constants.cc",
2459             "src/codegen/arm64/interface-descriptors-arm64-inl.h",
2460             "src/codegen/arm64/macro-assembler-arm64.cc",
2461             "src/codegen/arm64/macro-assembler-arm64.h",
2462             "src/codegen/arm64/macro-assembler-arm64-inl.h",
2463             "src/codegen/arm64/register-arm64.cc",
2464             "src/codegen/arm64/register-arm64.h",
2465             "src/codegen/arm64/reglist-arm64.h",
2466             "src/codegen/arm64/utils-arm64.cc",
2467             "src/codegen/arm64/utils-arm64.h",
2468             "src/deoptimizer/arm64/deoptimizer-arm64.cc",
2469             "src/diagnostics/arm64/disasm-arm64.cc",
2470             "src/diagnostics/arm64/disasm-arm64.h",
2471             "src/diagnostics/arm64/eh-frame-arm64.cc",
2472             "src/diagnostics/arm64/unwinder-arm64.cc",
2473             "src/execution/arm64/frame-constants-arm64.cc",
2474             "src/execution/arm64/frame-constants-arm64.h",
2475             "src/execution/arm64/pointer-auth-arm64.cc",
2476             "src/execution/arm64/simulator-arm64.cc",
2477             "src/execution/arm64/simulator-arm64.h",
2478             "src/execution/arm64/simulator-logic-arm64.cc",
2479             "src/regexp/arm64/regexp-macro-assembler-arm64.cc",
2480             "src/regexp/arm64/regexp-macro-assembler-arm64.h",
2481             "src/wasm/baseline/arm64/liftoff-assembler-arm64-inl.h",
2482         ],
2483         "@v8//bazel/config:v8_target_s390x": [
2484             "src/baseline/s390/baseline-assembler-s390-inl.h",
2485             "src/baseline/s390/baseline-compiler-s390-inl.h",
2486             "src/codegen/s390/assembler-s390.cc",
2487             "src/codegen/s390/assembler-s390.h",
2488             "src/codegen/s390/assembler-s390-inl.h",
2489             "src/codegen/s390/constants-s390.cc",
2490             "src/codegen/s390/constants-s390.h",
2491             "src/codegen/s390/cpu-s390.cc",
2492             "src/codegen/s390/interface-descriptors-s390-inl.h",
2493             "src/codegen/s390/macro-assembler-s390.cc",
2494             "src/codegen/s390/macro-assembler-s390.h",
2495             "src/codegen/s390/register-s390.h",
2496             "src/codegen/s390/reglist-s390.h",
2497             "src/deoptimizer/s390/deoptimizer-s390.cc",
2498             "src/diagnostics/s390/disasm-s390.cc",
2499             "src/diagnostics/s390/eh-frame-s390.cc",
2500             "src/diagnostics/s390/unwinder-s390.cc",
2501             "src/execution/s390/frame-constants-s390.cc",
2502             "src/execution/s390/frame-constants-s390.h",
2503             "src/execution/s390/simulator-s390.cc",
2504             "src/execution/s390/simulator-s390.h",
2505             "src/regexp/s390/regexp-macro-assembler-s390.cc",
2506             "src/regexp/s390/regexp-macro-assembler-s390.h",
2507             "src/wasm/baseline/s390/liftoff-assembler-s390-inl.h",
2508         ],
2509         "@v8//bazel/config:v8_target_riscv64": [
2510             "src/baseline/riscv64/baseline-assembler-riscv64-inl.h",
2511             "src/baseline/riscv64/baseline-compiler-riscv64-inl.h",
2512             "src/codegen/riscv64/assembler-riscv64.cc",
2513             "src/codegen/riscv64/assembler-riscv64.h",
2514             "src/codegen/riscv64/assembler-riscv64-inl.h",
2515             "src/codegen/riscv64/constants-riscv64.cc",
2516             "src/codegen/riscv64/constants-riscv64.h",
2517             "src/codegen/riscv64/cpu-riscv64.cc",
2518             "src/codegen/riscv64/interface-descriptors-riscv64-inl.h",
2519             "src/codegen/riscv64/macro-assembler-riscv64.cc",
2520             "src/codegen/riscv64/macro-assembler-riscv64.h",
2521             "src/codegen/riscv64/register-riscv64.h",
2522             "src/codegen/riscv64/reglist-riscv64.h",
2523             "src/deoptimizer/riscv64/deoptimizer-riscv64.cc",
2524             "src/diagnostics/riscv64/disasm-riscv64.cc",
2525             "src/diagnostics/riscv64/unwinder-riscv64.cc",
2526             "src/execution/riscv64/frame-constants-riscv64.cc",
2527             "src/execution/riscv64/frame-constants-riscv64.h",
2528             "src/execution/riscv64/simulator-riscv64.cc",
2529             "src/execution/riscv64/simulator-riscv64.h",
2530             "src/regexp/riscv64/regexp-macro-assembler-riscv64.cc",
2531             "src/regexp/riscv64/regexp-macro-assembler-riscv64.h",
2532             "src/wasm/baseline/riscv64/liftoff-assembler-riscv64-inl.h",
2533         ],
2534         "@v8//bazel/config:v8_target_ppc64le": [
2535             "src/baseline/ppc/baseline-assembler-ppc-inl.h",
2536             "src/baseline/ppc/baseline-compiler-ppc-inl.h",
2537             "src/codegen/ppc/assembler-ppc.cc",
2538             "src/codegen/ppc/assembler-ppc.h",
2539             "src/codegen/ppc/assembler-ppc-inl.h",
2540             "src/codegen/ppc/constants-ppc.cc",
2541             "src/codegen/ppc/constants-ppc.h",
2542             "src/codegen/ppc/cpu-ppc.cc",
2543             "src/codegen/ppc/interface-descriptors-ppc-inl.h",
2544             "src/codegen/ppc/macro-assembler-ppc.cc",
2545             "src/codegen/ppc/macro-assembler-ppc.h",
2546             "src/codegen/ppc/register-ppc.h",
2547             "src/codegen/ppc/reglist-ppc.h",
2548             "src/deoptimizer/ppc/deoptimizer-ppc.cc",
2549             "src/diagnostics/ppc/disasm-ppc.cc",
2550             "src/diagnostics/ppc/eh-frame-ppc.cc",
2551             "src/diagnostics/ppc/unwinder-ppc.cc",
2552             "src/execution/ppc/frame-constants-ppc.cc",
2553             "src/execution/ppc/frame-constants-ppc.h",
2554             "src/execution/ppc/simulator-ppc.cc",
2555             "src/execution/ppc/simulator-ppc.h",
2556             "src/regexp/ppc/regexp-macro-assembler-ppc.cc",
2557             "src/regexp/ppc/regexp-macro-assembler-ppc.h",
2558             "src/wasm/baseline/ppc/liftoff-assembler-ppc-inl.h",
2559         ],
2560     }) + select({
2561         # Only for x64 builds and for arm64 with x64 host simulator.
2562         ":is_v8_enable_webassembly_on_non_android_posix_x64": [
2563             "src/trap-handler/handler-inside-posix.cc",
2564             "src/trap-handler/handler-outside-posix.cc",
2565         ],
2566         "@v8//bazel/config:is_macos_arm64": [
2567             "src/trap-handler/handler-inside-posix.cc",
2568             "src/trap-handler/handler-outside-posix.cc",
2569         ],
2570         "//conditions:default": [],
2571     }) + select({
2572         "@v8//bazel/config:v8_arm64_simulator": [
2573             "src/trap-handler/handler-outside-simulator.cc",
2574             "src/trap-handler/trap-handler-simulator.h",
2575         ],
2576         "//conditions:default": [],
2577     }) + select({
2578         "@v8//bazel/config:is_windows": [
2579             "src/trap-handler/handler-inside-win.cc",
2580             "src/trap-handler/handler-inside-win.h",
2581             "src/trap-handler/handler-outside-win.cc",
2582         ],
2583         "//conditions:default": [],
2584     }) + select({
2585         "@v8//bazel/config:is_windows_64bit": [
2586             "src/diagnostics/unwinding-info-win64.cc",
2587             "src/diagnostics/unwinding-info-win64.h",
2588         ],
2589         "//conditions:default": [],
2590     }) + select({
2591         ":is_v8_enable_webassembly": [
2592             "src/asmjs/asm-js.cc",
2593             "src/asmjs/asm-names.h",
2594             "src/asmjs/asm-parser.cc",
2595             "src/asmjs/asm-parser.h",
2596             "src/asmjs/asm-scanner.cc",
2597             "src/asmjs/asm-scanner.h",
2598             "src/asmjs/asm-types.cc",
2599             "src/asmjs/asm-types.h",
2600             "src/compiler/turboshaft/wasm-dead-code-elimination-phase.cc",
2601             "src/compiler/turboshaft/wasm-dead-code-elimination-phase.h",
2602             "src/debug/debug-wasm-objects.cc",
2603             "src/debug/debug-wasm-objects.h",
2604             "src/debug/debug-wasm-objects-inl.h",
2605             "src/runtime/runtime-test-wasm.cc",
2606             "src/runtime/runtime-wasm.cc",
2607             "src/third_party/utf8-decoder/generalized-utf8-decoder.h",
2608             "src/trap-handler/handler-inside.cc",
2609             "src/trap-handler/handler-inside-posix.h",
2610             "src/trap-handler/handler-outside.cc",
2611             "src/trap-handler/handler-shared.cc",
2612             "src/trap-handler/trap-handler.h",
2613             "src/trap-handler/trap-handler-internal.h",
2614             "src/wasm/baseline/liftoff-assembler.cc",
2615             "src/wasm/baseline/liftoff-assembler.h",
2616             "src/wasm/baseline/liftoff-assembler-defs.h",
2617             "src/wasm/baseline/liftoff-assembler-inl.h",
2618             "src/wasm/baseline/liftoff-compiler.cc",
2619             "src/wasm/baseline/liftoff-compiler.h",
2620             "src/wasm/baseline/liftoff-register.h",
2621             "src/wasm/baseline/parallel-move.cc",
2622             "src/wasm/baseline/parallel-move.h",
2623             "src/wasm/baseline/parallel-move-inl.h",
2624             "src/wasm/branch-hint-map.h",
2625             "src/wasm/canonical-types.cc",
2626             "src/wasm/canonical-types.h",
2627             "src/wasm/code-space-access.cc",
2628             "src/wasm/code-space-access.h",
2629             "src/wasm/compilation-environment.h",
2630             "src/wasm/constant-expression.cc",
2631             "src/wasm/constant-expression.h",
2632             "src/wasm/constant-expression-interface.cc",
2633             "src/wasm/constant-expression-interface.h",
2634             "src/wasm/decoder.h",
2635             "src/wasm/function-body-decoder.cc",
2636             "src/wasm/function-body-decoder.h",
2637             "src/wasm/function-body-decoder-impl.h",
2638             "src/wasm/function-compiler.cc",
2639             "src/wasm/function-compiler.h",
2640             "src/wasm/graph-builder-interface.cc",
2641             "src/wasm/graph-builder-interface.h",
2642             "src/wasm/inlining-tree.h",
2643             "src/wasm/jump-table-assembler.cc",
2644             "src/wasm/jump-table-assembler.h",
2645             "src/wasm/leb-helper.h",
2646             "src/wasm/local-decl-encoder.cc",
2647             "src/wasm/local-decl-encoder.h",
2648             "src/wasm/memory-tracing.cc",
2649             "src/wasm/memory-tracing.h",
2650             "src/wasm/module-compiler.cc",
2651             "src/wasm/module-compiler.h",
2652             "src/wasm/module-decoder.cc",
2653             "src/wasm/module-decoder.h",
2654             "src/wasm/module-decoder-impl.h",
2655             "src/wasm/module-instantiate.cc",
2656             "src/wasm/module-instantiate.h",
2657             "src/wasm/names-provider.cc",
2658             "src/wasm/names-provider.h",
2659             "src/wasm/object-access.h",
2660             "src/wasm/pgo.cc",
2661             "src/wasm/pgo.h",
2662             "src/wasm/serialized-signature-inl.h",
2663             "src/wasm/simd-shuffle.cc",
2664             "src/wasm/simd-shuffle.h",
2665             "src/wasm/stacks.cc",
2666             "src/wasm/stacks.h",
2667             "src/wasm/std-object-sizes.h",
2668             "src/wasm/streaming-decoder.cc",
2669             "src/wasm/streaming-decoder.h",
2670             "src/wasm/string-builder.h",
2671             "src/wasm/string-builder-multiline.h",
2672             "src/wasm/struct-types.h",
2673             "src/wasm/sync-streaming-decoder.cc",
2674             "src/wasm/turboshaft-graph-interface.cc",
2675             "src/wasm/turboshaft-graph-interface.h",
2676             "src/wasm/value-type.cc",
2677             "src/wasm/value-type.h",
2678             "src/wasm/wasm-arguments.h",
2679             "src/wasm/wasm-builtin-list.h",
2680             "src/wasm/wasm-code-manager.cc",
2681             "src/wasm/wasm-code-manager.h",
2682             "src/wasm/wasm-debug.cc",
2683             "src/wasm/wasm-debug.h",
2684             "src/wasm/wasm-disassembler.cc",
2685             "src/wasm/wasm-disassembler.h",
2686             "src/wasm/wasm-disassembler-impl.h",
2687             "src/wasm/wasm-engine.cc",
2688             "src/wasm/wasm-engine.h",
2689             "src/wasm/wasm-external-refs.cc",
2690             "src/wasm/wasm-external-refs.h",
2691             "src/wasm/wasm-features.cc",
2692             "src/wasm/wasm-features.h",
2693             "src/wasm/wasm-import-wrapper-cache.cc",
2694             "src/wasm/wasm-import-wrapper-cache.h",
2695             "src/wasm/wasm-init-expr.h",
2696             "src/wasm/wasm-js.cc",
2697             "src/wasm/wasm-js.h",
2698             "src/wasm/wasm-linkage.h",
2699             "src/wasm/wasm-module.cc",
2700             "src/wasm/wasm-module.h",
2701             "src/wasm/wasm-module-builder.cc",
2702             "src/wasm/wasm-module-builder.h",
2703             "src/wasm/wasm-module-sourcemap.cc",
2704             "src/wasm/wasm-module-sourcemap.h",
2705             "src/wasm/wasm-objects.cc",
2706             "src/wasm/wasm-objects.h",
2707             "src/wasm/wasm-objects-inl.h",
2708             "src/wasm/wasm-opcodes.cc",
2709             "src/wasm/wasm-opcodes.h",
2710             "src/wasm/wasm-opcodes-inl.h",
2711             "src/wasm/wasm-result.cc",
2712             "src/wasm/wasm-result.h",
2713             "src/wasm/wasm-serialization.cc",
2714             "src/wasm/wasm-serialization.h",
2715             "src/wasm/wasm-subtyping.cc",
2716             "src/wasm/wasm-subtyping.h",
2717             "src/wasm/wasm-tier.h",
2718             "src/wasm/wasm-value.h",
2719             "src/wasm/well-known-imports.cc",
2720             "src/wasm/well-known-imports.h",
2721         ],
2722         "//conditions:default": [],
2723     }),
2724 )
2725
2726 filegroup(
2727     name = "icu/v8_base_without_compiler_files",
2728     srcs = [
2729         "src/builtins/builtins-intl.cc",
2730         "src/objects/intl-objects.cc",
2731         "src/objects/intl-objects.h",
2732         "src/objects/js-break-iterator.cc",
2733         "src/objects/js-break-iterator.h",
2734         "src/objects/js-break-iterator-inl.h",
2735         "src/objects/js-collator.cc",
2736         "src/objects/js-collator.h",
2737         "src/objects/js-collator-inl.h",
2738         "src/objects/js-date-time-format.cc",
2739         "src/objects/js-date-time-format.h",
2740         "src/objects/js-date-time-format-inl.h",
2741         "src/objects/js-display-names.cc",
2742         "src/objects/js-display-names.h",
2743         "src/objects/js-display-names-inl.h",
2744         "src/objects/js-duration-format.cc",
2745         "src/objects/js-duration-format.h",
2746         "src/objects/js-duration-format-inl.h",
2747         "src/objects/js-list-format.cc",
2748         "src/objects/js-list-format.h",
2749         "src/objects/js-list-format-inl.h",
2750         "src/objects/js-locale.cc",
2751         "src/objects/js-locale.h",
2752         "src/objects/js-locale-inl.h",
2753         "src/objects/js-number-format.cc",
2754         "src/objects/js-number-format.h",
2755         "src/objects/js-number-format-inl.h",
2756         "src/objects/js-plural-rules.cc",
2757         "src/objects/js-plural-rules.h",
2758         "src/objects/js-plural-rules-inl.h",
2759         "src/objects/js-relative-time-format.cc",
2760         "src/objects/js-relative-time-format.h",
2761         "src/objects/js-relative-time-format-inl.h",
2762         "src/objects/js-segment-iterator.cc",
2763         "src/objects/js-segment-iterator.h",
2764         "src/objects/js-segment-iterator-inl.h",
2765         "src/objects/js-segmenter.cc",
2766         "src/objects/js-segmenter.h",
2767         "src/objects/js-segmenter-inl.h",
2768         "src/objects/js-segments.cc",
2769         "src/objects/js-segments.h",
2770         "src/objects/js-segments-inl.h",
2771         "src/runtime/runtime-intl.cc",
2772         "src/strings/char-predicates.cc",
2773     ],
2774 )
2775
2776 filegroup(
2777     name = "v8_compiler_files",
2778     srcs = [
2779         "src/builtins/profile-data-reader.h",
2780         "src/compiler/access-builder.cc",
2781         "src/compiler/access-builder.h",
2782         "src/compiler/access-info.cc",
2783         "src/compiler/access-info.h",
2784         "src/compiler/add-type-assertions-reducer.cc",
2785         "src/compiler/add-type-assertions-reducer.h",
2786         "src/compiler/all-nodes.cc",
2787         "src/compiler/all-nodes.h",
2788         "src/compiler/allocation-builder.h",
2789         "src/compiler/allocation-builder-inl.h",
2790         "src/compiler/backend/bitcast-elider.cc",
2791         "src/compiler/backend/bitcast-elider.h",
2792         "src/compiler/backend/code-generator.cc",
2793         "src/compiler/backend/code-generator.h",
2794         "src/compiler/backend/code-generator-impl.h",
2795         "src/compiler/backend/frame-elider.cc",
2796         "src/compiler/backend/frame-elider.h",
2797         "src/compiler/backend/gap-resolver.cc",
2798         "src/compiler/backend/gap-resolver.h",
2799         "src/compiler/backend/instruction.cc",
2800         "src/compiler/backend/instruction.h",
2801         "src/compiler/backend/instruction-codes.h",
2802         "src/compiler/backend/instruction-scheduler.cc",
2803         "src/compiler/backend/instruction-scheduler.h",
2804         "src/compiler/backend/instruction-selector.cc",
2805         "src/compiler/backend/instruction-selector.h",
2806         "src/compiler/backend/instruction-selector-adapter.h",
2807         "src/compiler/backend/instruction-selector-impl.h",
2808         "src/compiler/backend/jump-threading.cc",
2809         "src/compiler/backend/jump-threading.h",
2810         "src/compiler/backend/mid-tier-register-allocator.cc",
2811         "src/compiler/backend/mid-tier-register-allocator.h",
2812         "src/compiler/backend/move-optimizer.cc",
2813         "src/compiler/backend/move-optimizer.h",
2814         "src/compiler/backend/register-allocation.h",
2815         "src/compiler/backend/register-allocator.cc",
2816         "src/compiler/backend/register-allocator.h",
2817         "src/compiler/backend/register-allocator-verifier.cc",
2818         "src/compiler/backend/register-allocator-verifier.h",
2819         "src/compiler/backend/spill-placer.cc",
2820         "src/compiler/backend/spill-placer.h",
2821         "src/compiler/backend/unwinding-info-writer.h",
2822         "src/compiler/basic-block-instrumentor.cc",
2823         "src/compiler/basic-block-instrumentor.h",
2824         "src/compiler/branch-condition-duplicator.cc",
2825         "src/compiler/branch-condition-duplicator.h",
2826         "src/compiler/branch-elimination.cc",
2827         "src/compiler/branch-elimination.h",
2828         "src/compiler/bytecode-analysis.cc",
2829         "src/compiler/bytecode-analysis.h",
2830         "src/compiler/bytecode-graph-builder.cc",
2831         "src/compiler/bytecode-graph-builder.h",
2832         "src/compiler/bytecode-liveness-map.cc",
2833         "src/compiler/bytecode-liveness-map.h",
2834         "src/compiler/c-linkage.cc",
2835         "src/compiler/checkpoint-elimination.cc",
2836         "src/compiler/checkpoint-elimination.h",
2837         "src/compiler/code-assembler.cc",
2838         "src/compiler/code-assembler.h",
2839         "src/compiler/common-node-cache.cc",
2840         "src/compiler/common-node-cache.h",
2841         "src/compiler/common-operator.cc",
2842         "src/compiler/common-operator.h",
2843         "src/compiler/common-operator-reducer.cc",
2844         "src/compiler/common-operator-reducer.h",
2845         "src/compiler/compilation-dependencies.cc",
2846         "src/compiler/compilation-dependencies.h",
2847         "src/compiler/compiler-source-position-table.cc",
2848         "src/compiler/compiler-source-position-table.h",
2849         "src/compiler/constant-folding-reducer.cc",
2850         "src/compiler/constant-folding-reducer.h",
2851         "src/compiler/control-equivalence.cc",
2852         "src/compiler/control-equivalence.h",
2853         "src/compiler/control-flow-optimizer.cc",
2854         "src/compiler/control-flow-optimizer.h",
2855         "src/compiler/control-path-state.h",
2856         "src/compiler/csa-load-elimination.cc",
2857         "src/compiler/csa-load-elimination.h",
2858         "src/compiler/dead-code-elimination.cc",
2859         "src/compiler/dead-code-elimination.h",
2860         "src/compiler/decompression-optimizer.cc",
2861         "src/compiler/decompression-optimizer.h",
2862         "src/compiler/diamond.h",
2863         "src/compiler/effect-control-linearizer.cc",
2864         "src/compiler/effect-control-linearizer.h",
2865         "src/compiler/escape-analysis.cc",
2866         "src/compiler/escape-analysis.h",
2867         "src/compiler/escape-analysis-reducer.cc",
2868         "src/compiler/escape-analysis-reducer.h",
2869         "src/compiler/fast-api-calls.cc",
2870         "src/compiler/fast-api-calls.h",
2871         "src/compiler/feedback-source.cc",
2872         "src/compiler/feedback-source.h",
2873         "src/compiler/frame.cc",
2874         "src/compiler/frame.h",
2875         "src/compiler/frame-states.cc",
2876         "src/compiler/frame-states.h",
2877         "src/compiler/functional-list.h",
2878         "src/compiler/globals.h",
2879         "src/compiler/graph.cc",
2880         "src/compiler/graph.h",
2881         "src/compiler/graph-assembler.cc",
2882         "src/compiler/graph-assembler.h",
2883         "src/compiler/graph-reducer.cc",
2884         "src/compiler/graph-reducer.h",
2885         "src/compiler/graph-trimmer.cc",
2886         "src/compiler/graph-trimmer.h",
2887         "src/compiler/graph-visualizer.cc",
2888         "src/compiler/graph-visualizer.h",
2889         "src/compiler/graph-zone-traits.h",
2890         "src/compiler/heap-refs.cc",
2891         "src/compiler/heap-refs.h",
2892         "src/compiler/js-call-reducer.cc",
2893         "src/compiler/js-call-reducer.h",
2894         "src/compiler/js-context-specialization.cc",
2895         "src/compiler/js-context-specialization.h",
2896         "src/compiler/js-create-lowering.cc",
2897         "src/compiler/js-create-lowering.h",
2898         "src/compiler/js-generic-lowering.cc",
2899         "src/compiler/js-generic-lowering.h",
2900         "src/compiler/js-graph.cc",
2901         "src/compiler/js-graph.h",
2902         "src/compiler/js-heap-broker.cc",
2903         "src/compiler/js-heap-broker.h",
2904         "src/compiler/js-heap-broker-inl.h",
2905         "src/compiler/js-inlining.cc",
2906         "src/compiler/js-inlining.h",
2907         "src/compiler/js-inlining-heuristic.cc",
2908         "src/compiler/js-inlining-heuristic.h",
2909         "src/compiler/js-intrinsic-lowering.cc",
2910         "src/compiler/js-intrinsic-lowering.h",
2911         "src/compiler/js-native-context-specialization.cc",
2912         "src/compiler/js-native-context-specialization.h",
2913         "src/compiler/js-operator.cc",
2914         "src/compiler/js-operator.h",
2915         "src/compiler/js-type-hint-lowering.cc",
2916         "src/compiler/js-type-hint-lowering.h",
2917         "src/compiler/js-typed-lowering.cc",
2918         "src/compiler/js-typed-lowering.h",
2919         "src/compiler/late-escape-analysis.cc",
2920         "src/compiler/late-escape-analysis.h",
2921         "src/compiler/linkage.cc",
2922         "src/compiler/linkage.h",
2923         "src/compiler/load-elimination.cc",
2924         "src/compiler/load-elimination.h",
2925         "src/compiler/loop-analysis.cc",
2926         "src/compiler/loop-analysis.h",
2927         "src/compiler/loop-peeling.cc",
2928         "src/compiler/loop-peeling.h",
2929         "src/compiler/loop-unrolling.cc",
2930         "src/compiler/loop-unrolling.h",
2931         "src/compiler/loop-variable-optimizer.cc",
2932         "src/compiler/loop-variable-optimizer.h",
2933         "src/compiler/machine-graph.cc",
2934         "src/compiler/machine-graph.h",
2935         "src/compiler/machine-graph-verifier.cc",
2936         "src/compiler/machine-graph-verifier.h",
2937         "src/compiler/machine-operator.cc",
2938         "src/compiler/machine-operator.h",
2939         "src/compiler/machine-operator-reducer.cc",
2940         "src/compiler/machine-operator-reducer.h",
2941         "src/compiler/map-inference.cc",
2942         "src/compiler/map-inference.h",
2943         "src/compiler/memory-lowering.cc",
2944         "src/compiler/memory-lowering.h",
2945         "src/compiler/memory-optimizer.cc",
2946         "src/compiler/memory-optimizer.h",
2947         "src/compiler/node.cc",
2948         "src/compiler/node.h",
2949         "src/compiler/node-aux-data.h",
2950         "src/compiler/node-cache.h",
2951         "src/compiler/node-marker.cc",
2952         "src/compiler/node-marker.h",
2953         "src/compiler/node-matchers.cc",
2954         "src/compiler/node-matchers.h",
2955         "src/compiler/node-observer.cc",
2956         "src/compiler/node-observer.h",
2957         "src/compiler/node-origin-table.cc",
2958         "src/compiler/node-origin-table.h",
2959         "src/compiler/node-properties.cc",
2960         "src/compiler/node-properties.h",
2961         "src/compiler/opcodes.cc",
2962         "src/compiler/opcodes.h",
2963         "src/compiler/operation-typer.cc",
2964         "src/compiler/operation-typer.h",
2965         "src/compiler/operator.cc",
2966         "src/compiler/operator.h",
2967         "src/compiler/operator-properties.cc",
2968         "src/compiler/operator-properties.h",
2969         "src/compiler/osr.cc",
2970         "src/compiler/osr.h",
2971         "src/compiler/pair-load-store-reducer.cc",
2972         "src/compiler/pair-load-store-reducer.h",
2973         "src/compiler/per-isolate-compiler-cache.h",
2974         "src/compiler/persistent-map.h",
2975         "src/compiler/phase.h",
2976         "src/compiler/pipeline.cc",
2977         "src/compiler/pipeline.h",
2978         "src/compiler/pipeline-statistics.cc",
2979         "src/compiler/pipeline-statistics.h",
2980         "src/compiler/processed-feedback.h",
2981         "src/compiler/property-access-builder.cc",
2982         "src/compiler/property-access-builder.h",
2983         "src/compiler/raw-machine-assembler.cc",
2984         "src/compiler/raw-machine-assembler.h",
2985         "src/compiler/redundancy-elimination.cc",
2986         "src/compiler/redundancy-elimination.h",
2987         "src/compiler/refs-map.cc",
2988         "src/compiler/refs-map.h",
2989         "src/compiler/representation-change.cc",
2990         "src/compiler/representation-change.h",
2991         "src/compiler/schedule.cc",
2992         "src/compiler/schedule.h",
2993         "src/compiler/scheduler.cc",
2994         "src/compiler/scheduler.h",
2995         "src/compiler/select-lowering.cc",
2996         "src/compiler/select-lowering.h",
2997         "src/compiler/simplified-lowering.cc",
2998         "src/compiler/simplified-lowering.h",
2999         "src/compiler/simplified-lowering-verifier.cc",
3000         "src/compiler/simplified-lowering-verifier.h",
3001         "src/compiler/simplified-operator.cc",
3002         "src/compiler/simplified-operator.h",
3003         "src/compiler/simplified-operator-reducer.cc",
3004         "src/compiler/simplified-operator-reducer.h",
3005         "src/compiler/state-values-utils.cc",
3006         "src/compiler/state-values-utils.h",
3007         "src/compiler/store-store-elimination.cc",
3008         "src/compiler/store-store-elimination.h",
3009         "src/compiler/string-builder-optimizer.cc",
3010         "src/compiler/string-builder-optimizer.h",
3011         "src/compiler/turbofan.h",
3012         "src/compiler/turbofan-enabled.cc",
3013         "src/compiler/turboshaft/analyzer-iterator.cc",
3014         "src/compiler/turboshaft/analyzer-iterator.h",
3015         "src/compiler/turboshaft/assembler.cc",
3016         "src/compiler/turboshaft/assembler.h",
3017         "src/compiler/turboshaft/assert-types-reducer.h",
3018         "src/compiler/turboshaft/branch-elimination-reducer.h",
3019         "src/compiler/turboshaft/build-graph-phase.cc",
3020         "src/compiler/turboshaft/build-graph-phase.h",
3021         "src/compiler/turboshaft/builtin-call-descriptors.h",
3022         "src/compiler/turboshaft/dataview-reducer.h",
3023         "src/compiler/turboshaft/dead-code-elimination-phase.cc",
3024         "src/compiler/turboshaft/dead-code-elimination-phase.h",
3025         "src/compiler/turboshaft/dead-code-elimination-reducer.h",
3026         "src/compiler/turboshaft/debug-feature-lowering-phase.cc",
3027         "src/compiler/turboshaft/debug-feature-lowering-phase.h",
3028         "src/compiler/turboshaft/debug-feature-lowering-reducer.h",
3029         "src/compiler/turboshaft/decompression-optimization.cc",
3030         "src/compiler/turboshaft/decompression-optimization.h",
3031         "src/compiler/turboshaft/decompression-optimization-phase.cc",
3032         "src/compiler/turboshaft/decompression-optimization-phase.h",
3033         "src/compiler/turboshaft/define-assembler-macros.inc",
3034         "src/compiler/turboshaft/deopt-data.h",
3035         "src/compiler/turboshaft/doubly-threaded-list.h",
3036         "src/compiler/turboshaft/explicit-truncation-reducer.h",
3037         "src/compiler/turboshaft/fast-api-call-reducer.h",
3038         "src/compiler/turboshaft/fast-hash.h",
3039         "src/compiler/turboshaft/graph.cc",
3040         "src/compiler/turboshaft/graph.h",
3041         "src/compiler/turboshaft/graph-builder.cc",
3042         "src/compiler/turboshaft/graph-builder.h",
3043         "src/compiler/turboshaft/graph-visualizer.cc",
3044         "src/compiler/turboshaft/graph-visualizer.h",
3045         "src/compiler/turboshaft/index.h",
3046         "src/compiler/turboshaft/instruction-selection-phase.cc",
3047         "src/compiler/turboshaft/instruction-selection-phase.h",
3048         "src/compiler/turboshaft/late-escape-analysis-reducer.cc",
3049         "src/compiler/turboshaft/late-escape-analysis-reducer.h",
3050         "src/compiler/turboshaft/late-load-elimination-reducer.cc",
3051         "src/compiler/turboshaft/late-load-elimination-reducer.h",
3052         "src/compiler/turboshaft/layered-hash-map.h",
3053         "src/compiler/turboshaft/loop-finder.cc",
3054         "src/compiler/turboshaft/loop-finder.h",
3055         "src/compiler/turboshaft/loop-unrolling-phase.cc",
3056         "src/compiler/turboshaft/loop-unrolling-phase.h",
3057         "src/compiler/turboshaft/loop-unrolling-reducer.cc",
3058         "src/compiler/turboshaft/loop-unrolling-reducer.h",
3059         "src/compiler/turboshaft/machine-lowering-phase.cc",
3060         "src/compiler/turboshaft/machine-lowering-phase.h",
3061         "src/compiler/turboshaft/machine-lowering-reducer-inl.h",
3062         "src/compiler/turboshaft/machine-optimization-reducer.h",
3063         "src/compiler/turboshaft/memory-optimization-reducer.cc",
3064         "src/compiler/turboshaft/memory-optimization-reducer.h",
3065         "src/compiler/turboshaft/operation-matcher.h",
3066         "src/compiler/turboshaft/operations.cc",
3067         "src/compiler/turboshaft/operations.h",
3068         "src/compiler/turboshaft/optimization-phase.cc",
3069         "src/compiler/turboshaft/optimization-phase.h",
3070         "src/compiler/turboshaft/optimize-phase.cc",
3071         "src/compiler/turboshaft/optimize-phase.h",
3072         "src/compiler/turboshaft/phase.cc",
3073         "src/compiler/turboshaft/phase.h",
3074         "src/compiler/turboshaft/pretenuring-propagation-reducer.cc",
3075         "src/compiler/turboshaft/pretenuring-propagation-reducer.h",
3076         "src/compiler/turboshaft/recreate-schedule.cc",
3077         "src/compiler/turboshaft/recreate-schedule.h",
3078         "src/compiler/turboshaft/recreate-schedule-phase.cc",
3079         "src/compiler/turboshaft/recreate-schedule-phase.h",
3080         "src/compiler/turboshaft/reduce-args-helper.h",
3081         "src/compiler/turboshaft/reducer-traits.h",
3082         "src/compiler/turboshaft/representations.cc",
3083         "src/compiler/turboshaft/representations.h",
3084         "src/compiler/turboshaft/required-optimization-reducer.h",
3085         "src/compiler/turboshaft/runtime-call-descriptors.h",
3086         "src/compiler/turboshaft/select-lowering-reducer.h",
3087         "src/compiler/turboshaft/sidetable.cc",
3088         "src/compiler/turboshaft/sidetable.h",
3089         "src/compiler/turboshaft/simplified-lowering-phase.cc",
3090         "src/compiler/turboshaft/simplified-lowering-phase.h",
3091         "src/compiler/turboshaft/simplify-tf-loops.cc",
3092         "src/compiler/turboshaft/simplify-tf-loops.h",
3093         "src/compiler/turboshaft/snapshot-table.h",
3094         "src/compiler/turboshaft/snapshot-table-opindex.h",
3095         "src/compiler/turboshaft/stack-check-reducer.h",
3096         "src/compiler/turboshaft/store-store-elimination-phase.cc",
3097         "src/compiler/turboshaft/store-store-elimination-phase.h",
3098         "src/compiler/turboshaft/store-store-elimination-reducer.h",
3099         "src/compiler/turboshaft/structural-optimization-reducer.h",
3100         "src/compiler/turboshaft/tracing.h",
3101         "src/compiler/turboshaft/type-assertions-phase.cc",
3102         "src/compiler/turboshaft/type-assertions-phase.h",
3103         "src/compiler/turboshaft/type-inference-analysis.h",
3104         "src/compiler/turboshaft/type-inference-reducer.h",
3105         "src/compiler/turboshaft/type-parser.cc",
3106         "src/compiler/turboshaft/type-parser.h",
3107         "src/compiler/turboshaft/typed-optimizations-phase.cc",
3108         "src/compiler/turboshaft/typed-optimizations-phase.h",
3109         "src/compiler/turboshaft/typed-optimizations-reducer.h",
3110         "src/compiler/turboshaft/typer.cc",
3111         "src/compiler/turboshaft/typer.h",
3112         "src/compiler/turboshaft/types.cc",
3113         "src/compiler/turboshaft/types.h",
3114         "src/compiler/turboshaft/undef-assembler-macros.inc",
3115         "src/compiler/turboshaft/uniform-reducer-adapter.h",
3116         "src/compiler/turboshaft/use-map.cc",
3117         "src/compiler/turboshaft/use-map.h",
3118         "src/compiler/turboshaft/utils.cc",
3119         "src/compiler/turboshaft/utils.h",
3120         "src/compiler/turboshaft/value-numbering-reducer.h",
3121         "src/compiler/turboshaft/variable-reducer.h",
3122         "src/compiler/turboshaft/wasm-js-lowering-reducer.h",
3123         "src/compiler/type-cache.cc",
3124         "src/compiler/type-cache.h",
3125         "src/compiler/type-narrowing-reducer.cc",
3126         "src/compiler/type-narrowing-reducer.h",
3127         "src/compiler/typed-optimization.cc",
3128         "src/compiler/typed-optimization.h",
3129         "src/compiler/typer.cc",
3130         "src/compiler/typer.h",
3131         "src/compiler/types.cc",
3132         "src/compiler/types.h",
3133         "src/compiler/use-info.h",
3134         "src/compiler/value-numbering-reducer.cc",
3135         "src/compiler/value-numbering-reducer.h",
3136         "src/compiler/verifier.cc",
3137         "src/compiler/verifier.h",
3138         "src/compiler/write-barrier-kind.h",
3139         "src/compiler/zone-stats.cc",
3140         "src/compiler/zone-stats.h",
3141     ] + select({
3142         "@v8//bazel/config:v8_target_ia32": [
3143             "src/compiler/backend/ia32/code-generator-ia32.cc",
3144             "src/compiler/backend/ia32/instruction-codes-ia32.h",
3145             "src/compiler/backend/ia32/instruction-scheduler-ia32.cc",
3146             "src/compiler/backend/ia32/instruction-selector-ia32.cc",
3147         ],
3148         "@v8//bazel/config:v8_target_x64": [
3149             "src/compiler/backend/x64/code-generator-x64.cc",
3150             "src/compiler/backend/x64/instruction-codes-x64.h",
3151             "src/compiler/backend/x64/instruction-scheduler-x64.cc",
3152             "src/compiler/backend/x64/instruction-selector-x64.cc",
3153             "src/compiler/backend/x64/unwinding-info-writer-x64.cc",
3154             "src/compiler/backend/x64/unwinding-info-writer-x64.h",
3155         ],
3156         "@v8//bazel/config:v8_target_arm": [
3157             "src/compiler/backend/arm/code-generator-arm.cc",
3158             "src/compiler/backend/arm/instruction-codes-arm.h",
3159             "src/compiler/backend/arm/instruction-scheduler-arm.cc",
3160             "src/compiler/backend/arm/instruction-selector-arm.cc",
3161             "src/compiler/backend/arm/unwinding-info-writer-arm.cc",
3162             "src/compiler/backend/arm/unwinding-info-writer-arm.h",
3163         ],
3164         "@v8//bazel/config:v8_target_arm64": [
3165             "src/compiler/backend/arm64/code-generator-arm64.cc",
3166             "src/compiler/backend/arm64/instruction-codes-arm64.h",
3167             "src/compiler/backend/arm64/instruction-scheduler-arm64.cc",
3168             "src/compiler/backend/arm64/instruction-selector-arm64.cc",
3169             "src/compiler/backend/arm64/unwinding-info-writer-arm64.cc",
3170             "src/compiler/backend/arm64/unwinding-info-writer-arm64.h",
3171         ],
3172         "@v8//bazel/config:v8_target_s390x": [
3173             "src/compiler/backend/s390/code-generator-s390.cc",
3174             "src/compiler/backend/s390/instruction-codes-s390.h",
3175             "src/compiler/backend/s390/instruction-scheduler-s390.cc",
3176             "src/compiler/backend/s390/instruction-selector-s390.cc",
3177             "src/compiler/backend/s390/unwinding-info-writer-s390.cc",
3178             "src/compiler/backend/s390/unwinding-info-writer-s390.h",
3179         ],
3180         "@v8//bazel/config:v8_target_riscv64": [
3181             "src/compiler/backend/riscv64/code-generator-riscv64.cc",
3182             "src/compiler/backend/riscv64/instruction-codes-riscv64.h",
3183             "src/compiler/backend/riscv64/instruction-scheduler-riscv64.cc",
3184             "src/compiler/backend/riscv64/instruction-selector-riscv64.cc",
3185         ],
3186         "@v8//bazel/config:v8_target_ppc64le": [
3187             "src/compiler/backend/ppc/code-generator-ppc.cc",
3188             "src/compiler/backend/ppc/instruction-codes-ppc.h",
3189             "src/compiler/backend/ppc/instruction-scheduler-ppc.cc",
3190             "src/compiler/backend/ppc/instruction-selector-ppc.cc",
3191             "src/compiler/backend/ppc/unwinding-info-writer-ppc.cc",
3192             "src/compiler/backend/ppc/unwinding-info-writer-ppc.h",
3193         ],
3194     }) + select({
3195         ":is_v8_enable_webassembly": [
3196             "src/compiler/int64-lowering.cc",
3197             "src/compiler/int64-lowering.h",
3198             "src/compiler/turboshaft/int64-lowering-phase.cc",
3199             "src/compiler/turboshaft/int64-lowering-phase.h",
3200             "src/compiler/turboshaft/int64-lowering-reducer.h",
3201             "src/compiler/turboshaft/wasm-assembler-helpers.h",
3202             "src/compiler/turboshaft/wasm-gc-optimize-phase.cc",
3203             "src/compiler/turboshaft/wasm-gc-optimize-phase.h",
3204             "src/compiler/turboshaft/wasm-gc-type-reducer.cc",
3205             "src/compiler/turboshaft/wasm-gc-type-reducer.h",
3206             "src/compiler/turboshaft/wasm-load-elimination-reducer.h",
3207             "src/compiler/turboshaft/wasm-lowering-phase.cc",
3208             "src/compiler/turboshaft/wasm-lowering-phase.h",
3209             "src/compiler/turboshaft/wasm-lowering-reducer.h",
3210             "src/compiler/turboshaft/wasm-optimize-phase.cc",
3211             "src/compiler/turboshaft/wasm-optimize-phase.h",
3212             "src/compiler/turboshaft/wasm-turboshaft-compiler.cc",
3213             "src/compiler/turboshaft/wasm-turboshaft-compiler.h",
3214             "src/compiler/wasm-address-reassociation.cc",
3215             "src/compiler/wasm-address-reassociation.h",
3216             "src/compiler/wasm-call-descriptors.cc",
3217             "src/compiler/wasm-call-descriptors.h",
3218             "src/compiler/wasm-compiler.cc",
3219             "src/compiler/wasm-compiler.h",
3220             "src/compiler/wasm-compiler-definitions.cc",
3221             "src/compiler/wasm-compiler-definitions.h",
3222             "src/compiler/wasm-escape-analysis.cc",
3223             "src/compiler/wasm-escape-analysis.h",
3224             "src/compiler/wasm-gc-lowering.cc",
3225             "src/compiler/wasm-gc-lowering.h",
3226             "src/compiler/wasm-gc-operator-reducer.cc",
3227             "src/compiler/wasm-gc-operator-reducer.h",
3228             "src/compiler/wasm-graph-assembler.cc",
3229             "src/compiler/wasm-graph-assembler.h",
3230             "src/compiler/wasm-inlining.cc",
3231             "src/compiler/wasm-inlining.h",
3232             "src/compiler/wasm-inlining-into-js.cc",
3233             "src/compiler/wasm-inlining-into-js.h",
3234             "src/compiler/wasm-load-elimination.cc",
3235             "src/compiler/wasm-load-elimination.h",
3236             "src/compiler/wasm-loop-peeling.cc",
3237             "src/compiler/wasm-loop-peeling.h",
3238             "src/compiler/wasm-js-lowering.cc",
3239             "src/compiler/wasm-js-lowering.h",
3240             "src/compiler/wasm-typer.cc",
3241             "src/compiler/wasm-typer.h",
3242         ],
3243         "//conditions:default": [],
3244     }),
3245 )
3246
3247 filegroup(
3248     name = "noicu/v8_initializers_files",
3249     srcs = [
3250         "src/builtins/builtins-array-gen.cc",
3251         "src/builtins/builtins-array-gen.h",
3252         "src/builtins/builtins-async-function-gen.cc",
3253         "src/builtins/builtins-async-gen.cc",
3254         "src/builtins/builtins-async-gen.h",
3255         "src/builtins/builtins-async-generator-gen.cc",
3256         "src/builtins/builtins-async-iterator-gen.cc",
3257         "src/builtins/builtins-bigint-gen.cc",
3258         "src/builtins/builtins-bigint-gen.h",
3259         "src/builtins/builtins-call-gen.cc",
3260         "src/builtins/builtins-call-gen.h",
3261         "src/builtins/builtins-collections-gen.cc",
3262         "src/builtins/builtins-collections-gen.h",
3263         "src/builtins/builtins-constructor.h",
3264         "src/builtins/builtins-constructor-gen.cc",
3265         "src/builtins/builtins-constructor-gen.h",
3266         "src/builtins/builtins-conversion-gen.cc",
3267         "src/builtins/builtins-data-view-gen.h",
3268         "src/builtins/builtins-date-gen.cc",
3269         "src/builtins/builtins-generator-gen.cc",
3270         "src/builtins/builtins-global-gen.cc",
3271         "src/builtins/builtins-handler-gen.cc",
3272         "src/builtins/builtins-ic-gen.cc",
3273         "src/builtins/builtins-internal-gen.cc",
3274         "src/builtins/builtins-interpreter-gen.cc",
3275         "src/builtins/builtins-iterator-gen.cc",
3276         "src/builtins/builtins-iterator-gen.h",
3277         "src/builtins/builtins-lazy-gen.cc",
3278         "src/builtins/builtins-lazy-gen.h",
3279         "src/builtins/builtins-microtask-queue-gen.cc",
3280         "src/builtins/builtins-number-gen.cc",
3281         "src/builtins/builtins-object-gen.cc",
3282         "src/builtins/builtins-object-gen.h",
3283         "src/builtins/builtins-promise-gen.cc",
3284         "src/builtins/builtins-promise-gen.h",
3285         "src/builtins/builtins-proxy-gen.cc",
3286         "src/builtins/builtins-proxy-gen.h",
3287         "src/builtins/builtins-regexp-gen.cc",
3288         "src/builtins/builtins-regexp-gen.h",
3289         "src/builtins/builtins-shadow-realm-gen.cc",
3290         "src/builtins/builtins-sharedarraybuffer-gen.cc",
3291         "src/builtins/builtins-string-gen.cc",
3292         "src/builtins/builtins-string-gen.h",
3293         "src/builtins/builtins-temporal-gen.cc",
3294         "src/builtins/builtins-typed-array-gen.cc",
3295         "src/builtins/builtins-typed-array-gen.h",
3296         "src/builtins/builtins-utils-gen.h",
3297         "src/builtins/growable-fixed-array-gen.cc",
3298         "src/builtins/growable-fixed-array-gen.h",
3299         "src/builtins/profile-data-reader.cc",
3300         "src/builtins/profile-data-reader.h",
3301         "src/builtins/setup-builtins-internal.cc",
3302         "src/builtins/torque-csa-header-includes.h",
3303         "src/codegen/code-stub-assembler.cc",
3304         "src/codegen/code-stub-assembler.h",
3305         "src/heap/setup-heap-internal.cc",
3306         "src/ic/accessor-assembler.cc",
3307         "src/ic/accessor-assembler.h",
3308         "src/ic/binary-op-assembler.cc",
3309         "src/ic/binary-op-assembler.h",
3310         "src/ic/keyed-store-generic.cc",
3311         "src/ic/keyed-store-generic.h",
3312         "src/ic/unary-op-assembler.cc",
3313         "src/ic/unary-op-assembler.h",
3314         "src/interpreter/interpreter-assembler.cc",
3315         "src/interpreter/interpreter-assembler.h",
3316         "src/interpreter/interpreter-generator.cc",
3317         "src/interpreter/interpreter-generator.h",
3318         "src/interpreter/interpreter-intrinsics-generator.cc",
3319         "src/interpreter/interpreter-intrinsics-generator.h",
3320         "src/numbers/integer-literal.h",
3321         "src/numbers/integer-literal-inl.h",
3322     ] + select({
3323         "@v8//bazel/config:v8_target_ia32": ["src/builtins/ia32/builtins-ia32.cc"],
3324         "@v8//bazel/config:v8_target_x64": ["src/builtins/x64/builtins-x64.cc"],
3325         "@v8//bazel/config:v8_target_arm": ["src/builtins/arm/builtins-arm.cc"],
3326         "@v8//bazel/config:v8_target_arm64": ["src/builtins/arm64/builtins-arm64.cc"],
3327         "@v8//bazel/config:v8_target_s390x": ["src/builtins/s390/builtins-s390.cc"],
3328         "@v8//bazel/config:v8_target_riscv64": ["src/builtins/riscv64/builtins-riscv64.cc"],
3329         "@v8//bazel/config:v8_target_ppc64le": ["src/builtins/ppc/builtins-ppc.cc"],
3330     }) + select({
3331         ":is_v8_enable_webassembly": [
3332             "src/builtins/builtins-wasm-gen.cc",
3333             "src/builtins/builtins-wasm-gen.h",
3334         ],
3335         "//conditions:default": [],
3336     }),
3337 )
3338
3339 filegroup(
3340     name = "icu/v8_initializers_files",
3341     srcs = [
3342         "src/builtins/builtins-intl-gen.cc",
3343         ":noicu/v8_initializers_files",
3344     ],
3345 )
3346
3347 filegroup(
3348     name = "cppgc_base_files",
3349     srcs = [
3350         "src/heap/cppgc/allocation.cc",
3351         "src/heap/cppgc/caged-heap.h",
3352         "src/heap/cppgc/compaction-worklists.cc",
3353         "src/heap/cppgc/compaction-worklists.h",
3354         "src/heap/cppgc/compactor.cc",
3355         "src/heap/cppgc/compactor.h",
3356         "src/heap/cppgc/concurrent-marker.cc",
3357         "src/heap/cppgc/concurrent-marker.h",
3358         "src/heap/cppgc/explicit-management.cc",
3359         "src/heap/cppgc/free-list.cc",
3360         "src/heap/cppgc/free-list.h",
3361         "src/heap/cppgc/garbage-collector.h",
3362         "src/heap/cppgc/gc-info.cc",
3363         "src/heap/cppgc/gc-info-table.cc",
3364         "src/heap/cppgc/gc-info-table.h",
3365         "src/heap/cppgc/gc-invoker.cc",
3366         "src/heap/cppgc/gc-invoker.h",
3367         "src/heap/cppgc/globals.h",
3368         "src/heap/cppgc/heap.cc",
3369         "src/heap/cppgc/heap.h",
3370         "src/heap/cppgc/heap-base.cc",
3371         "src/heap/cppgc/heap-base.h",
3372         "src/heap/cppgc/heap-config.h",
3373         "src/heap/cppgc/heap-consistency.cc",
3374         "src/heap/cppgc/heap-growing.cc",
3375         "src/heap/cppgc/heap-growing.h",
3376         "src/heap/cppgc/heap-object-header.cc",
3377         "src/heap/cppgc/heap-object-header.h",
3378         "src/heap/cppgc/heap-page.cc",
3379         "src/heap/cppgc/heap-page.h",
3380         "src/heap/cppgc/heap-space.cc",
3381         "src/heap/cppgc/heap-space.h",
3382         "src/heap/cppgc/heap-state.cc",
3383         "src/heap/cppgc/heap-statistics-collector.cc",
3384         "src/heap/cppgc/heap-statistics-collector.h",
3385         "src/heap/cppgc/heap-visitor.h",
3386         "src/heap/cppgc/liveness-broker.cc",
3387         "src/heap/cppgc/liveness-broker.h",
3388         "src/heap/cppgc/logging.cc",
3389         "src/heap/cppgc/marker.cc",
3390         "src/heap/cppgc/marker.h",
3391         "src/heap/cppgc/marking-state.cc",
3392         "src/heap/cppgc/marking-state.h",
3393         "src/heap/cppgc/marking-verifier.cc",
3394         "src/heap/cppgc/marking-verifier.h",
3395         "src/heap/cppgc/marking-visitor.cc",
3396         "src/heap/cppgc/marking-visitor.h",
3397         "src/heap/cppgc/marking-worklists.cc",
3398         "src/heap/cppgc/marking-worklists.h",
3399         "src/heap/cppgc/member-storage.cc",
3400         "src/heap/cppgc/member-storage.h",
3401         "src/heap/cppgc/memory.cc",
3402         "src/heap/cppgc/memory.h",
3403         "src/heap/cppgc/metric-recorder.h",
3404         "src/heap/cppgc/name-trait.cc",
3405         "src/heap/cppgc/object-allocator.cc",
3406         "src/heap/cppgc/object-allocator.h",
3407         "src/heap/cppgc/object-poisoner.h",
3408         "src/heap/cppgc/object-size-trait.cc",
3409         "src/heap/cppgc/object-start-bitmap.h",
3410         "src/heap/cppgc/object-view.h",
3411         "src/heap/cppgc/page-memory.cc",
3412         "src/heap/cppgc/page-memory.h",
3413         "src/heap/cppgc/persistent-node.cc",
3414         "src/heap/cppgc/platform.cc",
3415         "src/heap/cppgc/platform.h",
3416         "src/heap/cppgc/pointer-policies.cc",
3417         "src/heap/cppgc/prefinalizer-handler.cc",
3418         "src/heap/cppgc/prefinalizer-handler.h",
3419         "src/heap/cppgc/process-heap.cc",
3420         "src/heap/cppgc/process-heap.h",
3421         "src/heap/cppgc/process-heap-statistics.cc",
3422         "src/heap/cppgc/process-heap-statistics.h",
3423         "src/heap/cppgc/raw-heap.cc",
3424         "src/heap/cppgc/raw-heap.h",
3425         "src/heap/cppgc/remembered-set.cc",
3426         "src/heap/cppgc/remembered-set.h",
3427         "src/heap/cppgc/stats-collector.cc",
3428         "src/heap/cppgc/stats-collector.h",
3429         "src/heap/cppgc/sweeper.cc",
3430         "src/heap/cppgc/sweeper.h",
3431         "src/heap/cppgc/task-handle.h",
3432         "src/heap/cppgc/trace-event.h",
3433         "src/heap/cppgc/trace-trait.cc",
3434         "src/heap/cppgc/unmarker.h",
3435         "src/heap/cppgc/virtual-memory.cc",
3436         "src/heap/cppgc/virtual-memory.h",
3437         "src/heap/cppgc/visitor.cc",
3438         "src/heap/cppgc/visitor.h",
3439         "src/heap/cppgc/write-barrier.cc",
3440         "src/heap/cppgc/write-barrier.h",
3441     ],
3442 )
3443
3444 filegroup(
3445     name = "v8_heap_base_files",
3446     srcs = [
3447         "src/heap/base/active-system-pages.cc",
3448         "src/heap/base/active-system-pages.h",
3449         "src/heap/base/basic-slot-set.h",
3450         "src/heap/base/bytes.h",
3451         "src/heap/base/incremental-marking-schedule.cc",
3452         "src/heap/base/incremental-marking-schedule.h",
3453         "src/heap/base/memory-tagging.h",
3454         "src/heap/base/memory-tagging.cc",
3455         "src/heap/base/stack.cc",
3456         "src/heap/base/stack.h",
3457         "src/heap/base/worklist.cc",
3458         "src/heap/base/worklist.h",
3459     ] + select({
3460         # Note these cannot be v8_target_is_* selects because these contain
3461         # inline assembly that runs inside the executable. Since these are
3462         # linked directly into mksnapshot, they must use the actual target cpu.
3463         "@v8//bazel/config:is_inline_asm_ia32": ["src/heap/base/asm/ia32/push_registers_asm.cc"],
3464         "@v8//bazel/config:is_inline_asm_x64": ["src/heap/base/asm/x64/push_registers_asm.cc"],
3465         "@v8//bazel/config:is_inline_asm_arm": ["src/heap/base/asm/arm/push_registers_asm.cc"],
3466         "@v8//bazel/config:is_inline_asm_arm64": ["src/heap/base/asm/arm64/push_registers_asm.cc"],
3467         "@v8//bazel/config:is_inline_asm_s390x": ["src/heap/base/asm/s390/push_registers_asm.cc"],
3468         "@v8//bazel/config:is_inline_asm_riscv64": ["src/heap/base/asm/riscv64/push_registers_asm.cc"],
3469         "@v8//bazel/config:is_inline_asm_ppc64le": ["src/heap/base/asm/ppc/push_registers_asm.cc"],
3470         "@v8//bazel/config:is_msvc_asm_ia32": ["src/heap/base/asm/ia32/push_registers_masm.asm"],
3471         "@v8//bazel/config:is_msvc_asm_x64": ["src/heap/base/asm/x64/push_registers_masm.asm"],
3472         "@v8//bazel/config:is_msvc_asm_arm64": ["src/heap/base/asm/arm64/push_registers_masm.S"],
3473     }),
3474 )
3475
3476 filegroup(
3477     name = "v8_bigint",
3478     srcs = [
3479         "src/bigint/bigint.h",
3480         "src/bigint/bigint-internal.cc",
3481         "src/bigint/bigint-internal.h",
3482         "src/bigint/bitwise.cc",
3483         "src/bigint/digit-arithmetic.h",
3484         "src/bigint/div-barrett.cc",
3485         "src/bigint/div-burnikel.cc",
3486         "src/bigint/div-helpers.cc",
3487         "src/bigint/div-helpers.h",
3488         "src/bigint/div-schoolbook.cc",
3489         "src/bigint/fromstring.cc",
3490         "src/bigint/mul-fft.cc",
3491         "src/bigint/mul-karatsuba.cc",
3492         "src/bigint/mul-schoolbook.cc",
3493         "src/bigint/mul-toom.cc",
3494         "src/bigint/tostring.cc",
3495         "src/bigint/util.h",
3496         "src/bigint/vector-arithmetic.cc",
3497         "src/bigint/vector-arithmetic.h",
3498     ],
3499 )
3500
3501 filegroup(
3502     name = "mksnapshot_files",
3503     srcs = [
3504         "src/init/setup-isolate-full.cc",
3505         "src/snapshot/embedded/embedded-empty.cc",
3506         "src/snapshot/embedded/embedded-file-writer.cc",
3507         "src/snapshot/embedded/embedded-file-writer.h",
3508         "src/snapshot/embedded/platform-embedded-file-writer-aix.cc",
3509         "src/snapshot/embedded/platform-embedded-file-writer-aix.h",
3510         "src/snapshot/embedded/platform-embedded-file-writer-base.cc",
3511         "src/snapshot/embedded/platform-embedded-file-writer-base.h",
3512         "src/snapshot/embedded/platform-embedded-file-writer-generic.cc",
3513         "src/snapshot/embedded/platform-embedded-file-writer-generic.h",
3514         "src/snapshot/embedded/platform-embedded-file-writer-mac.cc",
3515         "src/snapshot/embedded/platform-embedded-file-writer-mac.h",
3516         "src/snapshot/embedded/platform-embedded-file-writer-win.cc",
3517         "src/snapshot/embedded/platform-embedded-file-writer-win.h",
3518         "src/snapshot/mksnapshot.cc",
3519         "src/snapshot/snapshot-empty.cc",
3520         "src/snapshot/static-roots-gen.cc",
3521         "src/snapshot/static-roots-gen.h",
3522     ],
3523 )
3524
3525 filegroup(
3526     name = "v8_inspector_files",
3527     srcs = [
3528         "src/inspector/crc32.cc",
3529         "src/inspector/crc32.h",
3530         "src/inspector/custom-preview.cc",
3531         "src/inspector/custom-preview.h",
3532         "src/inspector/injected-script.cc",
3533         "src/inspector/injected-script.h",
3534         "src/inspector/inspected-context.cc",
3535         "src/inspector/inspected-context.h",
3536         "src/inspector/remote-object-id.cc",
3537         "src/inspector/remote-object-id.h",
3538         "src/inspector/search-util.cc",
3539         "src/inspector/search-util.h",
3540         "src/inspector/string-16.cc",
3541         "src/inspector/string-16.h",
3542         "src/inspector/string-util.cc",
3543         "src/inspector/string-util.h",
3544         "src/inspector/test-interface.cc",
3545         "src/inspector/test-interface.h",
3546         "src/inspector/v8-console.cc",
3547         "src/inspector/v8-console.h",
3548         "src/inspector/v8-console-agent-impl.cc",
3549         "src/inspector/v8-console-agent-impl.h",
3550         "src/inspector/v8-console-message.cc",
3551         "src/inspector/v8-console-message.h",
3552         "src/inspector/v8-debugger.cc",
3553         "src/inspector/v8-debugger.h",
3554         "src/inspector/v8-debugger-agent-impl.cc",
3555         "src/inspector/v8-debugger-agent-impl.h",
3556         "src/inspector/v8-debugger-barrier.cc",
3557         "src/inspector/v8-debugger-barrier.h",
3558         "src/inspector/v8-debugger-id.cc",
3559         "src/inspector/v8-debugger-id.h",
3560         "src/inspector/v8-debugger-script.cc",
3561         "src/inspector/v8-debugger-script.h",
3562         "src/inspector/v8-deep-serializer.cc",
3563         "src/inspector/v8-deep-serializer.h",
3564         "src/inspector/v8-heap-profiler-agent-impl.cc",
3565         "src/inspector/v8-heap-profiler-agent-impl.h",
3566         "src/inspector/v8-inspector-impl.cc",
3567         "src/inspector/v8-inspector-impl.h",
3568         "src/inspector/v8-inspector-session-impl.cc",
3569         "src/inspector/v8-inspector-session-impl.h",
3570         "src/inspector/v8-serialization-duplicate-tracker.cc",
3571         "src/inspector/v8-serialization-duplicate-tracker.h",
3572         "src/inspector/v8-profiler-agent-impl.cc",
3573         "src/inspector/v8-profiler-agent-impl.h",
3574         "src/inspector/v8-regex.cc",
3575         "src/inspector/v8-regex.h",
3576         "src/inspector/v8-runtime-agent-impl.cc",
3577         "src/inspector/v8-runtime-agent-impl.h",
3578         "src/inspector/v8-schema-agent-impl.cc",
3579         "src/inspector/v8-schema-agent-impl.h",
3580         "src/inspector/v8-stack-trace-impl.cc",
3581         "src/inspector/v8-stack-trace-impl.h",
3582         "src/inspector/v8-string-conversions.cc",
3583         "src/inspector/v8-string-conversions.h",
3584         "src/inspector/v8-value-utils.cc",
3585         "src/inspector/v8-value-utils.h",
3586         "src/inspector/value-mirror.cc",
3587         "src/inspector/value-mirror.h",
3588         ":crdtp_platform_files",
3589         ":generated_inspector_files",
3590     ],
3591 )
3592
3593 filegroup(
3594     name = "crdtp_platform_files",
3595     srcs = [
3596         "third_party/inspector_protocol/crdtp/json_platform.h",
3597         "third_party/inspector_protocol/crdtp/json_platform_v8.cc",
3598         ":crdtp_files",
3599     ],
3600 )
3601
3602 filegroup(
3603     name = "crdtp_files",
3604     srcs = [
3605         "third_party/inspector_protocol/crdtp/cbor.cc",
3606         "third_party/inspector_protocol/crdtp/cbor.h",
3607         "third_party/inspector_protocol/crdtp/dispatch.cc",
3608         "third_party/inspector_protocol/crdtp/dispatch.h",
3609         "third_party/inspector_protocol/crdtp/error_support.cc",
3610         "third_party/inspector_protocol/crdtp/error_support.h",
3611         "third_party/inspector_protocol/crdtp/export.h",
3612         "third_party/inspector_protocol/crdtp/find_by_first.h",
3613         "third_party/inspector_protocol/crdtp/frontend_channel.h",
3614         "third_party/inspector_protocol/crdtp/glue.h",
3615         "third_party/inspector_protocol/crdtp/json.cc",
3616         "third_party/inspector_protocol/crdtp/json.h",
3617         "third_party/inspector_protocol/crdtp/maybe.h",
3618         "third_party/inspector_protocol/crdtp/parser_handler.h",
3619         "third_party/inspector_protocol/crdtp/protocol_core.cc",
3620         "third_party/inspector_protocol/crdtp/protocol_core.h",
3621         "third_party/inspector_protocol/crdtp/serializable.cc",
3622         "third_party/inspector_protocol/crdtp/serializable.h",
3623         "third_party/inspector_protocol/crdtp/span.cc",
3624         "third_party/inspector_protocol/crdtp/span.h",
3625         "third_party/inspector_protocol/crdtp/status.cc",
3626         "third_party/inspector_protocol/crdtp/status.h",
3627     ],
3628 )
3629
3630 filegroup(
3631     name = "noicu/snapshot_files",
3632     srcs = [
3633         "src/init/setup-isolate-deserialize.cc",
3634     ] + select({
3635         "@v8//bazel/config:v8_target_arm": [
3636             "google3/snapshots/arm/noicu/embedded.S",
3637             "google3/snapshots/arm/noicu/snapshot.cc",
3638         ],
3639         "@v8//bazel/config:v8_target_ia32": [
3640             "google3/snapshots/ia32/noicu/embedded.S",
3641             "google3/snapshots/ia32/noicu/snapshot.cc",
3642         ],
3643         "//conditions:default": [":noicu/generated_snapshot_files"],
3644     }),
3645 )
3646
3647 filegroup(
3648     name = "icu/snapshot_files",
3649     srcs = [
3650         "src/init/setup-isolate-deserialize.cc",
3651     ] + select({
3652         "@v8//bazel/config:v8_target_arm": [
3653             "google3/snapshots/arm/icu/embedded.S",
3654             "google3/snapshots/arm/icu/snapshot.cc",
3655         ],
3656         "@v8//bazel/config:v8_target_ia32": [
3657             "google3/snapshots/ia32/icu/embedded.S",
3658             "google3/snapshots/ia32/icu/snapshot.cc",
3659         ],
3660         "//conditions:default": [":icu/generated_snapshot_files"],
3661     }),
3662 )
3663
3664 filegroup(
3665     name = "wee8_files",
3666     srcs = [
3667         "src/wasm/c-api.cc",
3668         "src/wasm/c-api.h",
3669         "third_party/wasm-api/wasm.h",
3670         "third_party/wasm-api/wasm.hh",
3671     ],
3672 )
3673
3674 filegroup(
3675     name = "kythe_torque_headers",
3676     srcs = glob(["src/torque/*.h"]),
3677 )
3678
3679 # =================================================
3680 # Generated files
3681 # =================================================
3682
3683 # Define file groups for torque definitions and initializers. Both are
3684 # generated together, but we can use output_group to split them.
3685 filegroup(
3686     name = "icu/generated_torque_definitions",
3687     srcs = [":icu/generated_torque_files"],
3688     output_group = "definitions",
3689 )
3690
3691 filegroup(
3692     name = "noicu/generated_torque_definitions",
3693     srcs = [":noicu/generated_torque_files"],
3694     output_group = "definitions",
3695 )
3696
3697 filegroup(
3698     name = "icu/generated_torque_initializers",
3699     srcs = [":icu/generated_torque_files"],
3700     output_group = "initializers",
3701 )
3702
3703 filegroup(
3704     name = "noicu/generated_torque_initializers",
3705     srcs = [":noicu/generated_torque_files"],
3706     output_group = "initializers",
3707 )
3708
3709 # TODO(victorgomes): Add support to tools/debug_helper,
3710 # which needs class-debug-readers and debug-macros.
3711 v8_torque_files(
3712     name = "generated_torque_files",
3713     args = select({
3714         ":is_v8_annotate_torque_ir": ["-annotate-ir"],
3715         "//conditions:default": [],
3716     }) + select({
3717         "@v8//bazel/config:v8_target_is_32_bits": ["-m32"],
3718         "//conditions:default": [],
3719     }),
3720     initializer_extras = [
3721         "csa-types.h",
3722         "enum-verifiers.cc",
3723         "exported-macros-assembler.cc",
3724         "exported-macros-assembler.h",
3725     ],
3726     definition_extras = [
3727         "bit-fields.h",
3728         "builtin-definitions.h",
3729         # "class-debug-readers.cc",
3730         # "class-debug-readers.h",
3731         "class-forward-declarations.h",
3732         "class-verifiers.cc",
3733         "class-verifiers.h",
3734         # "debug-macros.cc",
3735         # "debug-macros.h",
3736         "factory.cc",
3737         "factory.inc",
3738         "instance-types.h",
3739         "interface-descriptors.inc",
3740         "objects-body-descriptors-inl.inc",
3741         "objects-printer.cc",
3742         "visitor-lists.h",
3743
3744     ],
3745     icu_srcs = [":icu/torque_files"],
3746     noicu_srcs = [":noicu/torque_files"],
3747 )
3748
3749 py_binary(
3750     name = "code_generator",
3751     srcs = [
3752         "third_party/inspector_protocol/code_generator.py",
3753         "third_party/inspector_protocol/pdl.py",
3754     ],
3755     data = [
3756         "third_party/inspector_protocol/lib/Forward_h.template",
3757         "third_party/inspector_protocol/lib/Object_cpp.template",
3758         "third_party/inspector_protocol/lib/Object_h.template",
3759         "third_party/inspector_protocol/lib/Protocol_cpp.template",
3760         "third_party/inspector_protocol/lib/ValueConversions_cpp.template",
3761         "third_party/inspector_protocol/lib/ValueConversions_h.template",
3762         "third_party/inspector_protocol/lib/Values_cpp.template",
3763         "third_party/inspector_protocol/lib/Values_h.template",
3764         "third_party/inspector_protocol/templates/Exported_h.template",
3765         "third_party/inspector_protocol/templates/Imported_h.template",
3766         "third_party/inspector_protocol/templates/TypeBuilder_cpp.template",
3767         "third_party/inspector_protocol/templates/TypeBuilder_h.template",
3768     ],
3769     imports = ["third_party/inspector_protocol/"],
3770     python_version = "PY3",
3771     deps = [
3772         requirement("jinja2"),
3773     ],
3774 )
3775
3776 genrule(
3777     name = "generated_inspector_files",
3778     srcs = [
3779         "include/js_protocol.pdl",
3780         "src/inspector/inspector_protocol_config.json",
3781     ],
3782     outs = [
3783         "include/inspector/Debugger.h",
3784         "include/inspector/Runtime.h",
3785         "include/inspector/Schema.h",
3786         "src/inspector/protocol/Forward.h",
3787         "src/inspector/protocol/Protocol.cpp",
3788         "src/inspector/protocol/Protocol.h",
3789         "src/inspector/protocol/Console.cpp",
3790         "src/inspector/protocol/Console.h",
3791         "src/inspector/protocol/Debugger.cpp",
3792         "src/inspector/protocol/Debugger.h",
3793         "src/inspector/protocol/HeapProfiler.cpp",
3794         "src/inspector/protocol/HeapProfiler.h",
3795         "src/inspector/protocol/Profiler.cpp",
3796         "src/inspector/protocol/Profiler.h",
3797         "src/inspector/protocol/Runtime.cpp",
3798         "src/inspector/protocol/Runtime.h",
3799         "src/inspector/protocol/Schema.cpp",
3800         "src/inspector/protocol/Schema.h",
3801     ],
3802     cmd = "$(location :code_generator) --jinja_dir . \
3803            --inspector_protocol_dir third_party/inspector_protocol \
3804            --config $(location :src/inspector/inspector_protocol_config.json) \
3805            --config_value protocol.path=$(location :include/js_protocol.pdl) \
3806            --output_base $(@D)/src/inspector",
3807     local = 1,
3808     message = "Generating inspector files",
3809     tools = [
3810         ":code_generator",
3811     ],
3812 )
3813
3814 filegroup(
3815     name = "v8_common_libshared_files",
3816     srcs = [
3817         ":torque_runtime_support_files",
3818         ":v8_libplatform_files",
3819         ":v8_libsampler_files",
3820         ":v8_shared_internal_headers",
3821     ],
3822 )
3823
3824 filegroup(
3825     name = "d8_files",
3826     srcs = [
3827         "src/d8/async-hooks-wrapper.cc",
3828         "src/d8/async-hooks-wrapper.h",
3829         "src/d8/d8.cc",
3830         "src/d8/d8.h",
3831         "src/d8/d8-console.cc",
3832         "src/d8/d8-console.h",
3833         "src/d8/d8-js.cc",
3834         "src/d8/d8-platforms.cc",
3835         "src/d8/d8-platforms.h",
3836         "src/d8/d8-posix.cc",
3837         "src/d8/d8-test.cc",
3838     ],
3839 )
3840
3841 genrule(
3842     name = "generated_bytecode_builtins_list",
3843     srcs = [],
3844     outs = ["builtins-generated/bytecodes-builtins-list.h"],
3845     cmd = "$(location :bytecode_builtins_list_generator) $@",
3846     cmd_bat = "$(location :bytecode_builtins_list_generator) $@",
3847     tools = [":bytecode_builtins_list_generator"],
3848 )
3849
3850 genrule(
3851     name = "generated_regexp_special_case",
3852     srcs = [],
3853     outs = ["src/regexp/special-case.cc"],
3854     cmd = "$(location :regexp_special_case_generator) $@",
3855     cmd_bat = "$(location :regexp_special_case_generator) $@",
3856     tools = [":regexp_special_case_generator"],
3857 )
3858
3859 v8_mksnapshot(
3860     name = "generated_snapshot_files",
3861     args = select({
3862         ":is_v8_enable_verify_heap": ["--verify-heap"],
3863         "//conditions:default": [],
3864     }) + select({
3865         ":is_v8_enable_fast_mksnapshot": [
3866             "--no-turbo-rewrite-far-jumps",
3867             "--no-turbo-verify-allocation",
3868         ],
3869         "//conditions:default": [],
3870     }) + select({
3871         ":is_v8_enable_snapshot_code_comments": ["--code-comments"],
3872         "//conditions:default": [],
3873     }) + select({
3874         ":is_v8_enable_snapshot_native_code_counters": [
3875             "--native-code-counters",
3876         ],
3877         "//conditions:default": ["--no-native-code-counters"],
3878     }),
3879 )
3880
3881 # =================================================
3882 # Libraries rules
3883 # =================================================
3884
3885 # NOTE: This allow headers to be accessed without the icu/noicu prefixes.
3886 cc_library(
3887     name = "icu/generated_torque_definitions_headers",
3888     hdrs = [":icu/generated_torque_definitions"],
3889     copts = ["-Wno-implicit-fallthrough"],
3890     strip_include_prefix = "icu",
3891 )
3892
3893 cc_library(
3894     name = "noicu/generated_torque_definitions_headers",
3895     hdrs = [":noicu/generated_torque_definitions"],
3896     copts = ["-Wno-implicit-fallthrough"],
3897     strip_include_prefix = "noicu",
3898 )
3899
3900 v8_library(
3901     name = "v8_libbase",
3902     srcs = [
3903         ":v8_libbase_files",
3904         ":v8_shared_internal_headers",
3905     ],
3906     copts = ["-Wno-implicit-fallthrough"],
3907 )
3908
3909 cc_library(
3910     name = "torque_base_headers",
3911     hdrs = [
3912         "src/torque/kythe-data.h",
3913         "src/torque/torque-compiler.h",
3914     ],
3915     copts = ["-Wno-implicit-fallthrough"],
3916     include_prefix = "third_party/v8",
3917     includes = ["."],
3918 )
3919
3920 cc_library(
3921     name = "kythe_torque_base",
3922     srcs = [
3923         ":torque_base_files",
3924     ],
3925     copts = ["-Wno-implicit-fallthrough"] + select({
3926         "@v8//bazel/config:is_posix": ["-fexceptions"],
3927         "//conditions:default": [],
3928     }),
3929     features = ["-use_header_modules"],
3930     deps = [
3931         ":torque_base_headers",
3932         ":v8_libbase",
3933         "//external:absl_optional",
3934     ],
3935 )
3936
3937 v8_library(
3938     name = "v8_libshared",
3939     srcs = [
3940         ":v8_base_without_compiler_files",
3941         ":v8_common_libshared_files",
3942     ] + select({
3943         ":is_v8_enable_turbofan": [
3944             ":v8_compiler_files",
3945         ],
3946         "//conditions:default": [],
3947     }),
3948     copts = ["-Wno-implicit-fallthrough"],
3949     icu_deps = [
3950         ":icu/generated_torque_definitions_headers",
3951         "//external:icu",
3952     ],
3953     icu_srcs = [
3954         ":generated_regexp_special_case",
3955         ":icu/generated_torque_definitions",
3956         ":icu/v8_base_without_compiler_files",
3957     ],
3958     noicu_deps = [
3959         ":noicu/generated_torque_definitions_headers",
3960     ],
3961     noicu_srcs = [
3962         ":noicu/generated_torque_definitions",
3963     ],
3964     deps = [
3965         ":v8_libbase",
3966         "//external:base_trace_event_common",
3967     ],
3968 )
3969
3970 v8_library(
3971     name = "v8",
3972     srcs = [
3973         ":v8_inspector_files",
3974     ] + select({
3975         ":is_not_v8_enable_turbofan": [
3976             # With Turbofan disabled, we only include the stubbed-out API.
3977             "src/compiler/turbofan-disabled.cc",
3978         ],
3979         "//conditions:default": [],
3980     }),
3981     hdrs = [":public_header_files"],
3982     copts = ["-Wno-implicit-fallthrough"],
3983     icu_deps = [":icu/v8_libshared"],
3984     icu_srcs = [":icu/snapshot_files"],
3985     noicu_deps = [":noicu/v8_libshared"],
3986     noicu_srcs = [":noicu/snapshot_files"],
3987     visibility = ["//visibility:public"],
3988 )
3989
3990 # TODO(victorgomes): Check if v8_enable_webassembly is true.
3991 v8_library(
3992     name = "wee8",
3993     srcs = [":wee8_files"],
3994     hdrs = [":public_wasm_c_api_header_files"],
3995     copts = ["-Wno-implicit-fallthrough"],
3996     strip_include_prefix = "third_party",
3997     visibility = ["//visibility:public"],
3998     deps = [":noicu/v8"] + select({
3999         ":is_v8_enable_vtunejit": [
4000             ":v8_vtune",
4001         ],
4002         "//conditions:default": [],
4003     }),
4004 )
4005
4006 alias(
4007     name = "core_lib_noicu",
4008     actual = "noicu/v8",
4009 )
4010
4011 alias(
4012     name = "core_lib_icu",
4013     actual = "icu/v8",
4014 )
4015
4016 v8_library(
4017     name = "v8_vtune",
4018     srcs = glob([
4019         "src/third_party/vtune/v8-vtune.h",
4020         "src/third_party/vtune/vtune-jit.cc",
4021         "src/third_party/vtune/vtune-jit.h",
4022     ]),
4023     copts = ["-I"],
4024     deps = [
4025         ":core_lib_noicu",
4026         "@intel_ittapi//:lib_ittapi",
4027     ],
4028 )
4029
4030 # =================================================
4031 # Binary rules
4032 # =================================================
4033
4034 v8_binary(
4035     name = "bytecode_builtins_list_generator",
4036     srcs = [
4037         "src/builtins/generate-bytecodes-builtins-list.cc",
4038         "src/interpreter/bytecode-operands.cc",
4039         "src/interpreter/bytecode-operands.h",
4040         "src/interpreter/bytecode-traits.h",
4041         "src/interpreter/bytecodes.cc",
4042         "src/interpreter/bytecodes.h",
4043     ],
4044     copts = ["-Wno-implicit-fallthrough"],
4045     deps = ["v8_libbase"],
4046 )
4047
4048 v8_binary(
4049     name = "regexp_special_case_generator",
4050     srcs = [
4051         "src/regexp/gen-regexp-special-case.cc",
4052         "src/regexp/special-case.h",
4053         ":v8_libbase_files",
4054         ":v8_shared_internal_headers",
4055     ],
4056     copts = ["-Wno-implicit-fallthrough"],
4057     defines = [
4058         "V8_INTL_SUPPORT",
4059         "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
4060         # src/regexp/regexp-compiler-tonode.cc uses an unsafe ICU method and
4061         # access a character implicitly.
4062         "UNISTR_FROM_CHAR_EXPLICIT=",
4063     ],
4064     deps = [
4065         "//external:absl_optional",
4066         "//external:icu",
4067     ],
4068 )
4069
4070 v8_binary(
4071     name = "torque",
4072     srcs = [
4073         "src/torque/torque.cc",
4074         ":torque_base_files",
4075     ],
4076     copts = ["-Wno-implicit-fallthrough"] + select({
4077         "@v8//bazel/config:is_posix": ["-fexceptions"],
4078         "//conditions:default": [],
4079     }),
4080     features = ["-use_header_modules"],
4081     icu_defines = ["V8_INTL_SUPPORT"],
4082     linkopts = select({
4083         "@v8//bazel/config:is_android": ["-llog"],
4084         "//conditions:default": [],
4085     }),
4086     deps = ["v8_libbase"],
4087 )
4088
4089 v8_binary(
4090     name = "mksnapshot",
4091     srcs = [
4092         ":mksnapshot_files",
4093     ] + select({
4094         ":is_not_v8_enable_turbofan": [
4095             # Turbofan is needed to generate builtins.
4096             ":v8_compiler_files",
4097         ],
4098         "//conditions:default": [],
4099     }),
4100     copts = ["-Wno-implicit-fallthrough"],
4101     icu_deps = [":icu/v8_libshared"],
4102     icu_srcs = [
4103         ":icu/generated_torque_initializers",
4104         ":icu/v8_initializers_files",
4105     ],
4106     linkopts = select({
4107         "@v8//bazel/config:is_android": ["-llog"],
4108         "//conditions:default": [],
4109     }),
4110     noicu_deps = [":v8_libshared_noicu"],
4111     noicu_srcs = [
4112         ":noicu/generated_torque_initializers",
4113         ":noicu/v8_initializers_files",
4114     ],
4115 )
4116
4117 v8_binary(
4118     name = "d8",
4119     srcs = [":d8_files"],
4120     copts = ["-Wno-implicit-fallthrough"],
4121     icu_deps = [":icu/v8"],
4122     noicu_deps = [":noicu/v8"],
4123 )
4124
4125 # This target forces torque to be compiled without pointer compression.
4126 v8_binary_non_pointer_compression(
4127     name = "noicu/torque_non_pointer_compression",
4128     binary = "noicu/torque",
4129 )
4130
4131 v8_binary_non_pointer_compression(
4132     name = "icu/torque_non_pointer_compression",
4133     binary = "icu/torque",
4134 )
4135
4136 alias(
4137     name = "v8ci",
4138     actual = "noicu/v8",
4139 )
4140
4141 # =================================================
4142 # Tests
4143 # =================================================
4144
4145 v8_build_config(
4146     name = "v8_build_config",
4147 )
4148
4149 # Runs mjsunit with d8.
4150 py_test(
4151     name = "noicu/mjsunit",
4152     size = "medium",
4153     srcs = [
4154         "test/mjsunit/testcfg.py",
4155         "tools/predictable_wrapper.py",
4156         "tools/run-tests.py",
4157     ] + glob(["tools/testrunner/**/*.py"]),
4158     args = [
4159         "--no-sorting",
4160         "--nopresubmit",
4161         "--variant=google3_noicu",
4162         "--outdir noicu",
4163         "--verbose",
4164         "mjsunit",
4165     ],
4166     data = [
4167         "test",
4168         ":noicu/d8",
4169         ":noicu/v8_build_config",
4170         "//testing/pybase",
4171     ] + glob(["test/**"]) + glob(["tools/**/*.js"]) + glob(["tools/**/*.mjs"]),
4172     main = "tools/run-tests.py",
4173     python_version = "PY3",
4174     tags = [
4175         # Disable sanitizers, as they don't work in general in V8.
4176         "nosan",
4177     ],
4178 )
4179
4180 py_test(
4181     name = "icu/mjsunit",
4182     size = "medium",
4183     srcs = [
4184         "test/mjsunit/testcfg.py",
4185         "tools/predictable_wrapper.py",
4186         "tools/run-tests.py",
4187     ] + glob(["tools/testrunner/**/*.py"]),
4188     args = [
4189         "--no-sorting",
4190         "--nopresubmit",
4191         "--variant=google3_icu",
4192         "--outdir icu",
4193         "--verbose",
4194         "mjsunit",
4195     ],
4196     data = [
4197         "test",
4198         ":icu/d8",
4199         ":icu/v8_build_config",
4200         "//testing/pybase",
4201     ] + glob(["test/**"]) + glob(["tools/**/*.js"]) + glob(["tools/**/*.mjs"]),
4202     main = "tools/run-tests.py",
4203     python_version = "PY3",
4204     tags = [
4205         # Disable sanitizers, as they don't work in general in V8.
4206         "nosan",
4207     ],
4208 )