mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Merge changes from topics "tetheroffload-hal-apex", "thermal-hal-apex" into main am: 1f05f9d3a1 am: 49122f7ddf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2749883 Change-Id: I1356310498e40102b22cd6d11ee6bba8252a4a73 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -24,26 +24,50 @@ package {
|
|||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.thermal-service.example",
|
name: "android.hardware.thermal-service.example",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
init_rc: [":android.hardware.thermal.example.rc"],
|
|
||||||
vintf_fragments: [":android.hardware.thermal.example.xml"],
|
|
||||||
vendor: true,
|
vendor: true,
|
||||||
shared_libs: [
|
stl: "c++_static",
|
||||||
"libbase",
|
static_libs: [
|
||||||
"libbinder_ndk",
|
|
||||||
"android.hardware.thermal-V1-ndk",
|
"android.hardware.thermal-V1-ndk",
|
||||||
|
"libbase",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libbinder_ndk",
|
||||||
|
"liblog",
|
||||||
],
|
],
|
||||||
srcs: [
|
srcs: [
|
||||||
"main.cpp",
|
"main.cpp",
|
||||||
"Thermal.cpp",
|
"Thermal.cpp",
|
||||||
],
|
],
|
||||||
|
installable: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
prebuilt_etc {
|
||||||
name: "android.hardware.thermal.example.xml",
|
name: "android.hardware.thermal.example.xml",
|
||||||
srcs: ["thermal-example.xml"],
|
src: "thermal-example.xml",
|
||||||
|
sub_dir: "vintf",
|
||||||
|
installable: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
prebuilt_etc {
|
||||||
name: "android.hardware.thermal.example.rc",
|
name: "android.hardware.thermal.example.rc",
|
||||||
srcs: ["thermal-example.rc"],
|
src: "thermal-example.rc",
|
||||||
|
installable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
apex {
|
||||||
|
name: "com.android.hardware.thermal",
|
||||||
|
manifest: "apex_manifest.json",
|
||||||
|
file_contexts: "apex_file_contexts",
|
||||||
|
key: "com.android.hardware.key",
|
||||||
|
certificate: ":com.android.hardware.certificate",
|
||||||
|
updatable: false,
|
||||||
|
vendor: true,
|
||||||
|
|
||||||
|
binaries: [
|
||||||
|
"android.hardware.thermal-service.example",
|
||||||
|
],
|
||||||
|
prebuilts: [
|
||||||
|
"android.hardware.thermal.example.xml",
|
||||||
|
"android.hardware.thermal.example.rc",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
3
thermal/aidl/default/apex_file_contexts
Normal file
3
thermal/aidl/default/apex_file_contexts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
(/.*)? u:object_r:vendor_file:s0
|
||||||
|
/etc(/.*)? u:object_r:vendor_configs_file:s0
|
||||||
|
/bin/hw/android\.hardware\.thermal-service\.example u:object_r:hal_thermal_default_exec:s0
|
||||||
4
thermal/aidl/default/apex_manifest.json
Normal file
4
thermal/aidl/default/apex_manifest.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "com.android.hardware.thermal",
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
service vendor.thermal-example /vendor/bin/hw/android.hardware.thermal-service.example
|
service vendor.thermal-example /apex/com.android.hardware.thermal/bin/hw/android.hardware.thermal-service.example
|
||||||
class hal
|
class hal
|
||||||
user nobody
|
user nobody
|
||||||
group system
|
group system
|
||||||
|
|||||||
Reference in New Issue
Block a user