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: I1aeb65b651f9097fa72212ca5cce9fb679b5a779
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 83b8021..c130087 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -69,7 +69,7 @@
"TextOutput.cpp",
"IpPrefix.cpp",
"Value.cpp",
- "aidl/android/content/pm/IPackageManagerNative.aidl",
+ ":libbinder_aidl",
],
aidl: {
@@ -108,4 +108,12 @@
},
}
+// AIDL interface between libbinder and framework.jar
+filegroup {
+ name: "libbinder_aidl",
+ srcs: [
+ "aidl/android/content/pm/IPackageManagerNative.aidl",
+ ],
+}
+
subdirs = ["tests"]