mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
This removes the `data_dir` from the driver favoring the installation abstraction for the both locating the prelude and linking utilities. With this, an installed toolchain should also be able to compile and link Carbon successfully, and the build of the examples should exercise this path almost exactly. (The only difference is using the driver `cc_binary` directly rather than relying on the symlink from inside the install tree.)
11 lines
374 B
Python
11 lines
374 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
|
|
|
|
# The prelude, and all of its dependencies.
|
|
filegroup(
|
|
name = "prelude",
|
|
srcs = ["prelude.carbon"] + glob(["prelude/**/*.carbon"]),
|
|
visibility = ["//visibility:public"],
|
|
)
|