Add UnsupportedAppUsage to java_aconfig_library dependency am: 1b052b0078

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2776648

Change-Id: Ic25e2bef69369cea6a4c09b0bfdc28a4b0c27e38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Zhi Dou
2023-10-10 23:30:34 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) DepsMutator(module *ja
// Add aconfig-annotations-lib as a dependency for the optimization / code stripping annotations
module.AddSharedLibrary("aconfig-annotations-lib")
// TODO(b/303773055): Remove the annotation after access issue is resolved.
module.AddSharedLibrary("unsupportedappusage")
}
func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) GenerateSourceJarBuildActions(module *java.GeneratedJavaLibraryModule, ctx android.ModuleContext) android.Path {

View File

@@ -410,6 +410,7 @@ func gatherRequiredDepsForTest() string {
"stub-annotations",
"aconfig-annotations-lib",
"unsupportedappusage",
}
for _, extra := range extraModules {