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
19package {
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
28filegroup {
29    name: "framework-wifi-non-updatable-sources-internal",
30    srcs: [
31        "src/**/*.java",
32        "src/**/*.aidl",
33    ],
34    path: "src",
35    visibility: ["//visibility:private"],
36}
37
38filegroup {
39    name: "framework-wifi-non-updatable-sources",
40    srcs: [
41        // TODO(b/146011398) package android.net.wifi is now split amongst 2 jars: framework.jar and
42        // framework-wifi.jar. This is not a good idea, should move WifiNetworkScoreCache
43        // to a separate package.
44        ":framework-wifi-non-updatable-sources-internal",
45        ":libwificond_ipc_aidl",
46    ],
47}
48