Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f646ef3 authored by David Su's avatar David Su
Browse files

Create a new non-updatable Wifi filegroup for WifiNetworkScoreCache

WifiNetworkScoreCache will not be part of the Wifi module. Thus,
split it out into a separate filegroup. WifiNetworkScoreCache
will eventually live in framework.jar, while the rest of the Wifi
API surface will live in framework-wifi.jar.

Bug: 144487252
Test: compiles
Change-Id: Id82218204ab62e549b60bcfc41af9eaa305000ce
parent 95781fe5
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -205,9 +205,22 @@ filegroup {
        "wifi/java/**/*.java",
        "wifi/java/**/*.aidl",
    ],
    exclude_srcs: [
        ":framework-wifi-non-updatable-sources"
    ],
    path: "wifi/java",
}

filegroup {
    name: "framework-wifi-non-updatable-sources",
    srcs: [
        // TODO(b/146011398) package android.net.wifi is now split amongst 2 jars: framework.jar and
        // framework-wifi.jar. This is not a good idea, should move WifiNetworkScoreCache
        // to a separate package.
        "wifi/java/android/net/wifi/WifiNetworkScoreCache.java"
    ],
}

filegroup {
    name: "framework-non-updatable-sources",
    srcs: [
@@ -233,6 +246,7 @@ filegroup {
        ":framework-telephony-common-sources",
        ":framework-telephony-sources",
        ":framework-wifi-sources",
        ":framework-wifi-non-updatable-sources",
        ":PacProcessor-aidl-sources",
        ":ProxyHandler-aidl-sources",