From 7fb3d436f484d5360e9c48766c705764d5f2d65c Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Wed, 28 Dec 2022 22:23:12 +0000 Subject: [PATCH] Add j.a.p.Generated to ART's Public API surface Since this class is now part of ART's public API, we do not need to add it separately to the relevant system modules Bug: 261244752 Test: TH Change-Id: Ib318ef006b868d482b2cb8ff4820afe3f352483d --- java/core-libraries/Android.bp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/java/core-libraries/Android.bp b/java/core-libraries/Android.bp index 4fb1d76fd..b9332dda5 100644 --- a/java/core-libraries/Android.bp +++ b/java/core-libraries/Android.bp @@ -63,11 +63,6 @@ java_library { // This one is not on device but it's needed when javac compiles code // containing lambdas. "core-lambda-stubs-for-system-modules", - // This one is not on device but it's needed when javac compiles code - // containing @Generated annotations produced by some code generation - // tools. - // See http://b/123891440. - "core-generated-annotation-stubs", ], sdk_version: "none", system_modules: "none", @@ -148,11 +143,6 @@ java_library { // This one is not on device but it's needed when javac compiles code // containing lambdas. "core-lambda-stubs-for-system-modules", - // This one is not on device but it's needed when javac compiles code - // containing @Generated annotations produced by some code generation - // tools. - // See http://b/123891440. - "core-generated-annotation-stubs", ], sdk_version: "none", system_modules: "none", @@ -278,11 +268,6 @@ java_system_modules { // This one is not on device but it's needed when javac compiles code // containing lambdas. "core-lambda-stubs-for-system-modules", - // This one is not on device but it's needed when javac compiles code - // containing @Generated annotations produced by some code generation - // tools. - // See http://b/123891440. - "core-generated-annotation-stubs", ], } @@ -294,11 +279,6 @@ java_system_modules { // This one is not on device but it's needed when javac compiles code // containing lambdas. "core-lambda-stubs-for-system-modules", - // This one is not on device but it's needed when javac compiles code - // containing @Generated annotations produced by some code generation - // tools. - // See http://b/123891440. - "core-generated-annotation-stubs", ], } @@ -322,11 +302,6 @@ java_system_modules { // This one is not on device but it's needed when javac compiles code // containing lambdas. "core-lambda-stubs-for-system-modules", - // This one is not on device but it's needed when javac compiles code - // containing @Generated annotations produced by some code generation - // tools. - // See http://b/123891440. - "core-generated-annotation-stubs", // Ensure that core libraries that depend on the public API can access // the UnsupportedAppUsage, CorePlatformApi and IntraCoreApi