From a3c987d7f38f801545aa7a295634d5cb89d99859 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Mon, 9 Sep 2019 11:19:19 +0900 Subject: [PATCH] Skip *.libraries.txt when skipping current vndk When TARGET_SKIP_CURRENT_VNDK=true current vndk libs are not installed. Related *.libraries.txt files also should not be installed. Bug: 132140714 Bug: 137511540 Test: TARGET_SKIP_CURRENT_VNDK=true m systemimage # and, look into /system/etc Change-Id: Ieea7444c359410dd9a14ac0dd369cae38d18b63a --- target/product/base_system.mk | 2 -- target/product/gsi/Android.mk | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/product/base_system.mk b/target/product/base_system.mk index 2ef104bd40..44fc7e45db 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -270,8 +270,6 @@ PRODUCT_PACKAGES += \ viewcompiler \ voip-common \ vold \ - vndkcore.libraries.txt \ - vndkprivate.libraries.txt \ WallpaperBackup \ watchdogd \ wificond \ diff --git a/target/product/gsi/Android.mk b/target/product/gsi/Android.mk index 54f41ca947..1987c9c27a 100644 --- a/target/product/gsi/Android.mk +++ b/target/product/gsi/Android.mk @@ -150,6 +150,8 @@ ifneq ($(TARGET_SKIP_CURRENT_VNDK),true) LOCAL_REQUIRED_MODULES += \ llndk.libraries.txt \ vndksp.libraries.txt \ + vndkcore.libraries.txt \ + vndkprivate.libraries.txt \ $(addsuffix .vendor,$(VNDK_CORE_LIBRARIES)) \ $(addsuffix .vendor,$(VNDK_SAMEPROCESS_LIBRARIES)) endif