aboutsummaryrefslogtreecommitdiff
path: root/daemon/Android.mk
blob: 68f4a839737949186a9c4b6a219fa725aafaec65 (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
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 \
	Buffer.cpp \
	CCNDriver.cpp \
	CapturedXML.cpp \
	Child.cpp \
	Command.cpp \
	ConfigurationXML.cpp \
	DiskIODriver.cpp \
	Driver.cpp \
	DriverSource.cpp \
	DynBuf.cpp \
	EventsXML.cpp \
	ExternalSource.cpp \
	FSDriver.cpp \
	Fifo.cpp \
	FtraceDriver.cpp \
	FtraceSource.cpp \
	HwmonDriver.cpp \
	KMod.cpp \
	LocalCapture.cpp \
	Logging.cpp \
	main.cpp \
	MaliVideoDriver.cpp \
	MemInfoDriver.cpp\
	Monitor.cpp \
	NetDriver.cpp \
	OlySocket.cpp \
	OlyUtility.cpp \
	PerfBuffer.cpp \
	PerfDriver.cpp \
	PerfGroup.cpp \
	PerfSource.cpp \
	Proc.cpp \
	Sender.cpp \
	SessionData.cpp \
	SessionXML.cpp \
	Setup.cpp \
	Source.cpp \
	SrcMd5.cpp \
	StreamlineSetup.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_LDFLAGS += -fPIE -pie

LOCAL_C_INCLUDES := $(LOCAL_PATH)

LOCAL_MODULE := gatord
LOCAL_MODULE_TAGS := optional

include $(BUILD_EXECUTABLE)