Merge "Expose Soong's default clang versions to Bazel"
This commit is contained in:
commit
37abc3c343
1 changed files with 3 additions and 0 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in a new issue