summaryrefslogtreecommitdiff
path: root/vibrator/apex/Android.bp
blob: 46f657e17a0d65119d32d96800fba4e5dd66ba5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

apex {
    name: "com.android.vibrator.sunfish",
    manifest: "apex_manifest.json",
    key: "com.android.vibrator.sunfish.key",
    certificate: ":com.android.vibrator.sunfish.certificate",
    file_contexts: "file_contexts",
    updatable: false,

    // install the apex in /vendor/apex
    proprietary: true,

    // BEGIN of apex payloads
    binaries: [
        // /bin
        "android.hardware.vibrator@1.3-service.sunfish",
    ],
    prebuilts: [
        // /etc
        "android.hardware.vibrator@1.3-service.sunfish.rc",
        // /firmware
        "drv2624.bin.sunfish",
    ],
    // END of apex payloads

    // BEGIN of companion files
    // vintf manifest fragments, which is installed in /vendor/etc/vintf.
    // TODO(b/130058564): should we put vintf framgments within the apex?
    vintf_fragments: [
        "android.hardware.vibrator@1.3-service.sunfish.xml",
    ],
    // END of companion files
}

apex_key {
    name: "com.android.vibrator.sunfish.key",
    public_key: "com.android.vibrator.sunfish.pubkey",
    private_key: "com.android.vibrator.sunfish.pem",
}

android_app_certificate {
    name: "com.android.vibrator.sunfish.certificate",
    certificate: "com.android.vibrator.sunfish",
}

prebuilt_etc {
    name: "android.hardware.vibrator@1.3-service.sunfish.rc",
    src: "android.hardware.vibrator@1.3-service.sunfish.rc",
    installable: false,
}