diff options
author | 2021-06-09 12:48:53 -0700 | |
---|---|---|
committer | 2021-06-09 15:05:40 -0700 | |
commit | 95fad7a56e25100f0baa679204e7bae98d780605 (patch) | |
tree | 872d013215a087fbe0b4aca19f522289819ae4e3 /java/lint.go | |
parent | a4d9b86c8b5042470df3a8cc80824f538eba0642 (diff) |
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
Diffstat (limited to 'java/lint.go')
-rw-r--r-- | java/lint.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/lint.go b/java/lint.go index 9f769dfe3..1511cfe26 100644 --- a/java/lint.go +++ b/java/lint.go @@ -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}, }) } |