Create framework-connectivity shared filegroup

Since data usage related code is going to move to mainline module,
hidden classes and methods can no longer be accessed. However,
some of the hidden classes in the platform are still needed, and
cannot be moved because of other callers.

Thus, create a shared srcs filegroup to allow these classes
build with the module to solve the dependencies.

Test: TH
Bug: 204830222
Change-Id: I3813bc2177b2f0b4237056f64c57c63fa29c3081
This commit is contained in:
Junyu Lai
2022-01-17 10:02:00 +00:00
committed by Lorenzo Colitti
parent 022ade7a2a
commit 9fd93192c5

View File

@@ -176,6 +176,18 @@ filegroup {
"com/android/internal/util/IndentingPrintWriter.java",
"com/android/internal/util/MessageUtils.java",
"com/android/internal/util/WakeupMessage.java",
// TODO: delete as soon as NetworkStatsFactory stops using
"com/android/internal/util/ProcFileReader.java",
],
}
// keep these files in sync with the packages/modules/Connectivity jarjar-rules.txt for
// the connectivity module.
filegroup {
name: "framework-connectivity-api-shared-srcs",
srcs: [
"android/util/IndentingPrintWriter.java",
"com/android/internal/util/FileRotator.java",
],
}