Files
codex/third_party/v8/engine_rules.bzl
T
Sean Huang 696fb1bcb3 Move the V8 Bazel build graph into Codex (#57164)
## What changed

- Replace the upstream V8 module and dependency bridge with a source repository rule and `third_party/v8/engine.BUILD.bazel`, wiring dependencies and Python generator inputs directly from Codex.
- Import source filegroups from the pinned upstream BUILD, rejecting missing boundaries, malformed sections, and unexpected compiled targets.
- Define fixed source feature selections in the engine BUILD while retaining release ABI, runtime, and CPU settings. Reuse upstream platform configuration and limit the build integration patch to `bazel/defs.bzl`.
- Document source inventory review and canary validation for V8 upgrades.

GitOrigin-RevId: 1b42672b77fb8f0f34c41ae3345c0e302a892d44
2026-10-26 17:54:41 +00:00

14 lines
483 B
Python

"""Codex's fixed selection for branches of the imported V8 source inventory."""
load("@v8//:bazel/defs.bzl", "FlagInfo")
def _options_impl(ctx):
return FlagInfo(value = ctx.build_setting_value)
# Source-only features keep upstream select names without adding CLI options.
# ABI/runtime settings are still V8 release inputs until artifact profiles take over.
v8_fixed_source_features = rule(
implementation = _options_impl,
build_setting = config.bool(flag = False),
)