Index: device/bluetooth/bluetooth.gyp |
diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp |
index 881a16092a1619183b0db1605808ac1ab5e4193c..5e4e8211918455ea9f6b98c79292e791edbeb160 100644 |
--- a/device/bluetooth/bluetooth.gyp |
+++ b/device/bluetooth/bluetooth.gyp |
@@ -129,6 +129,96 @@ |
'bluetooth_uuid.h', |
], |
'conditions': [ |
+ # This block will also build for Linux once we write the linux |
+ # implementation of BluezDbusManager. |
+ ['chromeos==1', { |
+ 'defines': [ |
+ 'DEVICE_BLUETOOTH_IMPLEMENTATION', |
+ ], |
+ 'sources': [ |
+ 'dbus/bluetooth_adapter_client.cc', |
+ 'dbus/bluetooth_adapter_client.h', |
+ 'dbus/bluetooth_le_advertising_manager_client.cc', |
+ 'dbus/bluetooth_le_advertising_manager_client.h', |
+ 'dbus/bluetooth_le_advertisement_service_provider.cc', |
+ 'dbus/bluetooth_le_advertisement_service_provider.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_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_le_advertising_manager_client.cc', |
+ 'dbus/fake_bluetooth_le_advertising_manager_client.h', |
+ 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', |
+ 'dbus/fake_bluetooth_le_advertisement_service_provider.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_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', |
+ ], |
+ }], |
['chromeos==1', { |
'dependencies': [ |
'../../build/linux/system.gyp:dbus', |