Mark netd_aidl_interfaces-platform-java as available to platform
The lib is depended on by services.net that is part of the platform.
With b/153073816, we will be checking the availability to the platform,
i.e. platform-available module depending on platform-unavailable module
causes a build error.
Prepare for the change by correctly marking that this interface lib is
available to the platform.
Exempt-From-Owner-Approval: cherry-pick from AOSP
Bug: 153073816
Test: m
Merged-In: I0bfbf822c4cd1c82408929d309938abfa147abd2
(cherry picked from commit 9ee86c06f8d624314c7ec27eb7ab4cb5639e62a9)
Change-Id: I0bfbf822c4cd1c82408929d309938abfa147abd2
diff --git a/server/Android.bp b/server/Android.bp
index 89ecda8..64a2816 100644
--- a/server/Android.bp
+++ b/server/Android.bp
@@ -80,6 +80,7 @@
],
// TODO: remove bluetooth, which doesn't actually use netd at all.
apex_available: [
+ "//apex_available:platform", // due to the dependency from services.net
"com.android.bluetooth.updatable",
],
sdk_version: "system_current",