diff options
| author | 2021-11-11 00:42:55 +0800 | |
|---|---|---|
| committer | 2021-11-12 23:13:18 +0800 | |
| commit | cd813a30edac3785d5c36de54ff4ed739ab39f97 (patch) | |
| tree | 71c1b73f7dfea83b61ac0b7d9171120ebb810595 | |
| parent | c2cd376f6fdec79d12570a3ae349294b086b7dc2 (diff) | |
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
| -rw-r--r-- | Android.bp | 1 | ||||
| -rw-r--r-- | StubLibraries.bp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 00b419897f34..8e851db53979 100644 --- a/Android.bp +++ b/Android.bp @@ -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, diff --git a/StubLibraries.bp b/StubLibraries.bp index 44c55c26153d..d090296523ed 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -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", |