1// This example client is written as a test, but it is executing from a system 2// context. All this code would look the same if it was running in system 3// server for example. 4 5package { 6 // See: http://go/android-license-faq 7 // A large-scale-change added 'default_applicable_licenses' to import 8 // all of the 'license_kinds' from "hardware_interfaces_license" 9 // to get the below license kinds: 10 // SPDX-license-identifier-Apache-2.0 11 default_applicable_licenses: ["hardware_interfaces_license"], 12} 13 14cc_test { 15 name: "android.hardware.tests.extension.vibrator-client", 16 srcs: [ 17 // system code has the option to use the unstable C++ libbinder API 18 // or the NDK one. For maximum code portability, using the ndk client 19 // makes the most sense. 20 "test-ndk-client.cpp", 21 ], 22 shared_libs: [ 23 "libbinder_ndk", 24 "android.hardware.vibrator-V2-ndk", 25 "android.hardware.tests.extension.vibrator-V1-ndk", 26 ], 27} 28