Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 150fd17a authored by Ying Wang's avatar Ying Wang
Browse files

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 c3e4b2f3)
parent d2f35846
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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))