| cc_library_shared { |
| name: "bluetooth_binder_interface", |
| srcs: [ |
| /* TODO: Uncomment this files as they get converted one-by-one into native implementation |
| "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/IBluetoothInputDevice.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/IBluetoothStateChangeCallback.aidl", |
| "android/bluetooth/IBluetoothHeadsetClient.aidl", |
| "android/bluetooth/IBluetoothInputHost.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" |
| */ |
| ], |
| aidl: { |
| export_aidl_headers: true, |
| include_dirs: [ |
| "frameworks/native/aidl/binder", |
| ], |
| }, |
| include_dirs: [ |
| "libnativehelper/include/nativehelper", |
| "packages/modules/Bluetooth/system/types", |
| ], |
| shared_libs: [ |
| "libandroid_runtime", |
| "libbinder", |
| "libchrome", |
| "libnativehelper", |
| "libcutils", |
| "libutils", |
| "liblog", |
| ], |
| |
| static_libs: [ |
| "libbluetooth-types", |
| ], |
| cflags: [ |
| "-Wall", |
| "-Wextra", |
| "-Wno-unused-parameter", |
| ], |
| } |