Merge "framework-wifi: Move java_api_finder plugin to build rule with srcs"
diff --git a/wifi/Android.bp b/wifi/Android.bp
index 8fc8af9..dae04c6 100644
--- a/wifi/Android.bp
+++ b/wifi/Android.bp
@@ -91,6 +91,8 @@
     srcs: [
         ":framework-wifi-updatable-sources",
     ],
+    // java_api_finder must accompany `srcs`
+    plugins: ["java_api_finder"],
     installable: false,
     visibility: [
         "//frameworks/opt/net/wifi/service",
@@ -128,7 +130,6 @@
         "com.android.wifi",
         "test_com.android.wifi",
     ],
-    plugins: ["java_api_finder"],
 }
 
 droidstubs {