Merge "Cleanup: move VINTF fragment into VAPEX" into main am: e8d679e223
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780410 Change-Id: Ieb5775b444658cb125e8844e162d525d56cc7985 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
81248e07a7
5 changed files with 8 additions and 8 deletions
|
@ -43,9 +43,11 @@ cc_binary {
|
|||
],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
prebuilt_etc {
|
||||
name: "android.hardware.usb-service.example.xml",
|
||||
srcs: ["android.hardware.usb-service.example.xml"],
|
||||
src: "android.hardware.usb-service.example.xml",
|
||||
sub_dir: "vintf",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
filegroup {
|
||||
|
|
|
@ -30,8 +30,8 @@ apex {
|
|||
"com.android.hardware.usb.rc", // init .rc
|
||||
"android.hardware.usb.accessory.prebuilt.xml",
|
||||
"android.hardware.usb.host.prebuilt.xml",
|
||||
"android.hardware.usb-service.example.xml",
|
||||
],
|
||||
vintf_fragments: [":android.hardware.usb-service.example.xml"],
|
||||
}
|
||||
|
||||
// Replace the binary path from /vendor/bin to /apex/{name}/bin in the init .rc file
|
3
usb/aidl/default/apex/file_contexts
Normal file
3
usb/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\.usb-service\.example u:object_r:hal_usb_default_exec:s0
|
|
@ -1,5 +0,0 @@
|
|||
(/.*)? u:object_r:vendor_file:s0
|
||||
# Permission XMLs
|
||||
/etc/permissions(/.*)? u:object_r:vendor_configs_file:s0
|
||||
# binary
|
||||
/bin/hw/android\.hardware\.usb-service\.example u:object_r:hal_usb_default_exec:s0
|
Loading…
Reference in a new issue