summaryrefslogtreecommitdiffstats
blob: 5cb85b491d52461ba59019935144c976634b9cd2 (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
hidl_package_root {
    name: "android.hardware",
    path: "hardware/interfaces",
}

cc_defaults {
    name: "hidl_defaults",
    cflags: [
        "-Wall",
        "-Werror",
    ],
}

// VTS tests must link to HAL definition libraries statically.
cc_defaults {
    name: "VtsHalTargetTestDefaults",
    defaults: ["hidl_defaults"],

    // Lists all dependencies that can *not* be expected on the device.
    static_libs: [
        "VtsHalHidlTargetTestBase",
    ],
    group_static_libs: true,

    // Lists all system dependencies that can be expected on the device.
    shared_libs: [
        "libbase",
        // All the following are dependencies of any HAL definition library.
        "libcutils",
        "liblog",
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
    ],
    cflags: [
        "-O0",
        "-g",
    ],

}