1# Gralloc module 2LOCAL_PATH := $(call my-dir) 3include $(LOCAL_PATH)/../common.mk 4 5include $(CLEAR_VARS) 6LOCAL_MODULE := gralloc_headers 7LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution 8LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 9LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 10LOCAL_EXPORT_HEADER_LIBRARY_HEADERS := libhardware_headers liblog_headers 11include $(BUILD_HEADER_LIBRARY) 12include $(CLEAR_VARS) 13 14LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM) 15LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution 16LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 17LOCAL_MODULE_RELATIVE_PATH := hw 18LOCAL_PROPRIETARY_MODULE := true 19LOCAL_MODULE_TAGS := optional 20LOCAL_C_INCLUDES := $(common_includes) \ 21 $(kernel_includes) \ 22 external/libcxx/include/ 23 24LOCAL_HEADER_LIBRARIES := libhardware_headers 25LOCAL_EXPORT_HEADER_LIBRARY_HEADERS := libhardware_headers liblog_headers 26LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libsync 27LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\" -fPIC -Wall -std=c++11 -Werror 28LOCAL_CLANG := true 29LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) 30LOCAL_SRC_FILES := gr_utils.cpp \ 31 gr_ion_alloc.cpp \ 32 gr_adreno_info.cpp \ 33 gr_allocator.cpp \ 34 gr_buf_mgr.cpp \ 35 gr_device_impl.cpp 36include $(BUILD_SHARED_LIBRARY) 37