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 := liboverlay 9LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution 10LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 11LOCAL_MODULE_TAGS := optional 12LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) 13LOCAL_SHARED_LIBRARIES := $(common_libs) libqdutils libmemalloc \ 14 libsync libdl 15LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdoverlay\" 16LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 17LOCAL_SRC_FILES := \ 18 overlay.cpp \ 19 overlayUtils.cpp \ 20 overlayMdp.cpp \ 21 overlayRotator.cpp \ 22 overlayMdpRot.cpp \ 23 overlayMdssRot.cpp \ 24 overlayWriteback.cpp \ 25 pipes/overlayGenPipe.cpp 26 27include $(BUILD_SHARED_LIBRARY) 28