Export AIDL files as a filegroup for framework.jar
Put AIDL files into a filegroup so they can be imported as sources
for framework.jar.
Bug: 69917341
Test: m checkbuild
Change-Id: I22e765ccf88832b1b192b42b2161898d9a6e5b2c
diff --git a/Android.bp b/Android.bp
index 5941cd9..db761e4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,9 +65,7 @@
defaults: ["vold_default_flags"],
srcs: [
- "binder/android/os/IVold.aidl",
- "binder/android/os/IVoldListener.aidl",
- "binder/android/os/IVoldTaskListener.aidl",
+ ":vold_aidl",
],
shared_libs: [
"libbinder",
@@ -187,4 +185,13 @@
],
}
+filegroup {
+ name: "vold_aidl",
+ srcs: [
+ "binder/android/os/IVold.aidl",
+ "binder/android/os/IVoldListener.aidl",
+ "binder/android/os/IVoldTaskListener.aidl",
+ ],
+}
+
subdirs = ["tests"]