diff options
author | 2021-03-10 18:00:51 -0800 | |
---|---|---|
committer | 2021-03-10 18:03:05 -0800 | |
commit | 9c78cb83d07cf576584f4096201552c52811e676 (patch) | |
tree | f419d34bab7c72c10f1e3dbb5d4375202a408365 /java/lint.go | |
parent | 9b93af488bfa5f3560284ea6f4215fc263ab8ff6 (diff) |
Propagate LANG environment variable to lint in RBE
Without LANG, lint's text output is ASCII instead of UTF-8, causing
differences between local and remote execution.
Bug: 181681346
Bug: 182415460
Test: m USE_RBE=true RBE_LINT=true
Change-Id: I0ad54aa731582c9b54abb80f50ba508c75992b91
Diffstat (limited to 'java/lint.go')
-rw-r--r-- | java/lint.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/lint.go b/java/lint.go index f8a518054..9f677db3a 100644 --- a/java/lint.go +++ b/java/lint.go @@ -422,6 +422,7 @@ func (l *linter) lint(ctx android.ModuleContext) { "ANDROID_SDK_HOME", "SDK_ANNOTATIONS", "LINT_OPTS", + "LANG", }, Platform: map[string]string{remoteexec.PoolKey: pool}, }).NoVarTemplate(ctx.Config())) |