| 1 |
// Copyright (C) 2020 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 |
// This directory contains framework Wifi APIs that are not part of the Wifi module (i.e. not |
| 16 |
// updatable), and are generally only called by the Wifi module. |
| 17 |
|
| 18 |
// necessary since we only want the `path` property to only refer to these files |
| 19 |
package { |
| 20 |
// See: http://go/android-license-faq |
| 21 |
// A large-scale-change added 'default_applicable_licenses' to import |
| 22 |
// all of the 'license_kinds' from "frameworks_base_license" |
| 23 |
// to get the below license kinds: |
| 24 |
// SPDX-license-identifier-Apache-2.0 |
| 25 |
default_applicable_licenses: ["frameworks_base_license"], |
| 26 |
} |
| 27 |
|
| 28 |
filegroup { |
| 29 |
name: "framework-wifi-non-updatable-sources-internal", |
| 30 |
srcs: ["src/**/*.java"], |
| 31 |
path: "src", |
| 32 |
visibility: ["//visibility:private"], |
| 33 |
} |
| 34 |
|
| 35 |
filegroup { |
| 36 |
name: "framework-wifi-non-updatable-sources", |
| 37 |
srcs: [ |
| 38 |
// TODO(b/146011398) package android.net.wifi is now split amongst 2 jars: framework.jar and |
| 39 |
// framework-wifi.jar. This is not a good idea, should move WifiNetworkScoreCache |
| 40 |
// to a separate package. |
| 41 |
":framework-wifi-non-updatable-sources-internal", |
| 42 |
":libwificond_ipc_aidl", |
| 43 |
], |
| 44 |
} |