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