Home | History | Annotate | Download | only in libgralloc1
      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 
     12 LOCAL_SHARED_LIBRARIES        := $(common_libs) libqdMetaData libsync libqdutils
     13 LOCAL_CFLAGS                  := $(common_flags) -DLOG_TAG=\"qdgralloc\" -Wall -std=c++11 -Werror
     14 LOCAL_CFLAGS                  += -isystem  $(kernel_includes)
     15 LOCAL_CLANG                   := true
     16 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps)
     17 LOCAL_SRC_FILES               := gr_utils.cpp \
     18                                  gr_ion_alloc.cpp \
     19                                  gr_adreno_info.cpp \
     20                                  gr_allocator.cpp \
     21                                  gr_buf_mgr.cpp \
     22                                  gr_device_impl.cpp
     23 LOCAL_COPY_HEADERS_TO         := $(common_header_export_path)
     24 LOCAL_COPY_HEADERS            := gr_device_impl.h gralloc_priv.h gr_priv_handle.h
     25 include $(BUILD_SHARED_LIBRARY)
     26