Android.mk revision b415faba7482dd7ee3335f0f1518333554e3da0d
1LOCAL_PATH:= $(call my-dir)
2
3# Build libpp on host
4ifeq ($(HAVE_LIBBFD),true)
5include $(CLEAR_VARS)
6
7LOCAL_SRC_FILES:= \
8	arrange_profiles.cpp \
9	callgraph_container.cpp \
10	diff_container.cpp \
11	filename_spec.cpp \
12	format_output.cpp \
13	image_errors.cpp \
14	locate_images.cpp \
15	name_storage.cpp \
16	op_header.cpp \
17	symbol.cpp \
18	parse_filename.cpp \
19	populate.cpp \
20	profile.cpp \
21	profile_container.cpp \
22	profile_spec.cpp \
23	sample_container.cpp \
24	symbol_container.cpp \
25	symbol_functors.cpp \
26	symbol_sort.cpp \
27	xml_utils.cpp \
28	populate_for_spu.cpp
29
30LOCAL_C_INCLUDES := \
31	external/oprofile \
32	external/oprofile/libop \
33	external/oprofile/libutil \
34	external/oprofile/libdb \
35	external/oprofile/libopt++ \
36	external/oprofile/libutil++ \
37	external/oprofile/libop++ \
38	external/oprofile/libregex
39
40LOCAL_CFLAGS := -fexceptions -DANDROID_HOST
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE := libpp
43
44include $(BUILD_HOST_STATIC_LIBRARY)
45endif
46