diff options
| author | 2021-06-09 12:48:53 -0700 | |
|---|---|---|
| committer | 2021-06-11 12:54:36 +0100 | |
| commit | fb618c387a487413885382ab1a0534c81dba4669 (patch) | |
| tree | d60888ea26961fb99f1904b32c8cd7fc1a887fd2 /java | |
| parent | dce07137393c5d32060bbbab8a5b09fe0625b10e (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
Merged-In: I726e6f02fd3ef77e158baf6fde77ffb7247a1375
Diffstat (limited to 'java')
| -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}, }) } |