From a5535733f101463e877e627f3649770498626f8f Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 10 Aug 2017 09:42:02 +0900 Subject: [PATCH] Phony module vndk_package is added This phony module aggregates all the VNDK-related libraries so that they can be installed to the system partition simply by adding 'vndk_package' to PRODUCT_PACKAGES. This is to sneure that all VNDK libraries are installed even when there is no vendor library using some of the VNDK libs (especially when building system image only). Bug: 64013660 Test: BOARD_VNDK_VERSION=current m -j vndk_package Merged-In: I3a14a7eaaffd6a7f3258a4be59b1c5813153714d Change-Id: I3a14a7eaaffd6a7f3258a4be59b1c5813153714d --- target/product/vndk/Android.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/product/vndk/Android.mk diff --git a/target/product/vndk/Android.mk b/target/product/vndk/Android.mk new file mode 100644 index 000000000..20e843669 --- /dev/null +++ b/target/product/vndk/Android.mk @@ -0,0 +1,11 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := vndk_package +LOCAL_REQUIRED_MODULES := \ + $(addsuffix .vendor,$(VNDK_CORE_LIBRARIES)) \ + $(addsuffix .vendor,$(VNDK_SAMEPROCESS_LIBRARIES)) \ + $(LLNDK_LIBRARIES) + +include $(BUILD_PHONY_PACKAGE)