Merge "Cleanup: use shared apex_key (vibrator HAL APEX)" into main am: 62ba8b5bbe am: 3bde3289c6 am: 272e91ce44 am: a7ab523b73

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780371

Change-Id: Id3e55c4b5c8f07b18f7518f64550e7c12283bd33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jooyung Han 2023-10-16 03:26:02 +00:00 committed by Automerger Merge Worker
commit 9fbae3b38e
7 changed files with 12 additions and 106 deletions

View file

@ -32,9 +32,11 @@ cc_library_static {
},
}
filegroup {
prebuilt_etc {
name: "android.hardware.vibrator.xml",
srcs: ["android.hardware.vibrator.xml"],
src: "android.hardware.vibrator.xml",
sub_dir: "vintf",
installable: false,
}
cc_binary {

View file

@ -2,17 +2,6 @@ package {
default_applicable_licenses: ["hardware_interfaces_license"],
}
apex_key {
name: "com.android.hardware.vibrator.key",
public_key: "com.android.hardware.vibrator.avbpubkey",
private_key: "com.android.hardware.vibrator.pem",
}
android_app_certificate {
name: "com.android.hardware.vibrator.certificate",
certificate: "com.android.hardware.vibrator",
}
prebuilt_etc {
name: "com.android.hardware.vibrator.rc",
src: "com.android.hardware.vibrator.rc",
@ -22,20 +11,19 @@ prebuilt_etc {
apex {
name: "com.android.hardware.vibrator",
manifest: "apex_manifest.json",
key: "com.android.hardware.vibrator.key",
certificate: ":com.android.hardware.vibrator.certificate",
key: "com.android.hardware.key",
certificate: ":com.android.hardware.certificate",
file_contexts: "file_contexts",
use_vndk_as_stable: true,
updatable: false,
// Install the apex in /vendor/apex
soc_specific: true,
vendor: true,
binaries: [
"android.hardware.vibrator-service.example",
],
prebuilts: [
"com.android.hardware.vibrator.rc",
"android.hardware.vibrator.xml",
],
vintf_fragments: [":android.hardware.vibrator.xml"],
// vibrator.default.so is not needed by the AIDL service binary.
overrides: ["vibrator.default"],
}

View file

@ -1,51 +0,0 @@
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEA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+VfEdZdwJmZF6Clm5av2hDm
Oq09qL02nXy0OyAoCI6IcrrAlFFolgel32nWp1R7c+N2+6vLMP3KR50TgSiwHNNQ
weZhpP1GrXDyVj+ilL5T/2ionvjIvDBgOi8B0IwiqeHY7lqsSyMOuKTi5WPrJ86E
GNJ+PlivA/P9MAatem4kzCT2t3DbVC+dtybiUAmVFb2Ls+dVK4nHcbGTW9AuBijD
COEHQgi4Xs6lnwIDAQABMA0GCSqGSIb3DQEBCwUAA4ICAQDGvq99QUxMh+DaI2Pd
s4fQ9MmYxGDxULhjqgGAjDbL3jQMG2FxPTu1Z2VJgg4n+PTNsgsqgn1JgQM3gvFp
8FKhoxtzM5V8pPxphCG7U/f3ZsmXdLl69sbVkMRhorhQ8H54q0O/T3Ig/ULZgblE
xCRT1REB693tUQOCYgWgnsOpvySfujYhNBirl48Hw9zrRmQNTsO20dKwkZUvkVow
/pawucYrHibgwgKWz8kB3Dl4DODiLybek0hGzr59Joul9eMsxTuQsHAIUv0KO2Ny
5WT7GIX6qYc+VrnXsO+PHtx5GTUjrJiue3aggoW6X7gu3Z6KuIOiVTVLVp6wSJtt
VHv90HTu2lYxtPyPSOpFfwFOTicN+5VmLTQwPvPRqsnCaYc+K2iWyEhN/PnSfFNc
t/TX9HT3ljXq9yfshQmQJ27pdUiYs9Avt7fEXpJjQ0Tn9w8jRS5gsrnTUXTG6HXf
I4lsMSAApFZa112PwU7xAIIaipBauuMjQCabD/thBzB6d29Rlbz3cjBzoky9h2vb
XNIVo5O2Jiz7OJQ/7mubvJqIBngiaDK78n2hSdYglI1hgcf0KaQIJUridzmjt0kp
xXcwIz7nJxhNpbsYnDnqwqz9en8a4N+KeoQleYROo2kEtE434AJkzdABV4IKRafj
cbPWuY6F2faWAjkSOEhBfGOKOw==
-----END CERTIFICATE-----

View file

@ -1,3 +1,4 @@
(/.*)? u:object_r:vendor_file:s0
/bin/hw/android\.hardware\.vibrator-service\.example u:object_r:hal_vibrator_default_exec:s0
(/.*)? u:object_r:vendor_file:s0
/etc(/.*)? u:object_r:vendor_configs_file:s0
/bin/hw/android\.hardware\.vibrator-service\.example u:object_r:hal_vibrator_default_exec:s0