Files
hardware_interfaces/tests/extension/vibrator/aidl/client/Android.bp
Jiyong Park e0f2d29b7f Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I0652f1efe920111d79dd8c2ecd52e55dda54538f
Merged-In: Ib58c9f1cb80d083a3c62d03415610be855b80f03
Change-Id: Ied92f2784ed7d6a73693c640042c8a66fbbcfa17
2021-08-17 14:48:50 +00:00

34 lines
1.2 KiB
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.
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_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-V1-cpp",
"android.hardware.tests.extension.vibrator-V1-cpp",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
"android.hardware.tests.extension.vibrator-V1-ndk",
],
}