carbon_detected_variables.tpl.bzl 531 B

12345678910111213
  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. """A Starlark file exporting detected Carbon toolchain configuration variables.
  5. This file gets processed by a repository rule, substituting the `VARIABLE`s with
  6. values, for example using an invocation of `carbon config`.
  7. """
  8. clang_include_dirs = CLANG_INCLUDE_DIRS
  9. clang_resource_dir = "CLANG_RESOURCE_DIR"
  10. clang_sysroot = "CLANG_SYSROOT"