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