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 c3e4b2f390301ffd86a8773d6fb5336b71564dad)
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 666e2ac..e5e42d4 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -386,8 +386,8 @@
 # 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))