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:
@@ -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 {
|
||||
|
@@ -410,6 +410,7 @@ func gatherRequiredDepsForTest() string {
|
||||
"stub-annotations",
|
||||
|
||||
"aconfig-annotations-lib",
|
||||
"unsupportedappusage",
|
||||
}
|
||||
|
||||
for _, extra := range extraModules {
|
||||
|
Reference in New Issue
Block a user