Merge "Improve dotdot workaround when src begins with '/'" am: 7918e5121a am: 05b0da9441

am: 371c403fa8

Change-Id: Ie44799480418a7280545b0e8b235df381f19ae6b
This commit is contained in:
Dan Willemsen
2016-10-31 23:47:44 +00:00
committed by android-build-merger

View File

@@ -324,6 +324,10 @@ $(error $(my_missing_exclude_files))
endif
my_src_files := $(filter-out $(my_src_files_exclude),$(my_src_files))
# Strip '/' from the beginning of each src file. This helps the ../ detection in case
# the source file is in the form of /../file
my_src_files := $(patsubst /%,%,$(my_src_files))
my_clang := $(strip $(LOCAL_CLANG))
ifdef LOCAL_CLANG_$(my_32_64_bit_suffix)
my_clang := $(strip $(LOCAL_CLANG_$(my_32_64_bit_suffix)))