Install VNDK_USING_CORE_VARIANT_LIBRARIES

With TARGET_VNDK_USE_CORE_VARIANT := true, some VNDK libraries are not
installed and instead system variants are used at runtime.

When building system only, VNDK_USING_CORE_VARIANT_LIBRARIES are not
installed under /system because there is no dependency to trigger
installing. (By definition, /vendor modules depends on vndk libs)

Bug: 148803529
Test: lunch aosp_cf_x86_go_phone-userdebug
      m systemimage # should install vndk libraries of core variant

Change-Id: Ied4347969955491b13dc674f2e8453d76592d1d7
This commit is contained in:
Jooyung Han 2020-02-05 16:18:09 +09:00
parent 65e9798709
commit ce01a3b014

View file

@ -163,6 +163,7 @@ LOCAL_REQUIRED_MODULES += \
vndkcorevariant.libraries.txt \
$(addsuffix .vendor,$(VNDK_CORE_LIBRARIES)) \
$(addsuffix .vendor,$(VNDK_SAMEPROCESS_LIBRARIES)) \
$(VNDK_USING_CORE_VARIANT_LIBRARIES) \
com.android.vndk.current
endif
include $(BUILD_PHONY_PACKAGE)