1LOCAL_PATH := $(call my-dir)
2include $(LOCAL_PATH)/../common.mk
3include $(CLEAR_VARS)
4
5# b/24171136 many files not compiling with clang/llvm yet
6LOCAL_CLANG := false
7
8LOCAL_MODULE                  := libqdutils
9LOCAL_LICENSE_KINDS           := SPDX-license-identifier-BSD
10LOCAL_LICENSE_CONDITIONS      := notice
11LOCAL_MODULE_TAGS             := optional
12LOCAL_SHARED_LIBRARIES        := $(common_libs) libui libbinder libqservice
13LOCAL_C_INCLUDES              := $(common_includes) $(kernel_includes)
14LOCAL_CFLAGS                  := $(common_flags) -DLOG_TAG=\"qdutils\"
15LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
16LOCAL_COPY_HEADERS_TO         := $(common_header_export_path)
17LOCAL_COPY_HEADERS            := display_config.h mdp_version.h
18LOCAL_SRC_FILES               := profiler.cpp mdp_version.cpp \
19                                 idle_invalidator.cpp \
20                                 comptype.cpp qd_utils.cpp \
21                                 cb_utils.cpp display_config.cpp \
22                                 cb_swap_rect.cpp
23include $(BUILD_SHARED_LIBRARY)
24
25include $(CLEAR_VARS)
26
27# b/24171136 many files not compiling with clang/llvm yet
28LOCAL_CLANG := false
29
30LOCAL_COPY_HEADERS_TO           := $(common_header_export_path)
31LOCAL_COPY_HEADERS              := qdMetaData.h
32LOCAL_SHARED_LIBRARIES          := liblog libcutils
33LOCAL_C_INCLUDES                := $(common_includes)
34LOCAL_ADDITIONAL_DEPENDENCIES   := $(common_deps)
35LOCAL_SRC_FILES                 := qdMetaData.cpp
36LOCAL_CFLAGS                    := $(common_flags)
37LOCAL_CFLAGS                    += -DLOG_TAG=\"DisplayMetaData\"
38LOCAL_MODULE_TAGS               := optional
39LOCAL_MODULE                    := libqdMetaData
40LOCAL_LICENSE_KINDS             := SPDX-license-identifier-BSD
41LOCAL_LICENSE_CONDITIONS        := notice
42include $(BUILD_SHARED_LIBRARY)
43