mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-04-29 02:27:21 +09:00
* From hardware/google/pixel at d774cbb949e98627e4172bf8fc11e8d954599aa7. Change-Id: I3a3a0c29575d0595e71a30f1e64e33ca34d2eb27
59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
cc_binary {
|
|
name: "android.hardware.thermal@2.0-service.xiaomi_atoll",
|
|
defaults: [
|
|
"hidl_defaults",
|
|
],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
vintf_fragments: ["android.hardware.thermal@2.0-service.xiaomi_atoll.xml"],
|
|
init_rc: [
|
|
"android.hardware.thermal@2.0-service.xiaomi_atoll.rc",
|
|
],
|
|
srcs: [
|
|
"service.cpp",
|
|
"Thermal.cpp",
|
|
"thermal-helper.cpp",
|
|
"utils/config_parser.cpp",
|
|
"utils/thermal_files.cpp",
|
|
"utils/thermal_watcher.cpp",
|
|
"utils/power_files.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"libhidlbase",
|
|
"libjsoncpp",
|
|
"libutils",
|
|
"libnl",
|
|
"libbinder_ndk",
|
|
"android.hardware.thermal@1.0",
|
|
"android.hardware.thermal@2.0",
|
|
"android.hardware.power-V1-ndk_platform",
|
|
"pixel-power-ext-V1-ndk_platform"
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wextra",
|
|
"-Wunused",
|
|
],
|
|
tidy: true,
|
|
tidy_checks: [
|
|
"android-*",
|
|
"cert-*",
|
|
"clang-analyzer-security*",
|
|
],
|
|
tidy_flags: [
|
|
"-warnings-as-errors=android-*,clang-analyzer-security*,cert-*"
|
|
],
|
|
}
|
|
|
|
sh_binary {
|
|
name: "xiaomi_atoll_thermal_symlinks",
|
|
src: "init.thermal.symlinks.sh",
|
|
vendor: true,
|
|
init_rc: [
|
|
"xiaomi_atoll-thermal-symlinks.rc",
|
|
],
|
|
}
|