Files
android_device_brcm_rpi4/suspend_blocker/Android.bp
Konsta 4ffea81903 suspend_blocker: convert to apex
* Start the service later at 'class hal' to avoid making this into bootstrap
  APEX. 'class early_hal' is started on trigger 'on late-fs' which is too
  early for vendor APEX.
2025-03-20 13:38:59 +02:00

34 lines
778 B
Plaintext

// Copyright (C) 2019 The Android Open Source Project
// Copyright (C) 2021-2022 KonstaKANG
//
// SPDX-License-Identifier: Apache-2.0
cc_binary {
name: "suspend_blocker_rpi",
vendor: true,
srcs: ["suspend_blocker_rpi.cpp"],
shared_libs: ["libpower"],
installable: false,
}
prebuilt_etc {
name: "suspend_blocker_rpi.rc",
src: "suspend_blocker_rpi.rc",
installable: false,
}
apex {
name: "com.android.hardware.suspend_blocker.rpi4",
manifest: "apex_manifest.json",
file_contexts: "apex_file_contexts",
key: "com.android.hardware.key",
certificate: ":com.android.hardware.certificate",
updatable: false,
vendor: true,
binaries: ["suspend_blocker_rpi"],
prebuilts: [
"suspend_blocker_rpi.rc",
],
}