summaryrefslogtreecommitdiff
path: root/tools/gator/daemon/Android.mk
blob: f0b3eb992a2115372b2fa76dcdba237f940216f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

XML_H := $(shell cd $(LOCAL_PATH) && make events_xml.h defaults_xml.h SrcMd5.cpp)

LOCAL_SRC_FILES := \
	AnnotateListener.cpp \
	AtraceDriver.cpp \
	Buffer.cpp \
	CCNDriver.cpp \
	CapturedXML.cpp \
	Child.cpp \
	Command.cpp \
	ConfigurationXML.cpp \
	DiskIODriver.cpp \
	Driver.cpp \
	DriverSource.cpp \
	DynBuf.cpp \
	EventsXML.cpp \
	ExternalDriver.cpp \
	ExternalSource.cpp \
	FSDriver.cpp \
	Fifo.cpp \
	FtraceDriver.cpp \
	HwmonDriver.cpp \
	KMod.cpp \
	LocalCapture.cpp \
	Logging.cpp \
	main.cpp \
	MaliVideoDriver.cpp \
	MemInfoDriver.cpp\
	MidgardDriver.cpp \
	Monitor.cpp \
	NetDriver.cpp \
	OlySocket.cpp \
	OlyUtility.cpp \
	PerfBuffer.cpp \
	PerfDriver.cpp \
	PerfGroup.cpp \
	PerfSource.cpp \
	PmuXML.cpp \
	Proc.cpp \
	Sender.cpp \
	SessionData.cpp \
	SessionXML.cpp \
	Source.cpp \
	SrcMd5.cpp \
	StreamlineSetup.cpp \
	TtraceDriver.cpp \
	UEvent.cpp \
	UserSpaceSource.cpp \
	libsensors/access.c \
	libsensors/conf-lex.c \
	libsensors/conf-parse.c \
	libsensors/data.c \
	libsensors/error.c \
	libsensors/general.c \
	libsensors/init.c \
	libsensors/sysfs.c \
	mxml/mxml-attr.c \
	mxml/mxml-entity.c \
	mxml/mxml-file.c \
	mxml/mxml-get.c \
	mxml/mxml-index.c \
	mxml/mxml-node.c \
	mxml/mxml-private.c \
	mxml/mxml-search.c \
	mxml/mxml-set.c \
	mxml/mxml-string.c

LOCAL_CFLAGS += -Wall -O3 -fno-exceptions -pthread -DETCDIR=\"/etc\" -Ilibsensors -fPIE
LOCAL_CXXFLAGS += -fno-rtti -Wextra -Wpointer-arith
LOCAL_LDFLAGS += -fPIE -pie

LOCAL_C_INCLUDES := $(LOCAL_PATH)

LOCAL_MODULE := gatord
LOCAL_MODULE_TAGS := optional

include $(BUILD_EXECUTABLE)