Merge "Allow non-compat suite to locate testcases dir properly" am: f8935efee8 am: d03c6145f7

Original change: https://android-review.googlesource.com/c/platform/build/+/2080295

Change-Id: I5dd3302a5808ae039f3b56b7293220ba61d71f38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-04-29 18:10:39 +00:00 committed by Automerger Merge Worker
commit 54d875ee34

View file

@ -931,7 +931,7 @@ $(foreach suite,general-tests device-tests vts tvts art-host-tests host-unit-tes
$(eval my_deps := $(call get-all-shared-libs-deps,$(m)))\
$(foreach dep,$(my_deps),\
$(foreach f,$(ALL_MODULES.$(dep).HOST_SHARED_LIBRARY_FILES),\
$(if $(filter $(suite),device-tests general-tests),\
$(if $(filter $(suite),device-tests general-tests art-host-tests host-unit-tests),\
$(eval my_testcases := $(HOST_OUT_TESTCASES)),\
$(eval my_testcases := $$(COMPATIBILITY_TESTCASES_OUT_$(suite))))\
$(eval target := $(my_testcases)/$(lastword $(subst /, ,$(dir $(f))))/$(notdir $(f)))\