Prabhanjan Kandula | 96e9234 | 2016-03-24 21:03:35 +0530 | [diff] [blame] | 1 | # Gralloc module |
| 2 | LOCAL_PATH := $(call my-dir) |
| 3 | include $(LOCAL_PATH)/../common.mk |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM) |
| 7 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 8 | LOCAL_MODULE_TAGS := optional |
| 9 | LOCAL_C_INCLUDES := $(common_includes) \ |
| 10 | external/libcxx/include/ |
| 11 | |
Naseer Ahmed | 4d78d03 | 2017-03-22 12:47:30 -0400 | [diff] [blame^] | 12 | LOCAL_HEADER_LIBRARIES := display_headers |
Prabhanjan Kandula | 96e9234 | 2016-03-24 21:03:35 +0530 | [diff] [blame] | 13 | LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libsync libqdutils |
Saurabh Shah | 7d476ed | 2016-06-27 16:40:58 -0700 | [diff] [blame] | 14 | ifneq ($(TARGET_IS_HEADLESS), true) |
| 15 | LOCAL_SHARED_LIBRARIES += libdrmutils |
| 16 | endif |
Prabhanjan Kandula | 96e9234 | 2016-03-24 21:03:35 +0530 | [diff] [blame] | 17 | LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\" -Wall -std=c++11 -Werror |
| 18 | LOCAL_CFLAGS += -isystem $(kernel_includes) |
| 19 | LOCAL_CLANG := true |
| 20 | LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) |
| 21 | LOCAL_SRC_FILES := gr_utils.cpp \ |
| 22 | gr_ion_alloc.cpp \ |
| 23 | gr_adreno_info.cpp \ |
| 24 | gr_allocator.cpp \ |
| 25 | gr_buf_mgr.cpp \ |
| 26 | gr_device_impl.cpp |
| 27 | LOCAL_COPY_HEADERS_TO := $(common_header_export_path) |
| 28 | LOCAL_COPY_HEADERS := gr_device_impl.h gralloc_priv.h gr_priv_handle.h |
| 29 | include $(BUILD_SHARED_LIBRARY) |