aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park2017-04-23 09:45:38 -0500
committerJiyong Park2017-04-25 20:28:49 -0500
commit0da99b8ab0f691ad7ec7f4c5c8a09c5df92486a1 (patch)
tree8a00c52419a38f9e89e1b3b074a9179c2ca84c72
parent853f81c361c98ab5bf9f2c05176ce9c455919640 (diff)
downloadexternal-libdrm-android-o-preview-2.tar.gz
external-libdrm-android-o-preview-2.tar.xz
external-libdrm-android-o-preview-2.zip
Gralloc from QCOM is using this lib. However, instead of making this lib as VNDK-SP, it is moved to /vendor partition because no framework component is using this. Bug: 37567747 Bug: 37483222 Test: libdrm.so is in /vendor partion Change-Id: Ib1e9bf6d70e3616e599880d11e8a575d77e4d550
-rw-r--r--Android.mk1
-rw-r--r--CleanSpec.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4aa734e0..42d254cc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -59,6 +59,7 @@ include $(BUILD_STATIC_LIBRARY)
59include $(CLEAR_VARS) 59include $(CLEAR_VARS)
60 60
61LOCAL_MODULE := libdrm 61LOCAL_MODULE := libdrm
62LOCAL_VENDOR_MODULE := true
62 63
63LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_FILES)) 64LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_FILES))
64LOCAL_EXPORT_C_INCLUDE_DIRS := \ 65LOCAL_EXPORT_C_INCLUDE_DIRS := \
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 28a11db4..aa1d752b 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -2,3 +2,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/libdrm)
2$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno) 2$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno)
3$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates) 3$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates)
4$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libdrm_*intermediates) 4$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libdrm_*intermediates)
5
6# libdrm is moved from /system to /vendor
7$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libdrm.so)
8$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libdrm.so)