1hidl_package_root {
2    name: "android.hardware",
3    use_current: true,
4}
5
6cc_defaults {
7    name: "hidl_defaults",
8    cflags: [
9        "-Wall",
10        "-Werror",
11    ],
12}
13
14// VTS tests must link to HAL definition libraries statically.
15cc_defaults {
16    name: "VtsHalTargetTestDefaults",
17    defaults: [
18        "vts_target_tests_defaults",
19        "hidl_defaults",
20    ],
21
22    // Lists all dependencies that can *not* be expected on the device.
23    static_libs: [
24        "VtsHalHidlTargetTestBase",
25        "libhidl-gen-utils",
26    ],
27
28    header_libs: [
29        "libhidl_gtest_helper",
30    ],
31
32    group_static_libs: true,
33
34    // Lists all system dependencies that can be expected on the device.
35    shared_libs: [
36        "libbase",
37        // All the following are dependencies of any HAL definition library.
38        "libcutils",
39        "liblog",
40        "libhidlbase",
41        "libutils",
42    ],
43    cflags: [
44        "-O0",
45        "-g",
46    ],
47
48    require_root: true,
49}
50