Loading system/bta/BUILD.gn +2 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,8 @@ static_library("bta") { "sys/bta_sys_conn.cc", "sys/bta_sys_main.cc", "sys/utl.cc", "vc/device.cc", "vc/vc.cc", ] include_dirs = [ Loading system/btif/BUILD.gn +1 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ static_library("btif") { "src/btif_a2dp_control.cc", "src/btif_a2dp_sink.cc", "src/btif_a2dp_source.cc", "src/btif_activity_attribution.cc", "src/btif_av.cc", # TODO(abps) - Move this abstraction elsewhere Loading system/common/metrics_linux.cc +6 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,12 @@ void LogA2dpAudioOverrunEvent(const RawAddress& address, int num_dropped_encoded_frames, int num_dropped_encoded_bytes) {} void LogA2dpPlaybackEvent(const RawAddress& address, int playback_state, int audio_coding_mode) {} void LogBluetoothHalCrashReason(const RawAddress& address, uint32_t error_code, uint32_t vendor_error_code) {} void LogReadRssiResult(const RawAddress& address, uint16_t handle, uint32_t cmd_status, int8_t rssi) {} Loading system/gd/BUILD.gn +1 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ static_library("libbluetooth_gd") { "//bt/gd/common:BluetoothCommonSources", "//bt/gd/crypto_toolbox:BluetoothCryptoToolboxSources", "//bt/gd/dumpsys:BluetoothDumpsysSources", "//bt/gd/btaa:BluetoothBtaaSources_linux", "//bt/gd/hal:BluetoothHalSources", "//bt/gd/hal:BluetoothHalSources_hci_host", "//bt/gd/l2cap:BluetoothL2capSources", Loading system/gd/btaa/BUILD.gn 0 → 100644 +22 −0 Original line number Diff line number Diff line # # Copyright 2021 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # source_set("BluetoothBtaaSources_linux") { sources = [ "linux/activity_attribution.cc" ] configs += [ "//bt/gd:gd_defaults" ] deps = [ "//bt/gd:gd_default_deps" ] } Loading
system/bta/BUILD.gn +2 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,8 @@ static_library("bta") { "sys/bta_sys_conn.cc", "sys/bta_sys_main.cc", "sys/utl.cc", "vc/device.cc", "vc/vc.cc", ] include_dirs = [ Loading
system/btif/BUILD.gn +1 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ static_library("btif") { "src/btif_a2dp_control.cc", "src/btif_a2dp_sink.cc", "src/btif_a2dp_source.cc", "src/btif_activity_attribution.cc", "src/btif_av.cc", # TODO(abps) - Move this abstraction elsewhere Loading
system/common/metrics_linux.cc +6 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,12 @@ void LogA2dpAudioOverrunEvent(const RawAddress& address, int num_dropped_encoded_frames, int num_dropped_encoded_bytes) {} void LogA2dpPlaybackEvent(const RawAddress& address, int playback_state, int audio_coding_mode) {} void LogBluetoothHalCrashReason(const RawAddress& address, uint32_t error_code, uint32_t vendor_error_code) {} void LogReadRssiResult(const RawAddress& address, uint16_t handle, uint32_t cmd_status, int8_t rssi) {} Loading
system/gd/BUILD.gn +1 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ static_library("libbluetooth_gd") { "//bt/gd/common:BluetoothCommonSources", "//bt/gd/crypto_toolbox:BluetoothCryptoToolboxSources", "//bt/gd/dumpsys:BluetoothDumpsysSources", "//bt/gd/btaa:BluetoothBtaaSources_linux", "//bt/gd/hal:BluetoothHalSources", "//bt/gd/hal:BluetoothHalSources_hci_host", "//bt/gd/l2cap:BluetoothL2capSources", Loading
system/gd/btaa/BUILD.gn 0 → 100644 +22 −0 Original line number Diff line number Diff line # # Copyright 2021 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # source_set("BluetoothBtaaSources_linux") { sources = [ "linux/activity_attribution.cc" ] configs += [ "//bt/gd:gd_defaults" ] deps = [ "//bt/gd:gd_default_deps" ] }