blob: d828aa97a06bd1e71b5192f80170141e908983b3 [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_native_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_native_license"],
}
cc_library_shared {
name: "libpowermanager",
srcs: [
"BatterySaverPolicyConfig.cpp",
"CoolingDevice.cpp",
"ParcelDuration.cpp",
"PowerHalController.cpp",
"PowerHalLoader.cpp",
"PowerHalWrapper.cpp",
"PowerSaveState.cpp",
"Temperature.cpp",
"WorkSource.cpp",
":libpowermanager_aidl",
],
aidl: {
local_include_dirs: ["include"],
include_dirs: [
"frameworks/base/core/java/android/os",
],
export_aidl_headers: true
},
shared_libs: [
"libbinder",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.power@1.0",
"android.hardware.power@1.1",
"android.hardware.power-V2-cpp",
],
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
local_include_dirs: ["include"],
export_include_dirs: [
"include",
],
}