From 8ad50832cae26747e7e106c650b8874f9bd2f6a8 Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Tue, 13 Feb 2024 23:30:42 +0000 Subject: Replace lists of aconfig modules with aconfig_declarations_group Currently in AconfigFlags.bp, two list of aconfig modules are being maintained: the list of java_aconfig_library modules and the list of aconfig_declarations modules. When a new aconfig module is being added, a developer must modify the two lists, and there is no guarantee that the two lists are kept in sync. In order to resolve such issue, this change replaces the two lists with the newly introduced aconfig_declarations_group module. Test: m Bug: 320492079 Merged-In: Ib32c06de4f0279a17e5c65314e984265592d004c Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c --- api/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/Android.bp b/api/Android.bp index bf9ea48051bc..6a885fd55ff7 100644 --- a/api/Android.bp +++ b/api/Android.bp @@ -301,7 +301,7 @@ packages_to_document = [ // classpath (or sources) somehow. stubs_defaults { name: "android-non-updatable-stubs-defaults", - defaults: ["framework-minus-apex-aconfig-declarations"], + aconfig_declarations: ["framework-minus-apex-aconfig-declarations"], srcs: [":android-non-updatable-stub-sources"], sdk_version: "none", system_modules: "none", -- cgit v1.2.3-59-g8ed1b