Remove more internal fields from ModuleBase.

Bug: 358425833
Test: Manual compare the generated ninja and mk files and CI.
Change-Id: I4edd0dc646ac035594f47cd9044cc4eb5f710e64
This commit is contained in:
Yu Liu
2024-08-15 18:46:17 +00:00
parent 47a91c9f4f
commit d46e5ae670
15 changed files with 66 additions and 61 deletions

View File

@@ -49,7 +49,8 @@ func TestKernelModulesFilelist(t *testing.T) {
}
var actual []string
for _, ps := range ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module().PackagingSpecs() {
for _, ps := range android.OtherModuleProviderOrDefault(
ctx, ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module(), android.InstallFilesProvider).PackagingSpecs {
actual = append(actual, ps.RelPathInPackage())
}
actual = android.SortedUniqueStrings(actual)