Revert "Revert "Disable from-text stub generation for i18n.modul..."
Revert submission 3207397-revert-2982300-java_api_library_non_sdk-FIKZOSARQI
Reason for revert: Post submit build breakage culprit fixed
Reverted changes: /q/submissionid:3207397-revert-2982300-java_api_library_non_sdk-FIKZOSARQI
Change-Id: Iae0aaa5029c18f8d0ba4cf68718998f27963d127
diff --git a/android_icu4j/Android.bp b/android_icu4j/Android.bp
index 43b66e6..88ecd4c 100644
--- a/android_icu4j/Android.bp
+++ b/android_icu4j/Android.bp
@@ -291,6 +291,12 @@
lint: {
warning_checks: ["SuspiciousIndentation"],
},
+
+ // This module's output stubs contain apis defined in "i18n.module.public.api.stubs",
+ // but adding "i18n.module.public.api" as a dependency of this module leads to circular
+ // dependency and requires further bootstrapping. Thus, disable stubs generation from the
+ // api signature files and generate stubs from the source Java files instead.
+ build_from_text_stub: false,
}
// Referenced implicitly from i18n.module.intra.core.api.