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") { |