trusty: add gatekeeper module

Change-Id: I3e468c103326e6a9147dbed6c803748ffd5e207a
This commit is contained in:
Andres Morales 2015-09-08 17:56:35 -07:00 committed by Michael Ryleev
parent d4611a9680
commit 56d2835021
2 changed files with 2 additions and 4 deletions

View File

@ -56,3 +56,5 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/lmkd_intermediates/import_includes)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libsysutils_intermediates/import_includes)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/grep $(PRODUCT_OUT)/system/bin/toolbox)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.$(TARGET_DEVICE).so)

View File

@ -43,8 +43,4 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE_TAGS := optional
# Symlink gatekeeper.trusty.so -> gatekeeper.<device>.so so libhardware can find it.
LOCAL_POST_INSTALL_CMD = \
$(hide) ln -sf $(notdir $(LOCAL_INSTALLED_MODULE)) $(dir $(LOCAL_INSTALLED_MODULE))gatekeeper.$(TARGET_DEVICE).so
include $(BUILD_SHARED_LIBRARY)