summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author William Escande <wescande@google.com> 2024-07-10 14:22:34 -0700
committer William Escande <wescande@google.com> 2024-07-10 14:22:34 -0700
commitbf2003792ef1ca93f35ce2ca1bf260f85f453e6e (patch)
tree3075bf513e99eba2733682629a02b0502d9be620
parent0a872fc9843c6b31944140f5a99f2612ed903616 (diff)
fix dependency on modules-utils-build
net-utils-services-common used to include modules-utils-build as a static lib, but this has the issues of forcing lib depending on it to also have the modules-utils-build. When trying to add this lib to a framework library within the same apex, it fail the StrictJavaPackagesTest. By moving the responsibilities to link it to the caller we no longer have the initial issue Bug: 343121936 Test: Build target using net-utils-services-common Test: atest StrictJavaPackagesTest Flag: Exempt simple dependency fix Change-Id: I09a741b8f4d6271d8ce6942c0e0d85d27b46df8d
-rw-r--r--services/net/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/net/Android.bp b/services/net/Android.bp
index 3d40f6445834..927146db0a24 100644
--- a/services/net/Android.bp
+++ b/services/net/Android.bp
@@ -21,6 +21,7 @@ java_library_static {
":services.net-sources",
],
static_libs: [
+ "modules-utils-build_system",
"netd-client",
"networkstack-client",
"net-utils-services-common",