OSDN Git Service

build: LOG_TAG consistency, include order, build fixes
authorMarie Janssen <jamuraa@google.com>
Wed, 8 Jul 2015 18:48:57 +0000 (11:48 -0700)
committerMarie Janssen <jamuraa@google.com>
Thu, 6 Aug 2015 22:05:28 +0000 (15:05 -0700)
commit49a86709488e5cfd5e23759da18bf9613e15b04d
tree07d4e40e324c729c012d79d6db421b5e632ce6f1
parent2fc0eba951081bddd15a3482f2189a9125dac48a
build: LOG_TAG consistency, include order, build fixes

Fix the order of includes across a bunch of files, and declare LOG_TAG
at the top of every file in which it is used.

Consistently use bt_ as a LOG_TAG prefix.
Fix issues with LOG macro usage.
Remove unused includes and double-includes (when in related .h)

Add includes as necessary to compile cleanly (problems surfaced by
reordering includes)

Change-Id: Ic55520c8302b06bbc1942c10c448b20844669da6
86 files changed:
bta/av/bta_av_act.c
bta/av/bta_av_main.c
bta/gatt/bta_gattc_act.c [changed mode: 0755->0644]
bta/gatt/bta_gattc_utils.c
bta/hh/bta_hh_api.c
btif/include/btif_gatt_util.h
btif/include/btif_hl.h
btif/include/btif_profile_queue.h
btif/include/btif_sm.h
btif/include/btif_sock_l2cap.h
btif/include/btif_sock_sdp.h
btif/include/btif_sock_thread.h
btif/include/btif_storage.h
btif/include/stack_manager.h
btif/src/bluetooth.c
btif/src/btif_av.c
btif/src/btif_config.c
btif/src/btif_dm.c
btif/src/btif_gatt.c
btif/src/btif_gatt_client.c
btif/src/btif_gatt_multi_adv_util.c
btif/src/btif_gatt_server.c
btif/src/btif_gatt_test.c
btif/src/btif_gatt_util.c
btif/src/btif_hf.c
btif/src/btif_hf_client.c
btif/src/btif_hh.c
btif/src/btif_hl.c
btif/src/btif_mce.c
btif/src/btif_profile_queue.c
btif/src/btif_rc.c
btif/src/btif_sdp.c
btif/src/btif_sdp_server.c
btif/src/btif_sm.c
btif/src/btif_sock_l2cap.c
btif/src/btif_sock_sdp.c
btif/src/btif_sock_thread.c
btif/src/btif_sock_util.c
btif/src/btif_storage.c
btif/src/btif_util.c
btif/src/stack_manager.c
device/src/classic/peer.c
device/src/controller.c
hci/include/hci_audio.h
hci/src/btsnoop_net.c
hci/src/hci_audio.c
hci/src/hci_inject.c
hci/src/hci_layer.c
hci/src/packet_fragmenter.c
hci/src/vendor.c
main/bte_logmsg.c
osi/include/fixed_queue.h
osi/src/alarm.c
osi/src/allocation_tracker.c
osi/src/array.c
osi/src/buffer.c
osi/src/config.c
osi/src/data_dispatcher.c
osi/src/eager_reader.c
osi/src/fixed_queue.c
osi/src/future.c
osi/src/reactor.c
osi/src/semaphore.c
osi/src/socket.c
osi/src/thread.c
service/a2dp_source.cpp
service/core_stack.cpp
service/gatt_server.cpp
service/ipc/unix_ipc_host.cpp
service/main.cpp
stack/btm/btm_ble.c
stack/btm/btm_ble_adv_filter.c
stack/btm/btm_ble_gap.c
stack/btm/btm_pm.c
stack/btm/btm_sec.c
stack/btu/btu_hcif.c
stack/btu/btu_init.c
stack/btu/btu_task.c
stack/include/avrc_defs.h
stack/l2cap/l2c_api.c
stack/l2cap/l2c_main.c
stack/l2cap/l2cap_client.c
stack/rfcomm/port_api.c
stack/srvc/srvc_dis.c
stack/srvc/srvc_dis_int.h
utils/src/bt_utils.c