From 5e8c44fc674c23d9b745bed10374da36e23f3ed9 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Mon, 13 Sep 2021 00:02:51 +0200 Subject: sdm660-common: Remove vndk-ext * It was only useful to jason, which needs a copy of libpowermanager in vendor Change-Id: I754c666730d841fd71837358fe87a5ce1a3d7921 --- vndk/Android.mk | 47 ----------------------------------------------- vndk/vndk-ext-libs.mk | 2 -- 2 files changed, 49 deletions(-) delete mode 100644 vndk/Android.mk delete mode 100644 vndk/vndk-ext-libs.mk (limited to 'vndk') diff --git a/vndk/Android.mk b/vndk/Android.mk deleted file mode 100644 index 96655c1..0000000 --- a/vndk/Android.mk +++ /dev/null @@ -1,47 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(LOCAL_PATH)/vndk-ext-libs.mk - -define define-vndk-lib -include $$(CLEAR_VARS) -LOCAL_MODULE := $1.$2 -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -LOCAL_PREBUILT_MODULE_FILE := $$(call intermediates-dir-for,SHARED_LIBRARIES,$1)/$1.so -LOCAL_STRIP_MODULE := false -LOCAL_MULTILIB := first -LOCAL_MODULE_TAGS := optional -LOCAL_INSTALLED_MODULE_STEM := $1.so -LOCAL_MODULE_SUFFIX := .so -LOCAL_MODULE_RELATIVE_PATH := $3 -LOCAL_VENDOR_MODULE := $4 -LOCAL_CHECK_ELF_FILES := false -include $$(BUILD_PREBUILT) - -ifneq ($$(TARGET_2ND_ARCH),) -ifneq ($$(TARGET_TRANSLATE_2ND_ARCH),true) -include $$(CLEAR_VARS) -LOCAL_MODULE := $1.$2 -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -LOCAL_PREBUILT_MODULE_FILE := $$(call intermediates-dir-for,SHARED_LIBRARIES,$1,,,$(TARGET_2ND_ARCH_VAR_PREFIX))/$1.so -LOCAL_STRIP_MODULE := false -LOCAL_MULTILIB := 32 -LOCAL_MODULE_TAGS := optional -LOCAL_INSTALLED_MODULE_STEM := $1.so -LOCAL_MODULE_SUFFIX := .so -LOCAL_MODULE_RELATIVE_PATH := $3 -LOCAL_VENDOR_MODULE := $4 -LOCAL_CHECK_ELF_FILES := false -include $$(BUILD_PREBUILT) -endif # TARGET_TRANSLATE_2ND_ARCH is not true -endif # TARGET_2ND_ARCH is not empty -endef - -$(foreach lib,$(EXTRA_VENDOR_LIBRARIES),\ - $(eval $(call define-vndk-lib,$(lib),vndk-ext-gen,,true))) - -include $(CLEAR_VARS) -LOCAL_MODULE := vndk-ext -LOCAL_MODULE_TAGS := optional -LOCAL_REQUIRED_MODULES := \ - $(addsuffix .vndk-ext-gen,$(EXTRA_VENDOR_LIBRARIES)) -include $(BUILD_PHONY_PACKAGE) diff --git a/vndk/vndk-ext-libs.mk b/vndk/vndk-ext-libs.mk deleted file mode 100644 index 4c8b801..0000000 --- a/vndk/vndk-ext-libs.mk +++ /dev/null @@ -1,2 +0,0 @@ -EXTRA_VENDOR_LIBRARIES := \ - libpowermanager -- cgit v1.2.3