package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_interfaces_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["hardware_interfaces_license"],
}

cc_binary {
    name: "android.hardware.tests.extension.vibrator-service.example",
    relative_install_path: "hw",

    // need to add this in the manifest and to init as well to use, see
    // android.hardware.vibrator-service.example. This binary is being tested
    // by running it manually as root.

    vendor: true,
    srcs: [
        "service.cpp",
        "Vibrator.cpp",
        "CustomVibrator.cpp",
    ],
    shared_libs: [
        "libbase",
        "libbinder_ndk",
        "android.hardware.vibrator-V2-ndk",
        "android.hardware.tests.extension.vibrator-V1-ndk",
    ],
}
