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