1# 2# Copyright 2006 The Android Open Source Project 3# 4# Java method trace dump tool 5# 6 7LOCAL_PATH:= $(call my-dir) 8 9common_includes := external/qemu 10common_cflags := -O0 -g 11 12include $(CLEAR_VARS) 13LOCAL_SRC_FILES := post_trace.cpp trace_reader.cpp decoder.cpp 14LOCAL_C_INCLUDES += $(common_includes) 15LOCAL_CFLAGS += $(common_cflags) 16LOCAL_MODULE := post_trace 17include $(BUILD_HOST_EXECUTABLE) 18 19include $(CLEAR_VARS) 20LOCAL_SRC_FILES := read_trace.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 21 thumbdis.cpp opcode.cpp read_elf.cpp parse_options.cpp 22LOCAL_C_INCLUDES += $(common_includes) 23LOCAL_CFLAGS += $(common_cflags) 24LOCAL_MODULE := read_trace 25include $(BUILD_HOST_EXECUTABLE) 26 27include $(CLEAR_VARS) 28LOCAL_SRC_FILES := check_trace.cpp trace_reader.cpp decoder.cpp \ 29 opcode.cpp read_elf.cpp parse_options.cpp 30LOCAL_C_INCLUDES += $(common_includes) 31LOCAL_CFLAGS += $(common_cflags) 32LOCAL_MODULE := check_trace 33include $(BUILD_HOST_EXECUTABLE) 34 35include $(CLEAR_VARS) 36LOCAL_SRC_FILES := bb_dump.cpp trace_reader.cpp decoder.cpp \ 37 read_elf.cpp parse_options.cpp 38LOCAL_C_INCLUDES += $(common_includes) 39LOCAL_CFLAGS += $(common_cflags) 40LOCAL_MODULE := bb_dump 41include $(BUILD_HOST_EXECUTABLE) 42 43include $(CLEAR_VARS) 44LOCAL_SRC_FILES := bb2sym.cpp trace_reader.cpp decoder.cpp \ 45 read_elf.cpp parse_options.cpp 46LOCAL_C_INCLUDES += $(common_includes) 47LOCAL_CFLAGS += $(common_cflags) 48LOCAL_MODULE := bb2sym 49include $(BUILD_HOST_EXECUTABLE) 50 51include $(CLEAR_VARS) 52LOCAL_SRC_FILES := profile_trace.cpp trace_reader.cpp decoder.cpp \ 53 opcode.cpp read_elf.cpp parse_options.cpp 54LOCAL_C_INCLUDES += $(common_includes) 55LOCAL_CFLAGS += $(common_cflags) 56LOCAL_MODULE := profile_trace 57include $(BUILD_HOST_EXECUTABLE) 58 59include $(CLEAR_VARS) 60LOCAL_SRC_FILES := bbprof.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 61 thumbdis.cpp opcode.cpp 62LOCAL_C_INCLUDES += $(common_includes) 63LOCAL_CFLAGS += $(common_cflags) 64LOCAL_MODULE := bbprof 65include $(BUILD_HOST_EXECUTABLE) 66 67include $(CLEAR_VARS) 68LOCAL_SRC_FILES := q2g.cpp trace_reader.cpp decoder.cpp \ 69 opcode.cpp read_elf.cpp parse_options.cpp gtrace.cpp 70LOCAL_C_INCLUDES += $(common_includes) 71LOCAL_CFLAGS += $(common_cflags) 72LOCAL_MODULE := q2g 73include $(BUILD_HOST_EXECUTABLE) 74 75include $(CLEAR_VARS) 76LOCAL_SRC_FILES := q2dm.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 77 thumbdis.cpp opcode.cpp read_elf.cpp parse_options.cpp dmtrace.cpp 78LOCAL_C_INCLUDES += $(common_includes) 79LOCAL_CFLAGS += $(common_cflags) 80LOCAL_MODULE := q2dm 81include $(BUILD_HOST_EXECUTABLE) 82 83include $(CLEAR_VARS) 84LOCAL_SRC_FILES := coverage.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 85 thumbdis.cpp opcode.cpp read_elf.cpp parse_options.cpp 86LOCAL_C_INCLUDES += $(common_includes) 87LOCAL_CFLAGS += $(common_cflags) 88LOCAL_MODULE := coverage 89include $(BUILD_HOST_EXECUTABLE) 90 91include $(CLEAR_VARS) 92LOCAL_SRC_FILES := stack_dump.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 93 thumbdis.cpp opcode.cpp read_elf.cpp parse_options.cpp 94LOCAL_C_INCLUDES += $(common_includes) 95LOCAL_CFLAGS += $(common_cflags) 96LOCAL_MODULE := stack_dump 97include $(BUILD_HOST_EXECUTABLE) 98 99include $(CLEAR_VARS) 100LOCAL_SRC_FILES := check_stack.cpp trace_reader.cpp decoder.cpp armdis.cpp \ 101 thumbdis.cpp opcode.cpp read_elf.cpp parse_options.cpp 102LOCAL_C_INCLUDES += $(common_includes) 103LOCAL_CFLAGS += $(common_cflags) 104LOCAL_MODULE := check_stack 105include $(BUILD_HOST_EXECUTABLE) 106 107include $(CLEAR_VARS) 108LOCAL_SRC_FILES := hist_trace.cpp trace_reader.cpp decoder.cpp 109LOCAL_C_INCLUDES += $(common_includes) 110LOCAL_CFLAGS += $(common_cflags) 111LOCAL_MODULE := hist_trace 112include $(BUILD_HOST_EXECUTABLE) 113 114include $(CLEAR_VARS) 115LOCAL_SRC_FILES := read_addr.cpp trace_reader.cpp decoder.cpp 116LOCAL_C_INCLUDES += $(common_includes) 117LOCAL_CFLAGS += $(common_cflags) 118LOCAL_MODULE := read_addr 119include $(BUILD_HOST_EXECUTABLE) 120 121include $(CLEAR_VARS) 122LOCAL_SRC_FILES := read_pid.cpp trace_reader.cpp decoder.cpp 123LOCAL_C_INCLUDES += $(common_includes) 124LOCAL_CFLAGS += $(common_cflags) 125LOCAL_MODULE := read_pid 126include $(BUILD_HOST_EXECUTABLE) 127 128include $(CLEAR_VARS) 129LOCAL_SRC_FILES := exc_dump.cpp trace_reader.cpp decoder.cpp 130LOCAL_C_INCLUDES += $(common_includes) 131LOCAL_CFLAGS += $(common_cflags) 132LOCAL_MODULE := exc_dump 133include $(BUILD_HOST_EXECUTABLE) 134 135include $(CLEAR_VARS) 136LOCAL_SRC_FILES := read_method.cpp trace_reader.cpp decoder.cpp \ 137 read_elf.cpp parse_options.cpp 138LOCAL_C_INCLUDES += $(common_includes) 139LOCAL_CFLAGS += $(common_cflags) 140LOCAL_MODULE := read_method 141include $(BUILD_HOST_EXECUTABLE) 142 143include $(CLEAR_VARS) 144LOCAL_SRC_FILES := profile_pid.cpp trace_reader.cpp decoder.cpp \ 145 read_elf.cpp parse_options.cpp 146LOCAL_C_INCLUDES += $(common_includes) 147LOCAL_CFLAGS += $(common_cflags) 148LOCAL_MODULE := profile_pid 149include $(BUILD_HOST_EXECUTABLE) 150 151include $(CLEAR_VARS) 152LOCAL_SRC_FILES := dump_regions.cpp trace_reader.cpp decoder.cpp \ 153 read_elf.cpp parse_options.cpp 154LOCAL_C_INCLUDES += $(common_includes) 155LOCAL_CFLAGS += $(common_cflags) 156LOCAL_MODULE := dump_regions 157include $(BUILD_HOST_EXECUTABLE) 158