aa4994d543
Add libgenlock which is a cross-process buffer locking API. libgenlock provides the ability to create, attach, release locks. It also provides a mechanism to lock and unlock buffers for read/write purposes. Change-Id: I5172a82539b83bcb1226e3fd4f7b80a5c7f31016
16 lines
538 B
Makefile
16 lines
538 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_PRELINK_MODULE := false
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils
|
|
LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
|
LOCAL_SRC_FILES := genlock.cpp
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"libgenlock\"
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE := libgenlock
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|