Export Wifi Parcelables AIDLs from framework.jar
Add Wifi public/@SystemApi Parcelable AIDLs to
framework.jar AIDL exports so that they can be
referenced outside the Wifi module.
Create a new folder "aidl-export" to separate
the AIDLs we want to export to allow external
callers to reference in their AIDL. Private AIDLs
remain in the "java" folder.
Bug: 140299412
Test: compiles
Change-Id: I4e0dc1119bf2b49865c9b5cdf23c571528228902
diff --git a/wifi/Android.bp b/wifi/Android.bp
index 099cbff..8fc8af9 100644
--- a/wifi/Android.bp
+++ b/wifi/Android.bp
@@ -12,9 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+filegroup {
+ name: "framework-wifi-updatable-exported-aidl-sources",
+ srcs: ["aidl-export/**/*.aidl"],
+ path: "aidl-export",
+ visibility: ["//visibility:private"],
+}
filegroup {
- name: "framework-wifi-updatable-sources",
+ name: "framework-wifi-updatable-java-sources",
srcs: [
"java/**/*.java",
"java/**/*.aidl",
@@ -23,6 +29,15 @@
":framework-wifi-non-updatable-sources"
],
path: "java",
+ visibility: ["//visibility:private"],
+}
+
+filegroup {
+ name: "framework-wifi-updatable-sources",
+ srcs: [
+ ":framework-wifi-updatable-java-sources",
+ ":framework-wifi-updatable-exported-aidl-sources",
+ ],
}
filegroup {