Volodymyr Zhdanov bc8039f973 Revert "sm6250-common: power-libperfmgr: remove Google-specific display LPM control"
This reverts commit 0d73bffba1c8ce97ce466976f0ad8e42e11ba4f5.

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>

 Conflicts:
	power-libperfmgr/Power.cpp
2020-08-31 11:43:21 +03:00

52 lines
1.6 KiB
Plaintext

//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
cc_library_headers {
name: "xiaomi_sm6250_power_headers",
vendor_available: true,
export_include_dirs: ["."],
}
cc_binary {
name: "android.hardware.power@1.3-service.xiaomi_sm6250-libperfmgr",
relative_install_path: "hw",
vintf_fragments: ["android.hardware.power@1.3-service.xiaomi_sm6250.xml"],
init_rc: ["android.hardware.power@1.3-service.xiaomi_sm6250-libperfmgr.rc"],
srcs: ["service.cpp", "Power.cpp", "InteractionHandler.cpp",
"display-helper.cpp"],
cflags: [
"-Wall",
"-Werror",
],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"libcutils",
"android.hardware.power@1.0",
"android.hardware.power@1.1",
"android.hardware.power@1.2",
"android.hardware.power@1.3",
"libperfmgr",
],
header_libs: [
"libhardware_headers",
"generated_kernel_headers",
],
proprietary: true,
}