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
|
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
LOCAL_C_INCLUDES += external/libxml2/include
LOCAL_PROPRIETARY_MODULE := true
LOCAL_CFLAGS := \
-DTDRUNDIR='"/data/misc/thermal-daemon"'\
-DTDCONFDIR='"/system/vendor/etc/thermal-daemon"'\
-Wno-unused-parameter\
-Wall\
-Werror
LOCAL_STATIC_LIBRARIES := libxml2
LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libc++ libicuuc libutils
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := thermal-daemon
include $(BUILD_EXECUTABLE)
|