Add CCACHE_DIR to allowed environment variables

Trying to override the default directory for ccache by using the
CCACHE_DIR environment variable fails unless it is in the allowed
list.

Bug: 149670916
Test: manual
Change-Id: I8e7eea7a5c25d7ea5f0956fafc70d62522f3c4fc
This commit is contained in:
John Eckerdal 2020-02-04 15:59:37 +01:00
parent 7c9662a8e9
commit 974b0e80c7
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ func runNinja(ctx Context, config Config) {
"CCACHE_SLOPPINESS", "CCACHE_SLOPPINESS",
"CCACHE_BASEDIR", "CCACHE_BASEDIR",
"CCACHE_CPP2", "CCACHE_CPP2",
"CCACHE_DIR",
}, config.BuildBrokenNinjaUsesEnvVars()...)...) }, config.BuildBrokenNinjaUsesEnvVars()...)...)
} }