Merge "vibrator: use package as name"
am: 91a5aa4ea2
Change-Id: I1f682f4e93d7d77b262faf59e955116443cfbcaf
This commit is contained in:
commit
8aa0dd830f
6 changed files with 23 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
aidl_interface {
|
||||
// This is an example test interface showing how to add functionality
|
||||
// with setExtension/getExtension
|
||||
name: "test-vintf-vibrator-ext",
|
||||
name: "test-android.hardware.vibrator-ext",
|
||||
vendor_available: true,
|
||||
srcs: [
|
||||
// Using android.hardware as the package because this is in
|
||||
|
@ -18,7 +18,7 @@ aidl_interface {
|
|||
// This happens to use types from a core interface, so we import it, but
|
||||
// this won't always be needed.
|
||||
imports: [
|
||||
"vintf-vibrator",
|
||||
"android.hardware.vibrator",
|
||||
],
|
||||
|
||||
backend: {
|
||||
|
|
|
@ -1,26 +1,24 @@
|
|||
|
||||
// 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: "test-vintf-vibrator-ext-client",
|
||||
name: "test-android.hardware.vibrator-ext-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",
|
||||
// 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",
|
||||
"vintf-vibrator-cpp",
|
||||
"test-vintf-vibrator-ext-cpp",
|
||||
"libbinder",
|
||||
"libutils",
|
||||
"android.hardware.vibrator-cpp",
|
||||
"test-android.hardware.vibrator-ext-cpp",
|
||||
|
||||
"libbinder_ndk",
|
||||
"vintf-vibrator-ndk_platform",
|
||||
"test-vintf-vibrator-ext-ndk_platform",
|
||||
"libbinder_ndk",
|
||||
"android.hardware.vibrator-ndk_platform",
|
||||
"test-android.hardware.vibrator-ext-ndk_platform",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ cc_binary {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"vintf-vibrator-ndk_platform",
|
||||
"test-vintf-vibrator-ext-ndk_platform",
|
||||
"android.hardware.vibrator-ndk_platform",
|
||||
"test-android.hardware.vibrator-ext-ndk_platform",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
aidl_interface {
|
||||
name: "vintf-vibrator",
|
||||
name: "android.hardware.vibrator",
|
||||
vendor_available: true,
|
||||
srcs: [
|
||||
"android/hardware/vibrator/*.aidl",
|
||||
|
|
|
@ -4,13 +4,13 @@ cc_library_static {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"vintf-vibrator-ndk_platform",
|
||||
"android.hardware.vibrator-ndk_platform",
|
||||
],
|
||||
export_include_dirs: ["include"],
|
||||
srcs: ["Vibrator.cpp"],
|
||||
visibility: [
|
||||
":__subpackages__",
|
||||
"//hardware/interfaces/tests/extension/vibrator:__subpackages__",
|
||||
":__subpackages__",
|
||||
"//hardware/interfaces/tests/extension/vibrator:__subpackages__",
|
||||
],
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ cc_binary {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"vintf-vibrator-ndk_platform",
|
||||
"android.hardware.vibrator-ndk_platform",
|
||||
],
|
||||
static_libs: [
|
||||
"libvibratorexampleimpl",
|
||||
|
|
|
@ -9,7 +9,7 @@ cc_test {
|
|||
"libbinder",
|
||||
],
|
||||
static_libs: [
|
||||
"vintf-vibrator-cpp",
|
||||
"android.hardware.vibrator-cpp",
|
||||
],
|
||||
test_suites: [
|
||||
"vts-core",
|
||||
|
|
Loading…
Reference in a new issue