From 02b94faf80e12fb8232db1485b03454b6d73ce3b Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Wed, 24 Mar 2021 22:50:35 +0900 Subject: [PATCH] Reference framework-connectivity stubs explicitly To merge the framework-connectivity and framework-connectivity.impl targets, framework-connectivity stubs need to be referenced explicitly in java_sdk_libraries, otherwise the build system will currently see dependency cycles. Bug: 183600168 Test: m Ignore-AOSP-First: Needs manual cherry-picks Change-Id: I556747f9ba934f8b44b6ea9a518adbccc84ac2a9 --- Tethering/common/TetheringLib/Android.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tethering/common/TetheringLib/Android.bp b/Tethering/common/TetheringLib/Android.bp index b141eaea8c..6bff61668e 100644 --- a/Tethering/common/TetheringLib/Android.bp +++ b/Tethering/common/TetheringLib/Android.bp @@ -26,8 +26,8 @@ java_sdk_library { ], srcs: [":framework-tethering-srcs"], - libs: ["framework-connectivity"], - stub_only_libs: ["framework-connectivity"], + libs: ["framework-connectivity.stubs.module_lib"], + stub_only_libs: ["framework-connectivity.stubs.module_lib"], aidl: { include_dirs: [ "frameworks/base/packages/Connectivity/framework/aidl-export",