Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | ifneq ($(TARGET_SIMULATOR),true) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES := \ |
| 7 | mmcutils.c |
| 8 | |
| 9 | LOCAL_MODULE := libmmcutils |
| 10 | LOCAL_MODULE_TAGS := eng |
| 11 | |
| 12 | include $(BUILD_STATIC_LIBRARY) |
| 13 | |
| 14 | #Added for TWRP building dynamic: |
| 15 | include $(CLEAR_VARS) |
| 16 | ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true) |
| 17 | LOCAL_CFLAGS += -DBOARD_HAS_LARGE_FILESYSTEM |
| 18 | endif |
| 19 | |
| 20 | LOCAL_SRC_FILES := \ |
| 21 | mmcutils.c |
| 22 | |
| 23 | LOCAL_MODULE := libmmcutils |
| 24 | LOCAL_MODULE_TAGS := eng |
| 25 | |
| 26 | include $(BUILD_SHARED_LIBRARY) |
| 27 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 28 | endif # !TARGET_SIMULATOR |