1cc_binary {
2    name: "android.hardware.tests.extension.vibrator-service.example",
3    relative_install_path: "hw",
4    // normally you implement a service directly, but we are using an implementation
5    // from a library to attach our extension to.
6    static_libs: [
7        "libvibratorexampleimpl",
8    ],
9
10    // need to add this in the manifest and to init as well to use, see
11    // android.hardware.vibrator-service.example. This binary is being tested
12    // by running it manually as root.
13
14    vendor: true,
15    srcs: [
16        "service.cpp",
17        "CustomVibrator.cpp",
18    ],
19    shared_libs: [
20        "libbase",
21        "libbinder_ndk",
22        "android.hardware.vibrator-ndk_platform",
23        "android.hardware.tests.extension.vibrator-ndk_platform",
24    ],
25}
26