commit | 49bbfc92f94b30187b447b9bacfb1293cb16105f | [log] [tgz] |
---|---|---|
author | Jihoon Kang <jihoonkang@google.com> | Thu Jan 25 02:17:28 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Jan 25 02:17:28 2024 +0000 |
tree | 10271df3b427b0a53347f18e42903218dbd28ee5 | |
parent | bfb3a3c5b41a4323b117a9b3ff1305965fd5ebe0 [diff] |
Specify aconfig_declaration modules in java_sdk_library java_sdk_library modules should specify the aconfig_declarations modules in order to generate the exportable stubs (i.e. the stubs that exclude the disabled aconfig flags) by providing the information about the aconfig flag values. The exportable stubs will be used when generating the module sdk snapshots and to generate the hiddenapi flags, in order to prevent exposing the disabled apis in runtime. Test: m framework-connectivity-t Bug: 317290555 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60b21f877f88a6848ee6d0f0e5316362714b9d25) Merged-In: Ieb8f41921054ed6f62db2edfc7d695ba0a2a0055 Change-Id: Ieb8f41921054ed6f62db2edfc7d695ba0a2a0055
diff --git a/framework-t/Android.bp b/framework-t/Android.bp index c31dcf5..b90d99f 100644 --- a/framework-t/Android.bp +++ b/framework-t/Android.bp
@@ -191,6 +191,9 @@ "//packages/modules/NetworkStack/tests:__subpackages__", "//packages/modules/Wifi/service/tests/wifitests", ], + aconfig_declarations: [ + "com.android.net.flags-aconfig", + ], } // This rule is not used anymore(b/268440216).