Files
hardware_interfaces/tests/extension/vibrator/aidl/client/Android.bp
Steven Moreland 8fe0c2e0ec vibrator ext: use package name as module name
For consistency.

Bug: 153501107
Test: N/A
Change-Id: If32e8539fd8fffd5e27f0437bff480089e38f0da
Merged-In: If32e8539fd8fffd5e27f0437bff480089e38f0da
2020-04-09 08:24:59 +00:00

25 lines
868 B
Plaintext

// This example client is written as a test, but it is executing from a system
// context. All this code would look the same if it was running in system
// server for example.
cc_test {
name: "android.hardware.tests.extension.vibrator-client",
srcs: [
// system code has the option to use the unstable C++ libbinder API
// or the NDK one. For maximum code portability, using the ndk client
// makes the most sense, but both are provided here as an example.
"test-cpp-client.cpp",
"test-ndk-client.cpp",
],
shared_libs: [
"libbinder",
"libutils",
"android.hardware.vibrator-cpp",
"android.hardware.tests.extension.vibrator-cpp",
"libbinder_ndk",
"android.hardware.vibrator-ndk_platform",
"android.hardware.tests.extension.vibrator-ndk_platform",
],
}