Merge "Create a highmem pool and put metalava into it"

This commit is contained in:
Treehugger Robot
2020-01-25 01:09:43 +00:00
committed by Gerrit Code Review
13 changed files with 95 additions and 13 deletions

View File

@@ -1351,7 +1351,7 @@ func (m *moduleContext) Variable(pctx PackageContext, name, value string) {
func (m *moduleContext) Rule(pctx PackageContext, name string, params blueprint.RuleParams,
argNames ...string) blueprint.Rule {
if (m.config.UseGoma() || m.config.UseRBE()) && params.Pool == nil {
if m.config.UseRemoteBuild() && params.Pool == nil {
// When USE_GOMA=true or USE_RBE=true are set and the rule is not supported by goma/RBE, restrict
// jobs to the local parallelism value
params.Pool = localPool