Files
device_xiaomi_rosemary/vibrator/Android.bp
Jiyong Park 076f7631d2 rosemary: 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: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-12-07 00:10:21 +01:00

38 lines
907 B
Plaintext

// Copyright (C) 2022 StatiX
// SPDX-License-Identifer: Apache-2.0
cc_library_static {
name: "android.hardware.vibrator-impl.rosemary",
vendor: true,
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V2-ndk",
],
export_include_dirs: ["include"],
srcs: [
"Vibrator.cpp",
],
visibility: [
":__subpackages__",
"//hardware/interfaces/tests/extension/vibrator:__subpackages__",
],
}
cc_binary {
name: "android.hardware.vibrator-service.rosemary",
relative_install_path: "hw",
init_rc: ["vibrator-rosemary.rc"],
vintf_fragments: ["vibrator-rosemary.xml"],
vendor: true,
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V2-ndk",
],
static_libs: [
"android.hardware.vibrator-impl.rosemary",
],
srcs: ["main.cpp"],
}