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

Unified Diff: device/bluetooth/BUILD.gn

Issue 1347193004: Refactor DBusThreadManager to split away BT clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_service_provider.cc ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/BUILD.gn
diff --git a/device/bluetooth/BUILD.gn b/device/bluetooth/BUILD.gn
index cb8f293596a417eed2a0b6b2d827a1b58aa6f6d2..69da108b9b7357b6499f0155d86d510dfe60b8aa 100644
--- a/device/bluetooth/BUILD.gn
+++ b/device/bluetooth/BUILD.gn
@@ -157,6 +157,95 @@ component("bluetooth") {
if (is_win) {
libs = [ "setupapi.lib" ]
}
+
+ # This block will also build for Linux once we write the linux
+ # implementation of BluezDbusManager.
+ if (is_chromeos) {
+ defines += [ "DEVICE_BLUETOOTH_IMPLEMENTATION" ]
+ sources += [
+ "dbus/bluetooth_adapter_client.cc",
+ "dbus/bluetooth_adapter_client.h",
+ "dbus/bluetooth_agent_manager_client.cc",
+ "dbus/bluetooth_agent_manager_client.h",
+ "dbus/bluetooth_agent_service_provider.cc",
+ "dbus/bluetooth_agent_service_provider.h",
+ "dbus/bluetooth_dbus_client_bundle.cc",
+ "dbus/bluetooth_dbus_client_bundle.h",
+ "dbus/bluetooth_device_client.cc",
+ "dbus/bluetooth_device_client.h",
+ "dbus/bluetooth_gatt_characteristic_client.cc",
+ "dbus/bluetooth_gatt_characteristic_client.h",
+ "dbus/bluetooth_gatt_characteristic_service_provider.cc",
+ "dbus/bluetooth_gatt_characteristic_service_provider.h",
+ "dbus/bluetooth_gatt_descriptor_client.cc",
+ "dbus/bluetooth_gatt_descriptor_client.h",
+ "dbus/bluetooth_gatt_descriptor_service_provider.cc",
+ "dbus/bluetooth_gatt_descriptor_service_provider.h",
+ "dbus/bluetooth_gatt_manager_client.cc",
+ "dbus/bluetooth_gatt_manager_client.h",
+ "dbus/bluetooth_gatt_service_client.cc",
+ "dbus/bluetooth_gatt_service_client.h",
+ "dbus/bluetooth_gatt_service_service_provider.cc",
+ "dbus/bluetooth_gatt_service_service_provider.h",
+ "dbus/bluetooth_input_client.cc",
+ "dbus/bluetooth_input_client.h",
+ "dbus/bluetooth_le_advertisement_service_provider.cc",
+ "dbus/bluetooth_le_advertisement_service_provider.h",
+ "dbus/bluetooth_le_advertising_manager_client.cc",
+ "dbus/bluetooth_le_advertising_manager_client.h",
+ "dbus/bluetooth_media_client.cc",
+ "dbus/bluetooth_media_client.h",
+ "dbus/bluetooth_media_endpoint_service_provider.cc",
+ "dbus/bluetooth_media_endpoint_service_provider.h",
+ "dbus/bluetooth_media_transport_client.cc",
+ "dbus/bluetooth_media_transport_client.h",
+ "dbus/bluetooth_profile_manager_client.cc",
+ "dbus/bluetooth_profile_manager_client.h",
+ "dbus/bluetooth_profile_service_provider.cc",
+ "dbus/bluetooth_profile_service_provider.h",
+ "dbus/bluez_dbus_client.h",
+ "dbus/bluez_dbus_manager.cc",
+ "dbus/bluez_dbus_manager.h",
+ "dbus/fake_bluetooth_adapter_client.cc",
+ "dbus/fake_bluetooth_adapter_client.h",
+ "dbus/fake_bluetooth_agent_manager_client.cc",
+ "dbus/fake_bluetooth_agent_manager_client.h",
+ "dbus/fake_bluetooth_agent_service_provider.cc",
+ "dbus/fake_bluetooth_agent_service_provider.h",
+ "dbus/fake_bluetooth_device_client.cc",
+ "dbus/fake_bluetooth_device_client.h",
+ "dbus/fake_bluetooth_gatt_characteristic_client.cc",
+ "dbus/fake_bluetooth_gatt_characteristic_client.h",
+ "dbus/fake_bluetooth_gatt_characteristic_service_provider.cc",
+ "dbus/fake_bluetooth_gatt_characteristic_service_provider.h",
+ "dbus/fake_bluetooth_gatt_descriptor_client.cc",
+ "dbus/fake_bluetooth_gatt_descriptor_client.h",
+ "dbus/fake_bluetooth_gatt_descriptor_service_provider.cc",
+ "dbus/fake_bluetooth_gatt_descriptor_service_provider.h",
+ "dbus/fake_bluetooth_gatt_manager_client.cc",
+ "dbus/fake_bluetooth_gatt_manager_client.h",
+ "dbus/fake_bluetooth_gatt_service_client.cc",
+ "dbus/fake_bluetooth_gatt_service_client.h",
+ "dbus/fake_bluetooth_gatt_service_service_provider.cc",
+ "dbus/fake_bluetooth_gatt_service_service_provider.h",
+ "dbus/fake_bluetooth_input_client.cc",
+ "dbus/fake_bluetooth_input_client.h",
+ "dbus/fake_bluetooth_le_advertisement_service_provider.cc",
+ "dbus/fake_bluetooth_le_advertisement_service_provider.h",
+ "dbus/fake_bluetooth_le_advertising_manager_client.cc",
+ "dbus/fake_bluetooth_le_advertising_manager_client.h",
+ "dbus/fake_bluetooth_media_client.cc",
+ "dbus/fake_bluetooth_media_client.h",
+ "dbus/fake_bluetooth_media_endpoint_service_provider.cc",
+ "dbus/fake_bluetooth_media_endpoint_service_provider.h",
+ "dbus/fake_bluetooth_media_transport_client.cc",
+ "dbus/fake_bluetooth_media_transport_client.h",
+ "dbus/fake_bluetooth_profile_manager_client.cc",
+ "dbus/fake_bluetooth_profile_manager_client.h",
+ "dbus/fake_bluetooth_profile_service_provider.cc",
+ "dbus/fake_bluetooth_profile_service_provider.h",
+ ]
+ }
}
static_library("mocks") {
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_service_provider.cc ('k') | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698