mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:01:14 +01:00
This removes the directory crawl because bazel doesn't remove files from execroot when the rule generating them would no longer generate them. Fixes #4288
30 lines
739 B
Python
30 lines
739 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("manifest.bzl", "manifest")
|
|
|
|
# Raw prelude files.
|
|
filegroup(
|
|
name = "prelude_files",
|
|
srcs = ["prelude.carbon"] + glob(["prelude/**/*.carbon"]),
|
|
)
|
|
|
|
# A list of prelude inputs.
|
|
# This is consumed by //toolchain/install:install_paths.
|
|
manifest(
|
|
name = "prelude_manifest",
|
|
srcs = [":prelude_files"],
|
|
out = "prelude_manifest.txt",
|
|
)
|
|
|
|
# All files for the toolchain install.
|
|
filegroup(
|
|
name = "prelude",
|
|
srcs = [
|
|
":prelude_files",
|
|
":prelude_manifest.txt",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|