2 # Copyright 2015 Google
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at:
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 source_set("service") {
24 "common/bluetooth/a2dp_codec_config.cc",
25 "common/bluetooth/adapter_state.cc",
26 "common/bluetooth/advertise_data.cc",
27 "common/bluetooth/advertise_settings.cc",
28 "common/bluetooth/avrcp_int_value.cc",
29 "common/bluetooth/avrcp_media_attr.cc",
30 "common/bluetooth/avrcp_register_notification_response.cc",
31 "common/bluetooth/characteristic.cc",
32 "common/bluetooth/descriptor.cc",
33 "common/bluetooth/remote_device_props.cc",
34 "common/bluetooth/scan_filter.cc",
35 "common/bluetooth/scan_result.cc",
36 "common/bluetooth/scan_settings.cc",
37 "common/bluetooth/service.cc",
38 "common/bluetooth/util/atomic_string.cc",
43 "hal/bluetooth_gatt_interface.cc",
44 "hal/bluetooth_interface.cc",
45 "ipc/dbus/bluetooth_adapter.cc",
46 "ipc/dbus/ipc_handler_dbus.cc",
47 "hal/bluetooth_av_interface.cc",
48 "hal/bluetooth_avrcp_interface.cc",
49 "hal/fake_bluetooth_gatt_interface.cc",
50 "hal/fake_bluetooth_interface.cc",
52 "ipc/ipc_handler_linux.cc",
54 "ipc/linux_ipc_host.cc",
56 "low_energy_advertiser.cc",
57 "low_energy_scanner.cc",
58 "low_energy_client.cc",
67 "//third_party/modp_b64/modp64",
73 "//third_party/libchrome:base",
77 executable("bluetoothtbd") {
85 "//third_party/libchrome:base",
86 "//third_party/modp_b64",
89 include_dirs = [ "//" ]
98 executable("service_unittests") {
101 "test/fake_hal_util.cc",
102 "test/settings_unittest.cc",
105 include_dirs = [ "//" ]
109 "//third_party/googletest:gmock_main",
110 "//third_party/libchrome:base",
111 "//third_party/modp_b64",