export WarningAllowedProjects to bazel

Bug: 187088227
Test: b test
Change-Id: I668f2c3e834fd03ad2b6d01f07f79ec84dea54eb
This commit is contained in:
Sam Delmerico
2023-05-04 16:43:36 -04:00
parent cb97a76ad4
commit 036afabcfb

View File

@@ -444,6 +444,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")