Add an option not to install all VNDK libs
When using VNDK snapshot, current VNDK libs are not required. Use "TARGET_SKIP_CURRENT_VNDK=true" to skip installing current VNDK libs. Bug: 123607022 Test: TARGET_SKIP_CURRENT_VNDK=true PRODUCT_EXTRA_VNDK_VERSIONS=28 m -j Change-Id: I65c902c71a7952536bbf824a1dccb9360e843f1a
This commit is contained in:
parent
8f4e0f2939
commit
89443aed80
|
@ -100,11 +100,14 @@ ifneq ($(BOARD_VNDK_VERSION),)
|
|||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := vndk_package
|
||||
LOCAL_REQUIRED_MODULES := \
|
||||
$(addsuffix .vendor,$(VNDK_CORE_LIBRARIES)) \
|
||||
$(addsuffix .vendor,$(VNDK_SAMEPROCESS_LIBRARIES)) \
|
||||
$(LLNDK_LIBRARIES) \
|
||||
llndk.libraries.txt \
|
||||
vndksp.libraries.txt
|
||||
ifneq ($(TARGET_SKIP_CURRENT_VNDK),true)
|
||||
LOCAL_REQUIRED_MODULES += \
|
||||
$(addsuffix .vendor,$(VNDK_CORE_LIBRARIES)) \
|
||||
$(addsuffix .vendor,$(VNDK_SAMEPROCESS_LIBRARIES))
|
||||
endif
|
||||
include $(BUILD_PHONY_PACKAGE)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
|
Loading…
Reference in New Issue