Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame^] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 8 | } |
| 9 | |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 10 | aidl_interface { |
| 11 | // This is an example test interface showing how to add functionality |
| 12 | // with setExtension/getExtension |
Steven Moreland | dac21c4 | 2020-03-09 12:05:29 -0700 | [diff] [blame] | 13 | name: "android.hardware.tests.extension.vibrator", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 14 | vendor_available: true, |
| 15 | srcs: [ |
| 16 | // Using android.hardware as the package because this is in |
| 17 | // hardware/interfaces. For custom interfaces, normally you |
| 18 | // would use a different package. |
| 19 | "android/hardware/tests/extension/vibrator/Directionality.aidl", |
| 20 | "android/hardware/tests/extension/vibrator/ICustomVibrator.aidl", |
| 21 | "android/hardware/tests/extension/vibrator/VendorEffect.aidl", |
| 22 | ], |
| 23 | |
| 24 | // This is agreeing to keep the interface stable. |
| 25 | stability: "vintf", |
| 26 | |
| 27 | // This happens to use types from a core interface, so we import it, but |
| 28 | // this won't always be needed. |
| 29 | imports: [ |
Steven Moreland | 98ba8fb | 2020-01-06 13:40:51 -0800 | [diff] [blame] | 30 | "android.hardware.vibrator", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 31 | ], |
| 32 | |
| 33 | backend: { |
| 34 | java: { |
| 35 | enabled: false, |
| 36 | }, |
| 37 | }, |
Jeongik Cha | cfb3748 | 2020-04-08 16:23:55 +0900 | [diff] [blame] | 38 | versions: ["1"], |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 39 | } |