diff options
author | Fredrik Roubert <roubert@google.com> | 2016-11-11 19:28:18 -0800 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2016-11-11 20:16:48 -0800 |
commit | ad9c4a33a8ecdee84d10f8edbd0679159b783ecb (patch) | |
tree | 602635d030c0e89d68895ad6cbd9c09734ffc796 /compiler/optimizing/codegen_test_utils.h | |
parent | 22f75bb76df9654357a7463c32db987aa7f9d5a7 (diff) |
Use OUT_DIR_COMMON_BASE if OUT_DIR is unset.
In build/make/core/envsetup.mk the logic for setting OUT_DIR is this:
ifeq (,$(strip $(OUT_DIR)))
ifeq (,$(strip $(OUT_DIR_COMMON_BASE)))
OUT_DIR := $(TOPDIR)out
else
OUT_DIR := $(OUT_DIR_COMMON_BASE)/$(notdir $(PWD))
endif
endif
To get the correct value for its out_dir variable, buildbot-build.sh
needs to do the same, otherwise it'll generate incorrect target names
in environments where OUT_DIR_COMMON_BASE is set but OUT_DIR unset.
Test: art/tools/buildbot-build.sh --host
Change-Id: I558949655a97b47ce3c560ed70310c9768e1da5c
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions