Gabriel Biren | 910d5df | 2022-04-08 18:21:22 +0000 | [diff] [blame] | 1 | // Copyright (C) 2022 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 22 | } |
| 23 | |
| 24 | aidl_interface { |
| 25 | name: "android.hardware.wifi", |
| 26 | vendor_available: true, |
| 27 | srcs: [ |
| 28 | "android/hardware/wifi/*.aidl", |
| 29 | ], |
Gabriel Biren | 61430f4 | 2023-11-09 23:54:32 +0000 | [diff] [blame] | 30 | imports: [ |
| 31 | "android.hardware.wifi.common-V1", |
| 32 | ], |
Gabriel Biren | 910d5df | 2022-04-08 18:21:22 +0000 | [diff] [blame] | 33 | stability: "vintf", |
| 34 | backend: { |
| 35 | java: { |
| 36 | sdk_version: "module_current", |
| 37 | apex_available: [ |
| 38 | "//apex_available:platform", |
| 39 | "com.android.wifi", |
| 40 | ], |
| 41 | min_sdk_version: "30", |
| 42 | lint: { |
Gabriel Biren | 0d841ae | 2023-03-16 17:18:57 +0000 | [diff] [blame] | 43 | // Disable linter to avoid error about fixed size arrays. |
| 44 | // Interface will only be accessed on devices >= U. |
Gabriel Biren | 910d5df | 2022-04-08 18:21:22 +0000 | [diff] [blame] | 45 | enabled: false, |
| 46 | }, |
| 47 | }, |
Gabriel Biren | 61430f4 | 2023-11-09 23:54:32 +0000 | [diff] [blame] | 48 | cpp: { |
| 49 | enabled: false, |
| 50 | }, |
Gabriel Biren | 910d5df | 2022-04-08 18:21:22 +0000 | [diff] [blame] | 51 | }, |
Alex Buynytskyy | ec1198d | 2023-04-04 19:52:27 +0000 | [diff] [blame] | 52 | versions_with_info: [ |
| 53 | { |
| 54 | version: "1", |
| 55 | imports: [], |
| 56 | }, |
| 57 | ], |
Gabriel Biren | 61430f4 | 2023-11-09 23:54:32 +0000 | [diff] [blame] | 58 | frozen: false, |
Gabriel Biren | 910d5df | 2022-04-08 18:21:22 +0000 | [diff] [blame] | 59 | } |