Add PWD to environment variable whitelist for RBE builds.

Test: Build aosp with USE_RBE=1.

Change-Id: I4b51fbde330c6129654aa74f8a58dccf62cfa11d
This commit is contained in:
Ramy Medhat 2019-08-27 19:18:25 -04:00
parent a5c6c13623
commit e8de0931a1
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ ifneq ($(filter-out false,$(USE_RBE)),)
else
rbe_dir := $(HOME)/rbe
endif
RBE_WRAPPER := $(rbe_dir)/rewrapper --labels=type=compile,lang=cpp,compiler=clang
RBE_WRAPPER := $(rbe_dir)/rewrapper --labels=type=compile,lang=cpp,compiler=clang --env_var_whitelist=PWD
# Append rewrapper to existing *_WRAPPER variables so it's possible to
# use both ccache and rewrapper.