1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5apex { 6 name: "com.android.vibrator.drv2624", 7 manifest: "apex_manifest.json", 8 key: "com.android.vibrator.drv2624.key", 9 certificate: ":com.android.vibrator.drv2624.certificate", 10 file_contexts: "file_contexts", 11 use_vndk_as_stable: true, 12 updatable: false, 13 14 // install the apex in /vendor/apex 15 proprietary: true, 16 17 // BEGIN of apex payloads 18 // /bin 19 binaries: [ 20 "android.hardware.vibrator-service.drv2624", 21 ], 22 // /etc 23 prebuilts: [ 24 "com.android.vibrator.drv2624.rc", 25 ], 26 // END of apex payloads 27 28 // BEGIN of companion files to be installed if this module is installed 29 // init script, which is installed in /vendor/etc. 30 // Note that init scripts in an apex can contain only "service" sections. 31 // The following init script contains "on" section to enable the service. 32 init_rc: [ 33 "com.android.vibrator.drv2624.enable.rc", 34 ], 35 36 // vintf manifest fragments, which is installed in /vendor/etc/vintf. 37 // TODO(b/130058564): should we put vintf framgments within the apex? 38 vintf_fragments: [ 39 "com.android.vibrator.drv2624.xml", 40 ], 41 // END of companion filse 42} 43 44apex_key { 45 name: "com.android.vibrator.drv2624.key", 46 public_key: "com.android.vibrator.drv2624.pubkey", 47 private_key: "com.android.vibrator.drv2624.pem", 48} 49 50android_app_certificate { 51 name: "com.android.vibrator.drv2624.certificate", 52 certificate: "com.android.vibrator.drv2624", 53} 54 55prebuilt_etc { 56 name: "com.android.vibrator.drv2624.rc", 57 src: "com.android.vibrator.drv2624.rc", 58 installable: false, 59} 60