mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-03 08:54:55 +00:00
This info is needed to know when the imports change between versions. Set a good example. Test: m Bug: 273585373 Change-Id: I3f34711e99b09b611d68af522e2103a7cf768d63
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
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_binary {
|
|
name: "android.hardware.tests.extension.vibrator-service.example",
|
|
relative_install_path: "hw",
|
|
// normally you implement a service directly, but we are using an implementation
|
|
// from a library to attach our extension to.
|
|
static_libs: [
|
|
"libvibratorexampleimpl",
|
|
],
|
|
|
|
// need to add this in the manifest and to init as well to use, see
|
|
// android.hardware.vibrator-service.example. This binary is being tested
|
|
// by running it manually as root.
|
|
|
|
vendor: true,
|
|
srcs: [
|
|
"service.cpp",
|
|
"CustomVibrator.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"android.hardware.vibrator-V2-ndk",
|
|
"android.hardware.tests.extension.vibrator-V1-ndk",
|
|
],
|
|
}
|