diff options
author | Chalard Jean <jchalard@google.com> | 2021-04-26 20:48:11 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2021-04-28 23:04:53 +0900 |
commit | 4d8a34d32202069b36ef8a543aabf7e8af8a4d56 (patch) | |
tree | deecaea8fd390b3a793a5aff0d8fcccfba3eac6c | |
parent | 28acefc8ee1d91f5de80c41636b29ac476596a3b (diff) |
Allow usage of SdkLevel in the framework/wifi services
This is necessary for EthernetNetworkFactory because it uses
the static lib NetworkFactory which needs to test where it runs.
Wifi services also need this for its own factories.
Bug: 183902758
Test: ClientModeImplTest
OemWifiNetworkFactoryTest
TelephonyNetworkFactoryTest
UntrustedWifiNetworkFactoryTest
WifiNetworkFactoryTest
Change-Id: I73cc38d7857934fe50995c666915662de4c154ce
-rw-r--r-- | services/net/Android.bp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/net/Android.bp b/services/net/Android.bp index 800f7addbd65..f92db86bb880 100644 --- a/services/net/Android.bp +++ b/services/net/Android.bp @@ -52,7 +52,8 @@ java_library { libs: [ "unsupportedappusage", "framework-wifi-util-lib", - "framework-connectivity" + "framework-connectivity", + "modules-utils-build_system", ], static_libs: [ // All the classes in netd_aidl_interface must be jarjar so they do not conflict with the @@ -60,6 +61,7 @@ java_library { "netd_aidl_interface-V3-java", "netlink-client", "networkstack-client", + "modules-utils-build_system", ], apex_available: [ "com.android.wifi", @@ -80,7 +82,7 @@ filegroup { ], visibility: [ "//frameworks/base/packages/Tethering", - "//packages/modules/Connectivity/Tethering" + "//packages/modules/Connectivity/Tethering", ], } |