File: Android.mk

package info (click to toggle)
thermald 2.5.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,368 kB
  • sloc: cpp: 13,874; ansic: 1,566; sh: 1,291; xml: 756; python: 414; makefile: 156
file content (72 lines) | stat: -rw-r--r-- 1,940 bytes parent folder | download | duplicates (2)
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
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
		src/android_main.cpp \
		src/thd_engine.cpp \
		src/thd_cdev.cpp \
		src/thd_cdev_therm_sys_fs.cpp \
		src/thd_engine_default.cpp \
		src/thd_sys_fs.cpp \
		src/thd_trip_point.cpp \
		src/thd_zone.cpp \
		src/thd_zone_cpu.cpp \
		src/thd_zone_therm_sys_fs.cpp \
		src/thd_zone_dynamic.cpp \
		src/thd_preference.cpp \
		src/thd_parse.cpp \
		src/thd_sensor.cpp \
		src/thd_sensor_virtual.cpp \
		src/thd_kobj_uevent.cpp \
		src/thd_cdev_order_parser.cpp \
		src/thd_cdev_gen_sysfs.cpp \
		src/thd_pid.cpp \
		src/thd_zone_generic.cpp \
		src/thd_cdev_cpufreq.cpp \
		src/thd_cdev_rapl.cpp \
		src/thd_cdev_intel_pstate_driver.cpp \
		src/thd_rapl_power_meter.cpp \
		src/thd_trt_art_reader.cpp \
		src/thd_cdev_rapl_dram.cpp \
		src/thd_cpu_default_binding.cpp \
		src/thd_cdev_backlight.cpp \
		src/thd_int3400.cpp \
		src/thd_cdev_kbl_amdgpu.cpp \
		src/thd_sensor_kbl_amdgpu_power.cpp \
		src/thd_sensor_kbl_amdgpu_thermal.cpp \
		src/thd_zone_kbl_g_mcp.cpp \
		src/thd_sensor_kbl_g_mcp.cpp \
		src/thd_zone_kbl_amdgpu.cpp \
		src/thd_sensor_rapl_power.cpp \
		src/thd_zone_rapl_power.cpp \
		src/thd_engine_adaptive.cpp \
		src/thd_lzma_dec.cpp \
		src/LzmaDec.c \
		src/thd_gddv.cpp

LOCAL_C_INCLUDES += external/libxml2/include

LOCAL_PROPRIETARY_MODULE := true

LOCAL_CFLAGS := \
		-DTDRUNDIR='"/data/vendor/thermal-daemon"' \
		-DTDCONFDIR='"/system/vendor/etc/thermal-daemon"' \
		-Wno-unused-parameter \
		-fexceptions\
		-Wall \
		-Werror \

ifneq (,$(filter eng userdebug, $(TARGET_BUILD_VARIANT)))
  LOCAL_CFLAGS += -DLOG_DEBUG_INFO=1
endif

LOCAL_STATIC_LIBRARIES := libxml2
ifeq ($(BOARD_VNDK_VERSION),current)
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libc++ libutils
else
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libc++ libicuuc libutils
endif
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := thermal-daemon
include $(BUILD_EXECUTABLE)