0d6b685501
create separate lib for hwcexternal and ihwcservice Change-Id: Ie55b9e98eaf62d4aa2cb9f422a75f8195bfd6060
53 lines
2.2 KiB
Makefile
53 lines
2.2 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(LOCAL_PATH)/../common.mk
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM)
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay libgenlock \
|
|
libhwcexternal libqdutils libhardware_legacy \
|
|
libdl libmemalloc libhwcservice
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcomposer\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc.cpp \
|
|
hwc_video.cpp \
|
|
hwc_utils.cpp \
|
|
hwc_uimirror.cpp \
|
|
hwc_uevents.cpp \
|
|
hwc_copybit.cpp \
|
|
hwc_mdpcomp.cpp \
|
|
hwc_extonly.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
#libhwcexternal library
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libhwcexternal
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) liboverlay
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcexternal\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc_external.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
#libhwcservice library
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libhwcservice
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
|
|
LOCAL_SHARED_LIBRARIES := $(common_libs) libhwcexternal libbinder \
|
|
|
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"hwcservice\"
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|
LOCAL_SRC_FILES := hwc_service.cpp \
|
|
ihwc.cpp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|