-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
53 lines (48 loc) · 2.04 KB
/
Android.mk
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
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
thermald_src_path := ./src
thermald_src_files := \
$(thermald_src_path)/android_main.cpp \
$(thermald_src_path)/thd_engine.cpp \
$(thermald_src_path)/thd_cdev.cpp \
$(thermald_src_path)/thd_cdev_therm_sys_fs.cpp \
$(thermald_src_path)/thd_engine_default.cpp \
$(thermald_src_path)/thd_sys_fs.cpp \
$(thermald_src_path)/thd_trip_point.cpp \
$(thermald_src_path)/thd_zone.cpp \
$(thermald_src_path)/thd_zone_surface.cpp \
$(thermald_src_path)/thd_zone_cpu.cpp \
$(thermald_src_path)/thd_zone_therm_sys_fs.cpp \
$(thermald_src_path)/thd_preference.cpp \
$(thermald_src_path)/thd_model.cpp \
$(thermald_src_path)/thd_parse.cpp \
$(thermald_src_path)/thd_sensor.cpp \
$(thermald_src_path)/thd_kobj_uevent.cpp \
$(thermald_src_path)/thd_cdev_order_parser.cpp \
$(thermald_src_path)/thd_cdev_gen_sysfs.cpp \
$(thermald_src_path)/thd_pid.cpp \
$(thermald_src_path)/thd_zone_generic.cpp \
$(thermald_src_path)/thd_cdev_cpufreq.cpp \
$(thermald_src_path)/thd_cdev_rapl.cpp \
$(thermald_src_path)/thd_cdev_intel_pstate_driver.cpp \
$(thermald_src_path)/thd_msr.cpp \
$(thermald_src_path)/thd_rapl_interface.cpp \
$(thermald_src_path)/thd_cdev_msr_rapl.cpp \
$(thermald_src_path)/thd_rapl_power_meter.cpp \
$(thermald_src_path)/thd_trt_art_reader.cpp \
$(thermald_src_path)/thd_cdev_rapl_dram.cpp \
$(thermald_src_path)/thd_cpu_default_binding.cpp \
$(thermald_src_path)/thd_binder_server.cpp
include external/stlport/libstlport.mk
LOCAL_C_INCLUDES += $(LOCAL_PATH) $(thermald_src_path) \
external/icu/icu4c/source/common \
external/libxml2/include \
system/core/include/
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -fpermissive -DTDRUNDIR='"/data/thermal-daemon"' -DTDCONFDIR='"/system/etc/thermal-daemon"'
LOCAL_STATIC_LIBRARIES := libxml2
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libstlport libicuuc libicui18n libbinder libutils
LOCAL_PRELINK_MODULE := false
LOCAL_SRC_FILES := $(thermald_src_files)
LOCAL_MODULE := thermal-daemon
include $(BUILD_EXECUTABLE)