Export AIDL files as a filegroup framework.jar
Put AIDL files into a filegroup so they can be imported as sources
for framework.jar.
Test: m checkbuild
Change-Id: Ie3ff041f58fb86c42e5c31b8bed7dfe2c2f9b6f2
diff --git a/binder/Android.bp b/binder/Android.bp
index 75b6e2e..d414dce 100644
--- a/binder/Android.bp
+++ b/binder/Android.bp
@@ -77,3 +77,40 @@
"-Wno-unused-parameter",
],
}
+
+// AIDL interface between libbluetooth-binder and framework.jar
+filegroup {
+ name: "libbluetooth-binder-aidl",
+ srcs: [
+ "android/bluetooth/IBluetooth.aidl",
+ "android/bluetooth/IBluetoothA2dp.aidl",
+ "android/bluetooth/IBluetoothA2dpSink.aidl",
+ "android/bluetooth/IBluetoothAvrcpController.aidl",
+ "android/bluetooth/IBluetoothCallback.aidl",
+ "android/bluetooth/IBluetoothProfileServiceConnection.aidl",
+ "android/bluetooth/IBluetoothHeadset.aidl",
+ "android/bluetooth/IBluetoothHeadsetPhone.aidl",
+ "android/bluetooth/IBluetoothHealth.aidl",
+ "android/bluetooth/IBluetoothHealthCallback.aidl",
+ "android/bluetooth/IBluetoothHidHost.aidl",
+ "android/bluetooth/IBluetoothPan.aidl",
+ "android/bluetooth/IBluetoothManager.aidl",
+ "android/bluetooth/IBluetoothManagerCallback.aidl",
+ "android/bluetooth/IBluetoothMap.aidl",
+ "android/bluetooth/IBluetoothMapClient.aidl",
+ "android/bluetooth/IBluetoothPbap.aidl",
+ "android/bluetooth/IBluetoothPbapClient.aidl",
+ "android/bluetooth/IBluetoothSap.aidl",
+ "android/bluetooth/IBluetoothSocketManager.aidl",
+ "android/bluetooth/IBluetoothStateChangeCallback.aidl",
+ "android/bluetooth/IBluetoothHeadsetClient.aidl",
+ "android/bluetooth/IBluetoothHidDevice.aidl",
+ "android/bluetooth/IBluetoothHidDeviceCallback.aidl",
+ "android/bluetooth/IBluetoothGatt.aidl",
+ "android/bluetooth/IBluetoothGattCallback.aidl",
+ "android/bluetooth/IBluetoothGattServerCallback.aidl",
+ "android/bluetooth/le/IAdvertisingSetCallback.aidl",
+ "android/bluetooth/le/IPeriodicAdvertisingCallback.aidl",
+ "android/bluetooth/le/IScannerCallback.aidl",
+ ],
+}