display: Export headers
Display headers used by other components should be at a common location to avoid issues with future changes in paths. Change-Id: Iaec21206b82dd7dae03e598b9ec46b3e6f1bbf71
This commit is contained in:
@@ -12,6 +12,8 @@ ifeq ($(TARGET_USES_POST_PROCESSING),true)
|
|||||||
common_includes += $(TARGET_OUT_HEADERS)/pp/inc
|
common_includes += $(TARGET_OUT_HEADERS)/pp/inc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
common_header_export_path := qcom/display
|
||||||
|
|
||||||
#Common libraries external to display HAL
|
#Common libraries external to display HAL
|
||||||
common_libs := liblog libutils libcutils libhardware
|
common_libs := liblog libutils libcutils libhardware
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,11 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
include $(LOCAL_PATH)/../common.mk
|
include $(LOCAL_PATH)/../common.mk
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)
|
||||||
|
LOCAL_COPY_HEADERS := copybit.h copybit_priv.h
|
||||||
|
#Copy the headers regardless of whether copybit is built
|
||||||
|
include $(BUILD_COPY_HEADERS)
|
||||||
|
|
||||||
LOCAL_MODULE := copybit.$(TARGET_BOARD_PLATFORM)
|
LOCAL_MODULE := copybit.$(TARGET_BOARD_PLATFORM)
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ LOCAL_SHARED_LIBRARIES += libqdutils libGLESv1_CM
|
|||||||
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\"
|
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\"
|
||||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps)
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps)
|
||||||
LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
|
LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
|
||||||
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)
|
||||||
|
LOCAL_COPY_HEADERS := gralloc_priv.h
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ include $(BUILD_SHARED_LIBRARY)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_COPY_HEADERS_TO := qcom/display
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)
|
||||||
LOCAL_COPY_HEADERS := qdMetaData.h
|
LOCAL_COPY_HEADERS := qdMetaData.h
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
||||||
LOCAL_SHARED_LIBRARIES := liblog libcutils
|
LOCAL_SHARED_LIBRARIES := liblog libcutils
|
||||||
|
|||||||
@@ -12,5 +12,9 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
|
|||||||
LOCAL_SRC_FILES := QService.cpp \
|
LOCAL_SRC_FILES := QService.cpp \
|
||||||
IQService.cpp \
|
IQService.cpp \
|
||||||
IQClient.cpp
|
IQClient.cpp
|
||||||
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)
|
||||||
|
LOCAL_COPY_HEADERS := IQService.h \
|
||||||
|
IQClient.h
|
||||||
|
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|||||||
Reference in New Issue
Block a user