Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1509)

Side by Side Diff: device/bluetooth/BUILD.gn

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/BUILD.gn ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import("//build/config/features.gni") 4 import("//build/config/features.gni")
5 5
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") # For generate_jni(). 7 import("//build/config/android/rules.gni") # For generate_jni().
8 } 8 }
9 9
10 config("bluetooth_config") { 10 config("bluetooth_config") {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "bluetooth_gatt_notify_session_android.cc", 72 "bluetooth_gatt_notify_session_android.cc",
73 "bluetooth_gatt_notify_session_android.h", 73 "bluetooth_gatt_notify_session_android.h",
74 "bluetooth_gatt_notify_session_win.cc", 74 "bluetooth_gatt_notify_session_win.cc",
75 "bluetooth_gatt_notify_session_win.h", 75 "bluetooth_gatt_notify_session_win.h",
76 "bluetooth_gatt_service.cc", 76 "bluetooth_gatt_service.cc",
77 "bluetooth_gatt_service.h", 77 "bluetooth_gatt_service.h",
78 "bluetooth_init_win.cc", 78 "bluetooth_init_win.cc",
79 "bluetooth_init_win.h", 79 "bluetooth_init_win.h",
80 "bluetooth_l2cap_channel_mac.h", 80 "bluetooth_l2cap_channel_mac.h",
81 "bluetooth_l2cap_channel_mac.mm", 81 "bluetooth_l2cap_channel_mac.mm",
82 "bluetooth_local_gatt_characteristic.cc",
83 "bluetooth_local_gatt_characteristic.h",
84 "bluetooth_local_gatt_descriptor.cc",
85 "bluetooth_local_gatt_descriptor.h",
86 "bluetooth_local_gatt_service.cc",
87 "bluetooth_local_gatt_service.h",
82 "bluetooth_low_energy_central_manager_delegate.h", 88 "bluetooth_low_energy_central_manager_delegate.h",
83 "bluetooth_low_energy_central_manager_delegate.mm", 89 "bluetooth_low_energy_central_manager_delegate.mm",
84 "bluetooth_low_energy_defs_win.cc", 90 "bluetooth_low_energy_defs_win.cc",
85 "bluetooth_low_energy_defs_win.h", 91 "bluetooth_low_energy_defs_win.h",
86 "bluetooth_low_energy_device_mac.h", 92 "bluetooth_low_energy_device_mac.h",
87 "bluetooth_low_energy_device_mac.mm", 93 "bluetooth_low_energy_device_mac.mm",
88 "bluetooth_low_energy_discovery_manager_mac.h", 94 "bluetooth_low_energy_discovery_manager_mac.h",
89 "bluetooth_low_energy_discovery_manager_mac.mm", 95 "bluetooth_low_energy_discovery_manager_mac.mm",
90 "bluetooth_low_energy_win.cc", 96 "bluetooth_low_energy_win.cc",
91 "bluetooth_low_energy_win.h", 97 "bluetooth_low_energy_win.h",
98 "bluetooth_remote_gatt_characteristic.cc",
99 "bluetooth_remote_gatt_characteristic.h",
92 "bluetooth_remote_gatt_characteristic_android.cc", 100 "bluetooth_remote_gatt_characteristic_android.cc",
93 "bluetooth_remote_gatt_characteristic_android.h", 101 "bluetooth_remote_gatt_characteristic_android.h",
94 "bluetooth_remote_gatt_characteristic_win.cc", 102 "bluetooth_remote_gatt_characteristic_win.cc",
95 "bluetooth_remote_gatt_characteristic_win.h", 103 "bluetooth_remote_gatt_characteristic_win.h",
104 "bluetooth_remote_gatt_descriptor.cc",
105 "bluetooth_remote_gatt_descriptor.h",
96 "bluetooth_remote_gatt_descriptor_android.cc", 106 "bluetooth_remote_gatt_descriptor_android.cc",
97 "bluetooth_remote_gatt_descriptor_android.h", 107 "bluetooth_remote_gatt_descriptor_android.h",
98 "bluetooth_remote_gatt_descriptor_win.cc", 108 "bluetooth_remote_gatt_descriptor_win.cc",
99 "bluetooth_remote_gatt_descriptor_win.h", 109 "bluetooth_remote_gatt_descriptor_win.h",
110 "bluetooth_remote_gatt_service.cc",
111 "bluetooth_remote_gatt_service.h",
100 "bluetooth_remote_gatt_service_android.cc", 112 "bluetooth_remote_gatt_service_android.cc",
101 "bluetooth_remote_gatt_service_android.h", 113 "bluetooth_remote_gatt_service_android.h",
102 "bluetooth_remote_gatt_service_win.cc", 114 "bluetooth_remote_gatt_service_win.cc",
103 "bluetooth_remote_gatt_service_win.h", 115 "bluetooth_remote_gatt_service_win.h",
104 "bluetooth_rfcomm_channel_mac.h", 116 "bluetooth_rfcomm_channel_mac.h",
105 "bluetooth_rfcomm_channel_mac.mm", 117 "bluetooth_rfcomm_channel_mac.mm",
106 "bluetooth_service_record_win.cc", 118 "bluetooth_service_record_win.cc",
107 "bluetooth_service_record_win.h", 119 "bluetooth_service_record_win.h",
108 "bluetooth_socket.cc", 120 "bluetooth_socket.cc",
109 "bluetooth_socket.h", 121 "bluetooth_socket.h",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 # crashes. 165 # crashes.
154 "Bthprops.lib", 166 "Bthprops.lib",
155 "BluetoothApis.lib", 167 "BluetoothApis.lib",
156 "setupapi.lib", 168 "setupapi.lib",
157 ] 169 ]
158 } 170 }
159 171
160 if (is_chromeos || is_linux) { 172 if (is_chromeos || is_linux) {
161 if (use_dbus) { 173 if (use_dbus) {
162 sources += [ 174 sources += [
163 "bluetooth_adapter_bluez.cc", 175 "bluez/bluetooth_adapter_bluez.cc",
164 "bluetooth_adapter_bluez.h", 176 "bluez/bluetooth_adapter_bluez.h",
165 "bluetooth_adapter_profile_bluez.cc", 177 "bluez/bluetooth_adapter_profile_bluez.cc",
166 "bluetooth_adapter_profile_bluez.h", 178 "bluez/bluetooth_adapter_profile_bluez.h",
167 "bluetooth_advertisement_bluez.cc", 179 "bluez/bluetooth_advertisement_bluez.cc",
168 "bluetooth_advertisement_bluez.h", 180 "bluez/bluetooth_advertisement_bluez.h",
169 "bluetooth_audio_sink_bluez.cc", 181 "bluez/bluetooth_audio_sink_bluez.cc",
170 "bluetooth_audio_sink_bluez.h", 182 "bluez/bluetooth_audio_sink_bluez.h",
171 "bluetooth_device_bluez.cc", 183 "bluez/bluetooth_device_bluez.cc",
172 "bluetooth_device_bluez.h", 184 "bluez/bluetooth_device_bluez.h",
173 "bluetooth_gatt_characteristic_bluez.cc", 185 "bluez/bluetooth_gatt_characteristic_bluez.cc",
174 "bluetooth_gatt_characteristic_bluez.h", 186 "bluez/bluetooth_gatt_characteristic_bluez.h",
175 "bluetooth_gatt_connection_bluez.cc", 187 "bluez/bluetooth_gatt_connection_bluez.cc",
176 "bluetooth_gatt_connection_bluez.h", 188 "bluez/bluetooth_gatt_connection_bluez.h",
177 "bluetooth_gatt_descriptor_bluez.cc", 189 "bluez/bluetooth_gatt_descriptor_bluez.cc",
178 "bluetooth_gatt_descriptor_bluez.h", 190 "bluez/bluetooth_gatt_descriptor_bluez.h",
179 "bluetooth_gatt_notify_session_bluez.cc", 191 "bluez/bluetooth_gatt_notify_session_bluez.cc",
180 "bluetooth_gatt_notify_session_bluez.h", 192 "bluez/bluetooth_gatt_notify_session_bluez.h",
181 "bluetooth_gatt_service_bluez.cc", 193 "bluez/bluetooth_gatt_service_bluez.cc",
182 "bluetooth_gatt_service_bluez.h", 194 "bluez/bluetooth_gatt_service_bluez.h",
183 "bluetooth_local_gatt_characteristic_bluez.cc", 195 "bluez/bluetooth_local_gatt_characteristic_bluez.cc",
184 "bluetooth_local_gatt_characteristic_bluez.h", 196 "bluez/bluetooth_local_gatt_characteristic_bluez.h",
185 "bluetooth_local_gatt_service_bluez.cc", 197 "bluez/bluetooth_local_gatt_descriptor_bluez.cc",
186 "bluetooth_local_gatt_service_bluez.h", 198 "bluez/bluetooth_local_gatt_descriptor_bluez.h",
187 "bluetooth_pairing_bluez.cc", 199 "bluez/bluetooth_local_gatt_service_bluez.cc",
188 "bluetooth_pairing_bluez.h", 200 "bluez/bluetooth_local_gatt_service_bluez.h",
189 "bluetooth_remote_gatt_characteristic_bluez.cc", 201 "bluez/bluetooth_pairing_bluez.cc",
190 "bluetooth_remote_gatt_characteristic_bluez.h", 202 "bluez/bluetooth_pairing_bluez.h",
191 "bluetooth_remote_gatt_service_bluez.cc", 203 "bluez/bluetooth_remote_gatt_characteristic_bluez.cc",
192 "bluetooth_remote_gatt_service_bluez.h", 204 "bluez/bluetooth_remote_gatt_characteristic_bluez.h",
193 "bluetooth_socket_bluez.cc", 205 "bluez/bluetooth_remote_gatt_descriptor_bluez.cc",
194 "bluetooth_socket_bluez.h", 206 "bluez/bluetooth_remote_gatt_descriptor_bluez.h",
207 "bluez/bluetooth_remote_gatt_service_bluez.cc",
208 "bluez/bluetooth_remote_gatt_service_bluez.h",
209 "bluez/bluetooth_socket_bluez.cc",
210 "bluez/bluetooth_socket_bluez.h",
195 "dbus/bluetooth_adapter_client.cc", 211 "dbus/bluetooth_adapter_client.cc",
196 "dbus/bluetooth_adapter_client.h", 212 "dbus/bluetooth_adapter_client.h",
197 "dbus/bluetooth_agent_manager_client.cc", 213 "dbus/bluetooth_agent_manager_client.cc",
198 "dbus/bluetooth_agent_manager_client.h", 214 "dbus/bluetooth_agent_manager_client.h",
199 "dbus/bluetooth_agent_service_provider.cc", 215 "dbus/bluetooth_agent_service_provider.cc",
200 "dbus/bluetooth_agent_service_provider.h", 216 "dbus/bluetooth_agent_service_provider.h",
201 "dbus/bluetooth_dbus_client_bundle.cc", 217 "dbus/bluetooth_dbus_client_bundle.cc",
202 "dbus/bluetooth_dbus_client_bundle.h", 218 "dbus/bluetooth_dbus_client_bundle.h",
203 "dbus/bluetooth_device_client.cc", 219 "dbus/bluetooth_device_client.cc",
204 "dbus/bluetooth_device_client.h", 220 "dbus/bluetooth_device_client.h",
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 jni_package = "bluetooth" 359 jni_package = "bluetooth"
344 } 360 }
345 361
346 android_library("java") { 362 android_library("java") {
347 java_files = java_sources_needing_jni 363 java_files = java_sources_needing_jni
348 deps = [ 364 deps = [
349 "//base:base_java", 365 "//base:base_java",
350 ] 366 ]
351 } 367 }
352 } 368 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698