android_device_samsung_msm8.../power/Android.bp
Deokgyu Yang a00f867501 gts3l-common: power: Merge power-ext function in the power HAL and apply ours
As we're building our power HAL ourselves, the
TARGET_POWERHAL_SET_INTERACTIVE_EXT flag doesn't working at all. So I
merged this feature to our power HAL to use the extension works, which
is disabling S-Pen panel, LCD, hardware touch key power.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 21:45:44 +09:00

47 lines
1.3 KiB
Text

// Copyright (C) 2017 The Android Open Source Project
// Copyright (C) 2018 The LineageOS 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_binary {
relative_install_path: "hw",
proprietary: true,
owner: "qcom",
name: "android.hardware.power@1.1-service.gts3l",
init_rc: ["android.hardware.power@1.1-service.gts3l.rc"],
srcs: [
"service.cpp",
"Power.cpp",
"power-ext.c",
"power-helper.c",
"metadata-parser.c",
"utils.c",
"list.c",
"hint-data.c",
"power-8996.c"
],
shared_libs: [
"libbase",
"libcutils",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.power@1.1",
],
header_libs: ["libhardware_headers"],
}