From bdd9ec461e5e75064fea7e3876854f16044c6390 Mon Sep 17 00:00:00 2001 From: Yo Chiang Date: Tue, 22 Sep 2020 18:48:14 +0800 Subject: [PATCH] Pass the value of system_shared_libs from Android.bp to check_elf_file.py Bug: 141925662 Test: Write a bad cc_prebuilt_library module and check fix suggestions Change-Id: Iede63db4e92da68e2bf0eccdf124b3187ee3b87d --- core/soong_cc_prebuilt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/soong_cc_prebuilt.mk b/core/soong_cc_prebuilt.mk index a0315a542..504984eab 100644 --- a/core/soong_cc_prebuilt.mk +++ b/core/soong_cc_prebuilt.mk @@ -91,6 +91,7 @@ endif ifdef LOCAL_INSTALLED_MODULE ifneq ($(LOCAL_CHECK_ELF_FILES),) my_prebuilt_src_file := $(LOCAL_PREBUILT_MODULE_FILE) + my_system_shared_libraries := $(LOCAL_SYSTEM_SHARED_LIBRARIES) include $(BUILD_SYSTEM)/check_elf_file.mk endif endif