Merge "vibrator: use package as name"

am: 91a5aa4ea2

Change-Id: I1f682f4e93d7d77b262faf59e955116443cfbcaf
This commit is contained in:
Steven Moreland 2020-01-07 14:48:51 -08:00 committed by android-build-merger
commit 8aa0dd830f
6 changed files with 23 additions and 25 deletions

View file

@ -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: {

View file

@ -1,10 +1,9 @@
// 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
@ -15,12 +14,11 @@ cc_test {
shared_libs: [
"libbinder",
"libutils",
"vintf-vibrator-cpp",
"test-vintf-vibrator-ext-cpp",
"android.hardware.vibrator-cpp",
"test-android.hardware.vibrator-ext-cpp",
"libbinder_ndk",
"vintf-vibrator-ndk_platform",
"test-vintf-vibrator-ext-ndk_platform",
"android.hardware.vibrator-ndk_platform",
"test-android.hardware.vibrator-ext-ndk_platform",
],
}

View file

@ -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",
],
}

View file

@ -1,5 +1,5 @@
aidl_interface {
name: "vintf-vibrator",
name: "android.hardware.vibrator",
vendor_available: true,
srcs: [
"android/hardware/vibrator/*.aidl",

View file

@ -4,7 +4,7 @@ cc_library_static {
shared_libs: [
"libbase",
"libbinder_ndk",
"vintf-vibrator-ndk_platform",
"android.hardware.vibrator-ndk_platform",
],
export_include_dirs: ["include"],
srcs: ["Vibrator.cpp"],
@ -23,7 +23,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"vintf-vibrator-ndk_platform",
"android.hardware.vibrator-ndk_platform",
],
static_libs: [
"libvibratorexampleimpl",

View file

@ -9,7 +9,7 @@ cc_test {
"libbinder",
],
static_libs: [
"vintf-vibrator-cpp",
"android.hardware.vibrator-cpp",
],
test_suites: [
"vts-core",