Files
carbon-lang/core/BUILD
T
Chandler Carruth 5d0d443c98 Move the :install_paths library to //toolchain/base (#6457)
Previously this was kept in `//toolchain/install` so it would be near to
the code that actually defines the installation layout. However, that
creates somewhat unfortunate dependency cycles between
`//toolchain/install` and other directories. Exacerbating this, a
subsequent PR is likely to add dependencies on it from
`//toolchain/base` itself that suggests that is the correct layering.

This PR just moves the code mechanically with as few other edits as
possible.
2025-12-03 17:14:34 +00:00

32 lines
819 B
Python

# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//bazel/manifest:defs.bzl", "manifest")
# Raw prelude files.
# TODO: This includes all of Core, not just the prelude.
filegroup(
name = "prelude_files",
srcs = glob(["**/*.carbon"]),
visibility = ["//visibility:public"],
)
# A list of prelude inputs.
# This is consumed by //toolchain/base:install_paths.
manifest(
name = "prelude_manifest.txt",
srcs = [":prelude_files"],
strip_package_dir = True,
)
# All files for the toolchain install.
filegroup(
name = "prelude",
srcs = [
":prelude_files",
":prelude_manifest.txt",
],
visibility = ["//visibility:public"],
)