BUILD 819 B

12345678910111213141516171819202122232425262728293031
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("//bazel/manifest:defs.bzl", "manifest")
  5. # Raw prelude files.
  6. # TODO: This includes all of Core, not just the prelude.
  7. filegroup(
  8. name = "prelude_files",
  9. srcs = glob(["**/*.carbon"]),
  10. visibility = ["//visibility:public"],
  11. )
  12. # A list of prelude inputs.
  13. # This is consumed by //toolchain/base:install_paths.
  14. manifest(
  15. name = "prelude_manifest.txt",
  16. srcs = [":prelude_files"],
  17. strip_package_dir = True,
  18. )
  19. # All files for the toolchain install.
  20. filegroup(
  21. name = "prelude",
  22. srcs = [
  23. ":prelude_files",
  24. ":prelude_manifest.txt",
  25. ],
  26. visibility = ["//visibility:public"],
  27. )