From 6297b730d263853fa08ae8a9c50fb6ba20b78962 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Tue, 27 Oct 2020 18:01:12 +0900 Subject: [PATCH] Add apex_available to libnetutils The library is included by the tethering module, and was allowlisted for compatibility purposes, but needs to have the rule applied. Bug: 171540887 Test: m Change-Id: Ic02c559d6e82fb41c33ba723bd06ef708e7baaa9 --- libnetutils/Android.bp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libnetutils/Android.bp b/libnetutils/Android.bp index 65371fa63..eec24151f 100644 --- a/libnetutils/Android.bp +++ b/libnetutils/Android.bp @@ -21,6 +21,11 @@ cc_library_shared { cflags: ["-Werror"], export_include_dirs: ["include"], + // TODO: remove connectivity module dependency, or have this lib build against the ndk + apex_available: [ + "//apex_available:platform", + "com.android.tethering", + ], } cc_library_static {