1ifeq ($(ENABLE_IMG_GRAPHICS),true) 2 3LOCAL_PATH:= $(call my-dir) 4 5include $(CLEAR_VARS) 6LOCAL_SRC_FILES:= \ 7 wsbm_driver.c \ 8 wsbm_fencemgr.c \ 9 wsbm_mallocpool.c \ 10 wsbm_manager.c \ 11 wsbm_mm.c \ 12 wsbm_slabpool.c \ 13 wsbm_ttmpool.c \ 14 wsbm_userpool.c 15 16LOCAL_CFLAGS += -DHAVE_CONFIG_H 17LOCAL_C_INCLUDES := \ 18 $(LOCAL_PATH)/../ \ 19 $(TARGET_OUT_HEADERS)/drm \ 20 $(TARGET_OUT_HEADERS)/ipp \ 21 $(TARGET_OUT_HEADERS)/libdrm \ 22 $(TARGET_OUT_HEADERS)/libdrm/shared-core \ 23 $(TARGET_OUT_HEADERS)/libttm 24 25LOCAL_MODULE_TAGS := optional 26LOCAL_MODULE:= libwsbm 27LOCAL_SHARED_LIBRARIES:= libdrm 28include $(BUILD_SHARED_LIBRARY) 29 30include $(CLEAR_VARS) 31LOCAL_COPY_HEADERS_TO := libwsbm/wsbm 32LOCAL_COPY_HEADERS := \ 33 wsbm_atomic.h \ 34 wsbm_driver.h \ 35 wsbm_fencemgr.h \ 36 wsbm_manager.h \ 37 wsbm_mm.h \ 38 wsbm_pool.h \ 39 wsbm_priv.h \ 40 wsbm_util.h 41include $(BUILD_COPY_HEADERS) 42 43endif # ($(ENABLE_IMG_GRAPHICS),true) 44 45