Jakub Pawlowski | 0a5d9eb | 2017-08-08 04:00:13 -0700 | [diff] [blame^] | 1 | cc_library_shared { |
| 2 | name: "bluetooth_binder_interface", |
| 3 | srcs: [ |
| 4 | /* TODO: Uncomment this files as they get converted one-by-one into native implementation |
| 5 | "android/bluetooth/IBluetooth.aidl", |
| 6 | "android/bluetooth/IBluetoothA2dp.aidl", |
| 7 | "android/bluetooth/IBluetoothA2dpSink.aidl", |
| 8 | "android/bluetooth/IBluetoothAvrcpController.aidl", |
| 9 | "android/bluetooth/IBluetoothCallback.aidl", |
| 10 | "android/bluetooth/IBluetoothProfileServiceConnection.aidl", |
| 11 | "android/bluetooth/IBluetoothHeadset.aidl", |
| 12 | "android/bluetooth/IBluetoothHeadsetPhone.aidl", |
| 13 | "android/bluetooth/IBluetoothHealth.aidl", |
| 14 | "android/bluetooth/IBluetoothHealthCallback.aidl", |
| 15 | "android/bluetooth/IBluetoothInputDevice.aidl", |
| 16 | "android/bluetooth/IBluetoothPan.aidl", |
| 17 | "android/bluetooth/IBluetoothManager.aidl", |
| 18 | "android/bluetooth/IBluetoothManagerCallback.aidl", |
| 19 | "android/bluetooth/IBluetoothMap.aidl", |
| 20 | "android/bluetooth/IBluetoothMapClient.aidl", |
| 21 | "android/bluetooth/IBluetoothPbap.aidl", |
| 22 | "android/bluetooth/IBluetoothPbapClient.aidl", |
| 23 | "android/bluetooth/IBluetoothSap.aidl", |
| 24 | "android/bluetooth/IBluetoothStateChangeCallback.aidl", |
| 25 | "android/bluetooth/IBluetoothHeadsetClient.aidl", |
| 26 | "android/bluetooth/IBluetoothInputHost.aidl", |
| 27 | "android/bluetooth/IBluetoothHidDeviceCallback.aidl", |
| 28 | "android/bluetooth/IBluetoothGatt.aidl", |
| 29 | "android/bluetooth/IBluetoothGattCallback.aidl", |
| 30 | "android/bluetooth/IBluetoothGattServerCallback.aidl", |
| 31 | "android/bluetooth/le/IAdvertisingSetCallback.aidl", |
| 32 | "android/bluetooth/le/IPeriodicAdvertisingCallback.aidl", |
| 33 | "android/bluetooth/le/IScannerCallback.aidl" |
| 34 | */ |
| 35 | ], |
| 36 | aidl: { |
| 37 | export_aidl_headers: true, |
| 38 | include_dirs: [ |
| 39 | "frameworks/native/aidl/binder", |
| 40 | ], |
| 41 | }, |
| 42 | include_dirs: [ |
| 43 | "libnativehelper/include/nativehelper", |
| 44 | "system/bt/types", |
| 45 | ], |
| 46 | shared_libs: [ |
| 47 | "libandroid_runtime", |
| 48 | "libbinder", |
| 49 | "libchrome", |
| 50 | "libnativehelper", |
| 51 | "libcutils", |
| 52 | "libutils", |
| 53 | "liblog", |
| 54 | ], |
| 55 | |
| 56 | static_libs: [ |
| 57 | "libbluetooth-types", |
| 58 | ], |
| 59 | cflags: [ |
| 60 | "-Wall", |
| 61 | "-Wextra", |
| 62 | "-Wno-unused-parameter", |
| 63 | ], |
| 64 | } |