Daniel Norman | 938b862 | 2021-09-16 10:42:58 -0700 | [diff] [blame^] | 1 | package { |
| 2 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 3 | } |
| 4 | |
| 5 | apex_key { |
| 6 | name: "com.android.hardware.vibrator.key", |
| 7 | public_key: "com.android.hardware.vibrator.avbpubkey", |
| 8 | private_key: "com.android.hardware.vibrator.pem", |
| 9 | } |
| 10 | |
| 11 | android_app_certificate { |
| 12 | name: "com.android.hardware.vibrator.certificate", |
| 13 | certificate: "com.android.hardware.vibrator", |
| 14 | } |
| 15 | |
| 16 | prebuilt_etc { |
| 17 | name: "com.android.hardware.vibrator.rc", |
| 18 | src: "com.android.hardware.vibrator.rc", |
| 19 | installable: false, |
| 20 | } |
| 21 | |
| 22 | apex { |
| 23 | name: "com.android.hardware.vibrator", |
| 24 | manifest: "apex_manifest.json", |
| 25 | key: "com.android.hardware.vibrator.key", |
| 26 | certificate: ":com.android.hardware.vibrator.certificate", |
| 27 | file_contexts: "file_contexts", |
| 28 | use_vndk_as_stable: true, |
| 29 | updatable: false, |
| 30 | // Install the apex in /vendor/apex |
| 31 | soc_specific: true, |
| 32 | binaries: [ |
| 33 | "android.hardware.vibrator-service.example", |
| 34 | ], |
| 35 | prebuilts: [ |
| 36 | "com.android.hardware.vibrator.rc", |
| 37 | ], |
| 38 | vintf_fragments: [":android.hardware.vibrator.xml"], |
| 39 | // vibrator.default.so is not needed by the AIDL service binary. |
| 40 | overrides: ["vibrator.default"], |
| 41 | } |