Always propagate some environment variables to RBE
Always propagate LANG, LC_MESSAGES and PYTHONDONTWRITEBYTECODE to RBE to get more consistent behavior between local actions and RBE. Bug: 182415460 Bug: 190593001 Test: treehugger Change-Id: I726e6f02fd3ef77e158baf6fde77ffb7247a1375 Merged-In: I726e6f02fd3ef77e158baf6fde77ffb7247a1375
This commit is contained in:
committed by
Anton Hansson
parent
dce0713739
commit
fb618c387a
@@ -361,10 +361,7 @@ func (l *linter) lint(ctx android.ModuleContext) {
|
||||
Labels: map[string]string{"type": "tool", "name": "lint"},
|
||||
ExecStrategy: lintRBEExecStrategy(ctx),
|
||||
ToolchainInputs: []string{config.JavaCmd(ctx).String()},
|
||||
EnvironmentVariables: []string{
|
||||
"LANG",
|
||||
},
|
||||
Platform: map[string]string{remoteexec.PoolKey: pool},
|
||||
Platform: map[string]string{remoteexec.PoolKey: pool},
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user