Merge "Expose Soong's default clang versions to Bazel"
This commit is contained in:
committed by
Gerrit Code Review
commit
37abc3c343
@@ -355,6 +355,9 @@ func init() {
|
||||
exportedStringListVars.Set("CommonGlobalIncludes", commonGlobalIncludes)
|
||||
pctx.PrefixedExistentPathsForSourcesVariable("CommonGlobalIncludes", "-I", commonGlobalIncludes)
|
||||
|
||||
exportStringStaticVariable("CLANG_DEFAULT_VERSION", ClangDefaultVersion)
|
||||
exportStringStaticVariable("CLANG_DEFAULT_SHORT_VERSION", ClangDefaultShortVersion)
|
||||
|
||||
pctx.SourcePathVariable("ClangDefaultBase", ClangDefaultBase)
|
||||
pctx.VariableFunc("ClangBase", func(ctx android.PackageVarContext) string {
|
||||
if override := ctx.Config().Getenv("LLVM_PREBUILTS_BASE"); override != "" {
|
||||
|
Reference in New Issue
Block a user