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

Commit e4fcdec2 authored by Anton Hansson's avatar Anton Hansson
Browse files

Convert filegroup to library

This filegroup makes more sense as a standalone modules-utils library,
and can be migrated to the modules-utils repository. Remove the
unnecessary dependency from services.net-module-wifi.

Test: m
Change-Id: I95d270e5e885fc40bd21af693058ace9818f1e3e
parent 51b916cb
Loading
Loading
Loading
Loading
+8 −14
Original line number Diff line number Diff line
@@ -146,11 +146,14 @@ java_library {
    ],
}

filegroup {
    name: "framework-services-net-module-wifi-shared-srcs",
    srcs: [
        "android/util/LocalLog.java",
    ],
java_library {
    name: "modules-utils-locallog",
    srcs: ["android/util/LocalLog.java"],
    libs: ["unsupportedappusage"],
    sdk_version: "module_current",
    min_sdk_version: "30",
    apex_available: ["//apex_available:anyapex"],
    visibility: ["//visibility:public"],
}

// keep these files in sync with the package/Tethering/jarjar-rules.txt and
@@ -375,15 +378,6 @@ filegroup {
    ],
}

// Avoid including Parcelable classes as we don't want to have two copies of
// Parcelable cross the process.
filegroup {
    name: "framework-cellbroadcast-shared-srcs",
    srcs: [
        "android/util/LocalLog.java",
    ],
}

java_library {
    name: "modules-utils-statemachine",
    srcs: [
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ java_library_static {
java_library {
    name: "services.net-module-wifi",
    srcs: [
        ":framework-services-net-module-wifi-shared-srcs",
        ":net-utils-services-common-srcs",
    ],
    sdk_version: "module_current",