clang_detected_variables.tpl.bzl 535 B

1234567891011121314
  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 Clang configuration variables.
  5. This file gets processed by a repository rule, substituting the
  6. `{VARIABLE}`s with values detected by invoking Clang.
  7. """
  8. llvm_bindir = "{LLVM_BINDIR}"
  9. clang_resource_dir = "{CLANG_RESOURCE_DIR}"
  10. clang_include_dirs_list = {CLANG_INCLUDE_DIRS_LIST}
  11. sysroot_dir = "{SYSROOT}"