1 LOCAL_PATH := $(call my-dir) 2 include $(LOCAL_PATH)/../common.mk 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE := libqdutils 6 LOCAL_MODULE_TAGS := optional 7 LOCAL_SHARED_LIBRARIES := $(common_libs) libui libbinder libqservice 8 LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) 9 LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdutils\" -Wno-float-conversion 10 LOCAL_CLANG := $(common_clang_flags) 11 12 ifeq ($(TARGET_SUPPORTS_WEARABLES),true) 13 LOCAL_CFLAGS += -DHDMI_STUB 14 endif 15 16 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 17 LOCAL_COPY_HEADERS_TO := $(common_header_export_path) 18 LOCAL_COPY_HEADERS := display_config.h mdp_version.h 19 LOCAL_SRC_FILES := profiler.cpp mdp_version.cpp \ 20 idle_invalidator.cpp \ 21 comptype.cpp qd_utils.cpp \ 22 cb_utils.cpp display_config.cpp \ 23 cb_swap_rect.cpp 24 include $(BUILD_SHARED_LIBRARY) 25 26 include $(CLEAR_VARS) 27 28 LOCAL_COPY_HEADERS_TO := $(common_header_export_path) 29 LOCAL_COPY_HEADERS := qdMetaData.h 30 LOCAL_SHARED_LIBRARIES := liblog libcutils 31 LOCAL_C_INCLUDES := $(common_includes) 32 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 33 LOCAL_SRC_FILES := qdMetaData.cpp 34 LOCAL_CFLAGS := $(common_flags) 35 LOCAL_CFLAGS += -DLOG_TAG=\"DisplayMetaData\" 36 LOCAL_CLANG := $(common_clang_flags) 37 LOCAL_MODULE_TAGS := optional 38 LOCAL_MODULE := libqdMetaData 39 include $(BUILD_SHARED_LIBRARY) 40 41