1BUILD_BLKTRACE := false 2 3ifeq ($(BUILD_BLKTRACE), true) 4 5LOCAL_PATH := $(call my-dir) 6 7include $(CLEAR_VARS) 8LOCAL_SRC_FILES := blkparse.c blkparse_fmt.c rbtree.c act_mask.c strverscmp.c 9LOCAL_C_INCLUDES := external/blktrace/ 10LOCAL_CFLAGS := -O2 -g -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 11LOCAL_MODULE := blkparse 12LOCAL_MODULE_TAGS := 13LOCAL_SYSTEM_SHARED_LIBRARIES := libc 14include $(BUILD_EXECUTABLE) 15 16include $(CLEAR_VARS) 17LOCAL_SRC_FILES := blktrace.c act_mask.c 18LOCAL_C_INCLUDES := external/blktrace/ 19LOCAL_CFLAGS := -O2 -g -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_ANDROID_ 20LOCAL_MODULE := blktrace 21LOCAL_MODULE_TAGS := 22LOCAL_SYSTEM_SHARED_LIBRARIES := libc 23include $(BUILD_EXECUTABLE) 24 25include $(CLEAR_VARS) 26LOCAL_SRC_FILES := verify_blkparse.c 27LOCAL_C_INCLUDES := external/blktrace/ 28LOCAL_CFLAGS := -O2 -g -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 29LOCAL_MODULE := verify_blkparse 30LOCAL_MODULE_TAGS := 31LOCAL_SYSTEM_SHARED_LIBRARIES := libc 32include $(BUILD_EXECUTABLE) 33 34include $(CLEAR_VARS) 35LOCAL_SRC_FILES := blkrawverify.c 36LOCAL_C_INCLUDES := external/blktrace/ 37LOCAL_CFLAGS := -O2 -g -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 38LOCAL_MODULE := blkrawverify 39LOCAL_MODULE_TAGS := 40LOCAL_SYSTEM_SHARED_LIBRARIES := libc 41include $(BUILD_EXECUTABLE) 42 43#include $(CLEAR_VARS) 44#LOCAL_SRC_FILES := blkiomon.c 45#LOCAL_C_INCLUDES := external/blktrace/ 46#LOCAL_CFLAGS := -O2 -g -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 47#LOCAL_MODULE := blkiomon 48#LOCAL_MODULE_TAGS := 49#LOCAL_SYSTEM_SHARED_LIBRARIES := libc 50#include $(BUILD_EXECUTABLE) 51 52endif 53