c8f578b1c9
this fixes issues with devices not yet supporting the genlock API in in kernel space. Change-Id: I734d8db95f7030c1492122283d76e81ca5fb8aa2
19 lines
464 B
Makefile
19 lines
464 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 += hardware/qcom/display/libgralloc
|
|
LOCAL_SRC_FILES := genlock.cpp
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"libgenlock\"
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
ifeq ($(BOARD_USES_GENLOCK),true)
|
|
LOCAL_CFLAGS += -DUSE_GENLOCK
|
|
endif
|
|
|
|
LOCAL_MODULE := libgenlock
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|