From 5a4e8f234d797e3c689bed0d531652fd09a98cbe Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 25 Nov 2020 15:45:43 +0000 Subject: Unbundle i18n API from android-non-updatable This removes the i18n source from the non-updatable stubs which removes them from the frameworks/base/core/api files too. The API is still protected by both the build and Gerrit review as the API is specified in the external/icu/android_icu4j/api/public/ directory. The i18n stubs source is used instead of the implementation source for generating the JavaDoc. That revealed a minor issue with metalava which is fixed in this topic. The i18n stubs library was statically included alongside the conscrypt stubs library so it will still appear in the monolothic android.jar. Bug: 174344410 Test: m offline-sdk-docs - check that i18n classes are present m android_stubs_current android_system_stubs_current android_test_stubs_current - check that i18n classes are present in each jar m droid Change-Id: I744c8bac54a8a5518ca0eca2a7700abbfa0997f4 --- ApiDocs.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ApiDocs.bp') diff --git a/ApiDocs.bp b/ApiDocs.bp index d6302097081a..ba93a489fd5a 100644 --- a/ApiDocs.bp +++ b/ApiDocs.bp @@ -67,7 +67,7 @@ stubs_defaults { ":opt-net-voip-srcs", ":art.module.public.api{.public.stubs.source}", ":conscrypt.module.public.api{.public.stubs.source}", - ":android_icu4j_public_api_files", + ":i18n.module.public.api{.public.stubs.source}", "test-mock/src/**/*.java", "test-runner/src/**/*.java", ], -- cgit v1.2.3