xref: /aosp_15_r20/hardware/interfaces/tests/extension/vibrator/aidl/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_binary {
11    name: "android.hardware.tests.extension.vibrator-service.example",
12    relative_install_path: "hw",
13
14    // need to add this in the manifest and to init as well to use, see
15    // android.hardware.vibrator-service.example. This binary is being tested
16    // by running it manually as root.
17
18    vendor: true,
19    srcs: [
20        "service.cpp",
21        "Vibrator.cpp",
22        "CustomVibrator.cpp",
23    ],
24    shared_libs: [
25        "libbase",
26        "libbinder_ndk",
27        "android.hardware.vibrator-V2-ndk",
28        "android.hardware.tests.extension.vibrator-V1-ndk",
29    ],
30}
31