1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5apex {
6    name: "com.android.vibrator.sunfish",
7    manifest: "apex_manifest.json",
8    key: "com.android.vibrator.sunfish.key",
9    certificate: ":com.android.vibrator.sunfish.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    binaries: [
19        // /bin
20        "android.hardware.vibrator@1.3-service.sunfish",
21    ],
22    prebuilts: [
23        // /etc
24        "android.hardware.vibrator@1.3-service.sunfish.rc",
25        // /firmware
26        "drv2624.bin.sunfish",
27    ],
28    // END of apex payloads
29
30    // BEGIN of companion files
31    // vintf manifest fragments, which is installed in /vendor/etc/vintf.
32    // TODO(b/130058564): should we put vintf framgments within the apex?
33    vintf_fragments: [
34        "android.hardware.vibrator@1.3-service.sunfish.xml",
35    ],
36    // END of companion files
37}
38
39apex_key {
40    name: "com.android.vibrator.sunfish.key",
41    public_key: "com.android.vibrator.sunfish.pubkey",
42    private_key: "com.android.vibrator.sunfish.pem",
43}
44
45android_app_certificate {
46    name: "com.android.vibrator.sunfish.certificate",
47    certificate: "com.android.vibrator.sunfish",
48}
49
50prebuilt_etc {
51    name: "android.hardware.vibrator@1.3-service.sunfish.rc",
52    src: "android.hardware.vibrator@1.3-service.sunfish.rc",
53    installable: false,
54}
55