Merge "export WarningAllowedProjects to bazel"

This commit is contained in:
Treehugger Robot
2023-05-18 04:04:40 +00:00
committed by Gerrit Code Review

View File

@@ -438,6 +438,8 @@ func init() {
pctx.StaticVariableWithEnvOverride("ClangShortVersion", "LLVM_RELEASE_VERSION", ClangDefaultShortVersion)
pctx.StaticVariable("ClangAsanLibDir", "${ClangBase}/linux-x86/${ClangVersion}/lib/clang/${ClangShortVersion}/lib/linux")
exportedVars.ExportStringListStaticVariable("WarningAllowedProjects", WarningAllowedProjects)
// These are tied to the version of LLVM directly in external/llvm, so they might trail the host prebuilts
// being used for the rest of the build process.
pctx.SourcePathVariable("RSClangBase", "prebuilts/clang/host")