1 # Gralloc module 2 LOCAL_PATH := $(call my-dir) 3 include $(LOCAL_PATH)/../common.mk 4 5 include $(CLEAR_VARS) 6 LOCAL_MODULE := gralloc_headers 7 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 8 include $(BUILD_HEADER_LIBRARY) 9 include $(CLEAR_VARS) 10 11 LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM) 12 LOCAL_MODULE_RELATIVE_PATH := hw 13 LOCAL_PROPRIETARY_MODULE := true 14 LOCAL_MODULE_TAGS := optional 15 LOCAL_C_INCLUDES := $(common_includes) \ 16 external/libcxx/include/ 17 18 LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libsync 19 LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\" -fPIC -Wall -std=c++11 -Werror 20 LOCAL_CFLAGS += -isystem $(kernel_includes) 21 LOCAL_CLANG := true 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) 23 LOCAL_SRC_FILES := gr_utils.cpp \ 24 gr_ion_alloc.cpp \ 25 gr_adreno_info.cpp \ 26 gr_allocator.cpp \ 27 gr_buf_mgr.cpp \ 28 gr_device_impl.cpp 29 include $(BUILD_SHARED_LIBRARY) 30