OSDN Git Service

bluetoothtbd common library reconfiguration
authorJakub Pawlowski <jpawlowski@google.com>
Sat, 24 Jun 2017 22:25:07 +0000 (15:25 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 26 Jun 2017 17:49:48 +0000 (10:49 -0700)
commit5f88533feb20b72121667846c245c34db463974f
treed082f1319a828611c87ecc9034072ce0d4c921b9
parent6884c4c68b1c43bb2febeb6b506362614808f726
bluetoothtbd common library reconfiguration

This patch change how code in service/common directory is compiled. Up
till now, .cc files were generated from .aidl, and the .cc files were
build for each target that used them. From now on, static lib is build
from .aidl and .cc files, and it is included into all targets that
require them.

This reduces build steps from around 1240 to 849.

Test: compilation test
Change-Id: Iebaf0c75497bc435dcc013be09a1f82e75547aa3
19 files changed:
service/Android.bp
service/common/Android.bp [new file with mode: 0644]
service/common/README
service/common/android/bluetooth/advertise_data.cc
service/common/android/bluetooth/bluetooth_gatt_characteristic.cc
service/common/android/bluetooth/bluetooth_gatt_descriptor.cc
service/common/android/bluetooth/bluetooth_gatt_included_service.cc
service/common/android/bluetooth/bluetooth_gatt_service.cc
service/common/android/bluetooth/scan_filter.cc
service/common/android/bluetooth/scan_result.cc
service/common/android/bluetooth/scan_settings.cc
service/common/android/bluetooth/uuid.cc
service/common/bluetooth/adapter_state.cc
service/common/bluetooth/advertise_data.cc
service/common/bluetooth/advertise_settings.cc
service/common/bluetooth/scan_filter.cc
service/common/bluetooth/scan_result.cc
service/common/bluetooth/scan_settings.cc
service/common/bluetooth/uuid.cc