Compile android-non-updatable with framework-tethering module-lib stub

To resolve framework-tethering's module-lib for android-non-updatable
API, compile android-non-updatable with
sdk_module-lib_current_framework-tethering.

Bug: 205658040
Test: make update-api && make

Change-Id: Ib4bd0312f6c621ba19552a2608e47f9158b0fe25
This commit is contained in:
markchien
2021-11-11 00:42:55 +08:00
parent c2cd376f6f
commit cd813a30ed
2 changed files with 2 additions and 0 deletions

View File

@@ -566,6 +566,7 @@ stubs_defaults {
"android.hardware.vibrator-V1.3-java",
"framework-protos",
"art.module.public.api",
"sdk_module-lib_current_framework-tethering",
// There are a few classes from modules used by the core that
// need to be resolved by metalava. We use a prebuilt stub of the
// full sdk to ensure we can resolve them. If a new class gets added,

View File

@@ -318,6 +318,7 @@ java_library {
defaults: ["android-non-updatable_defaults_stubs_current"],
srcs: [":module-lib-api-stubs-docs-non-updatable"],
libs: [
"sdk_module-lib_current_framework-tethering",
"sdk_system_current_android",
// NOTE: The below can be removed once the prebuilt stub contains IKE.
"sdk_system_current_android.net.ipsec.ike",