diff options
Diffstat (limited to 'thermal/Android.bp')
-rw-r--r-- | thermal/Android.bp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/thermal/Android.bp b/thermal/Android.bp new file mode 100644 index 00000000..d9f2b739 --- /dev/null +++ b/thermal/Android.bp @@ -0,0 +1,46 @@ +cc_binary { + name: "android.hardware.thermal@2.0-service.pixel", + cpp_std: "c++17", + defaults: [ + "hidl_defaults", + ], + vendor: true, + relative_install_path: "hw", + vintf_fragments: ["android.hardware.thermal@2.0-service.pixel.xml"], + init_rc: [ + "android.hardware.thermal@2.0-service.pixel.rc", + ], + srcs: [ + "service.cpp", + "Thermal.cpp", + "thermal-helper.cpp", + "utils/config_parser.cpp", + "utils/cooling_devices.cpp", + "utils/thermal_watcher.cpp", + "utils/sensors.cpp", + ], + static_libs: [ + "libjsoncpp", + ], + shared_libs: [ + "libbase", + "libhidlbase", + "libhidltransport", + "libutils", + "android.hardware.thermal@1.0", + "android.hardware.thermal@2.0", + ], + cflags: [ + "-Wall", + "-Werror", + ], + tidy: true, + tidy_checks: [ + "android-*", + "cert-*", + "clang-analyzer-security*", + ], + tidy_flags: [ + "-warnings-as-errors=android-*,clang-analyzer-security*,cert-*" + ], +} |