mirror of
https://github.com/oplus-giulia-dev/android_hardware_oplus
synced 2025-11-04 05:45:34 +08:00
Co-authored-by: Maitreya25 <maitreyapatni25@gmail.com> Co-authored-by: Mashopy <eliasgheeraert@gmail.com> Co-authored-by: Bruno Martins <bgcngm@gmail.com> Change-Id: I5ad57428aeefe68c8a188aa1e445f4091cbc0d8a
27 lines
620 B
Plaintext
27 lines
620 B
Plaintext
//
|
|
// SPDX-FileCopyrightText: 2024-2025 The LineageOS Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
cc_library_static {
|
|
name: "power-ext-oplus",
|
|
defaults: ["android.hardware.power-ndk_shared"],
|
|
vendor: true,
|
|
srcs: [
|
|
"power-mode.cpp",
|
|
],
|
|
cppflags: select(soong_config_variable("power_libperfmgr", "mode_extension_lib"), {
|
|
any: ["-DLIBPERFMGR_EXT"],
|
|
default: [],
|
|
}),
|
|
header_libs: [
|
|
"vendor.oplus.hardware.touch-headers",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
],
|
|
whole_static_libs: [
|
|
"vendor.oplus.hardware.touch-V2-ndk",
|
|
],
|
|
}
|