From 0f095e1e6536b6426034e071895c51f982fdf507 Mon Sep 17 00:00:00 2001 From: Kousik Kumar Date: Tue, 28 Jan 2020 10:48:46 -0800 Subject: [PATCH] Add additional variables to ninja variable whitelist These variables control whether we accept cached-results / not and whether we should update the cache with locally executed results or not. I need accpet-cached whitelisted to purge the the RBE cache for the invalid cache entry we have set for the failure we say yesterday. Bug: b/148387048 Change-Id: I7344fc083f82e0b7bc11084376a267d19cf30bb8 --- ui/build/ninja.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/build/ninja.go b/ui/build/ninja.go index 0b56b6711..22ec1f171 100644 --- a/ui/build/ninja.go +++ b/ui/build/ninja.go @@ -133,6 +133,8 @@ func runNinja(ctx Context, config Config) { "FLAG_invocation_id", "FLAG_log_dir", "FLAG_platform", + "FLAG_remote_accept_cache", + "FLAG_remote_update_cache", "FLAG_server_address", // ccache settings