Merge "Skip checking ELF files for uninstallable soong modules"

This commit is contained in:
Treehugger Robot
2019-04-04 00:00:10 +00:00
committed by Gerrit Code Review

View File

@@ -96,9 +96,11 @@ ifdef LOCAL_USE_VNDK
endif
# Check prebuilt ELF binaries.
ifneq ($(LOCAL_CHECK_ELF_FILES),)
my_prebuilt_src_file := $(LOCAL_PREBUILT_MODULE_FILE)
include $(BUILD_SYSTEM)/check_elf_file.mk
ifdef LOCAL_INSTALLED_MODULE
ifneq ($(LOCAL_CHECK_ELF_FILES),)
my_prebuilt_src_file := $(LOCAL_PREBUILT_MODULE_FILE)
include $(BUILD_SYSTEM)/check_elf_file.mk
endif
endif
# The real dependency will be added after all Android.mks are loaded and the install paths