aboutsummaryrefslogtreecommitdiff
path: root/vibrator/Android.bp
blob: e9d6056343f26522ffa1973a615fff53cf9eb260 (plain) (blame)
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
Common_CFlags = ["-Wall"]
Common_CFlags += ["-Werror"]

cc_library_shared {
    name: "vendor.qti.hardware.vibrator.impl.xiaomi_holi",
    vendor: true,
    cflags: Common_CFlags,
    srcs: [
        "Vibrator.cpp",
    ],
    shared_libs: [
        "libcutils",
        "libutils",
        "liblog",
        "libqtivibratoreffect",
        "libbinder_ndk",
        "android.hardware.vibrator-V1-ndk_platform",
    ],
    export_include_dirs: ["include"]
}

cc_binary {
    name: "vendor.qti.hardware.vibrator.service.xiaomi_holi",
    vendor: true,
    relative_install_path: "hw",
    init_rc: ["vendor.qti.hardware.vibrator.service.xiaomi_holi.rc"],
    vintf_fragments: [
        "vendor.qti.hardware.vibrator.service.xiaomi_holi.xml",
    ],
    cflags: Common_CFlags,
    srcs: [
        "service.cpp",
    ],
    shared_libs: [
        "libcutils",
        "libutils",
        "libbase",
        "libbinder_ndk",
        "android.hardware.vibrator-V1-ndk_platform",
        "vendor.qti.hardware.vibrator.impl.xiaomi_holi",
    ],
}