Make changes to support test_suites for test lib

Had to make changes to make to ensure that we don't duplicate

Bug: 226402757
Test: Confirmed that libraries are installed to the correct place
Change-Id: I64e4a5ab7cac3fb57442d19b0f796fffb0a3f48a
This commit is contained in:
Trevor Radcliffe
2022-03-30 16:46:32 +00:00
parent 4a723d0ecf
commit 74a4de735b

View File

@@ -713,6 +713,10 @@ ifeq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
endif
ifdef LOCAL_MULTILIB
multi_arch := true
else ifeq ($(LOCAL_MODULE_MAKEFILE),$(SOONG_ANDROID_MK))
ifeq ($(LOCAL_MODULE_CLASS),SHARED_LIBRARIES)
multi_arch := true
endif
endif
ifdef multi_arch