Home | History | Annotate | Download | only in ion
      1 # only include if running on an omap4 platform
      2 ifeq ($(TARGET_BOARD_PLATFORM),omap4)
      3 
      4 LOCAL_PATH:= $(call my-dir)
      5 
      6 include $(CLEAR_VARS)
      7 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/kernel-headers-ti
      8 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/system-core-headers-ti
      9 LOCAL_SRC_FILES := ion.c
     10 LOCAL_MODULE := libion_ti
     11 LOCAL_MODULE_TAGS := optional
     12 LOCAL_SHARED_LIBRARIES := liblog
     13 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
     14 
     15 include $(CLEAR_VARS)
     16 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/kernel-headers-ti
     17 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/system-core-headers-ti
     18 LOCAL_SRC_FILES := ion.c ion_test.c
     19 LOCAL_MODULE := iontest_ti
     20 LOCAL_MODULE_TAGS := optional tests
     21 LOCAL_SHARED_LIBRARIES := liblog
     22 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
     23 
     24 include $(CLEAR_VARS)
     25 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/kernel-headers-ti
     26 LOCAL_C_INCLUDES += $(HARDWARE_TI_OMAP4_BASE)/system-core-headers-ti
     27 LOCAL_SRC_FILES := ion.c ion_test_2.c
     28 LOCAL_MODULE := iontest2_ti
     29 LOCAL_MODULE_TAGS := optional tests
     30 LOCAL_SHARED_LIBRARIES := liblog
     31 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
     32 
     33 endif
     34