Use LOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).
So that you can have LOCAL_COMPATIBILITY_SUPPORT_FILES generated in the
out directory.
Change-Id: I3e011fc3db5de170f7befcb12841d230283671a6
(cherry picked from commit c3e4b2f390
)
This commit is contained in:
parent
d2f35846e4
commit
150fd17a40
|
@ -386,8 +386,8 @@ $(my_prefix)$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_compat_files := true
|
|||
# LOCAL_COMPATIBILITY_SUPPORT_FILES is a list of <src>[:<dest>].
|
||||
my_compat_dist += $(foreach f, $(LOCAL_COMPATIBILITY_SUPPORT_FILES),\
|
||||
$(eval p := $(subst :,$(space),$(f)))\
|
||||
$(eval s := $(LOCAL_PATH)/$(word 1,$(p)))\
|
||||
$(eval d := $(COMPATIBILITY_TESTCASES_OUT_$(LOCAL_COMPATIBILITY_SUITE))/$(or $(word 2,$(p)),$(word 1,$(p))))\
|
||||
$(eval s := $(word 1,$(p)))\
|
||||
$(eval d := $(COMPATIBILITY_TESTCASES_OUT_$(LOCAL_COMPATIBILITY_SUITE))/$(or $(word 2,$(p)),$(notdir $(word 1,$(p)))))\
|
||||
$(s):$(d))
|
||||
|
||||
ifneq (,$(wildcard $(LOCAL_PATH)/AndroidTest.xml))
|
||||
|
|
Loading…
Reference in New Issue