1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 'target_name': 'device_bluetooth',
12 'type': 'static_library',
14 '../chrome/chrome_resources.gyp:chrome_strings',
15 '../third_party/libxml/libxml.gyp:libxml',
19 'bluetooth/bluetooth_adapter.cc',
20 'bluetooth/bluetooth_adapter.h',
21 'bluetooth/bluetooth_adapter_chromeos.cc',
22 'bluetooth/bluetooth_adapter_chromeos.h',
23 'bluetooth/bluetooth_adapter_factory.cc',
24 'bluetooth/bluetooth_adapter_factory.h',
25 'bluetooth/bluetooth_adapter_win.cc',
26 'bluetooth/bluetooth_adapter_win.h',
27 'bluetooth/bluetooth_device.cc',
28 'bluetooth/bluetooth_device.h',
29 'bluetooth/bluetooth_device_chromeos.cc',
30 'bluetooth/bluetooth_device_chromeos.h',
31 'bluetooth/bluetooth_device_win.cc',
32 'bluetooth/bluetooth_device_win.h',
33 'bluetooth/bluetooth_out_of_band_pairing_data.h',
34 'bluetooth/bluetooth_service_record.cc',
35 'bluetooth/bluetooth_service_record.h',
36 'bluetooth/bluetooth_socket.h',
37 'bluetooth/bluetooth_socket_chromeos.cc',
38 'bluetooth/bluetooth_socket_chromeos.h',
39 'bluetooth/bluetooth_socket_win.cc',
40 'bluetooth/bluetooth_socket_win.h',
41 'bluetooth/bluetooth_utils.cc',
42 'bluetooth/bluetooth_utils.h',
47 '../build/linux/system.gyp:dbus',
48 '../chromeos/chromeos.gyp:chromeos',
49 '../dbus/dbus.gyp:dbus',
53 'all_dependent_settings': {
57 # Despite MSDN stating that Bthprops.dll contains the
58 # symbols declared by bthprops.lib, they actually reside here:
68 'target_name': 'device_bluetooth_mocks',
69 'type': 'static_library',
72 '../testing/gmock.gyp:gmock',
75 'bluetooth/test/mock_bluetooth_adapter.cc',
76 'bluetooth/test/mock_bluetooth_adapter.h',
77 'bluetooth/test/mock_bluetooth_device.cc',
78 'bluetooth/test/mock_bluetooth_device.h',
79 'bluetooth/test/mock_bluetooth_socket.cc',
80 'bluetooth/test/mock_bluetooth_socket.h',
87 'target_name': 'device_usb',
88 'type': 'static_library',
98 'action_name': 'generate_usb_ids',
100 'usb_ids_path%': '<(DEPTH)/third_party/usb_ids/usb.ids',
101 'usb_ids_py_path': '<(DEPTH)/tools/usb_ids/usb_ids.py',
105 '<(usb_ids_py_path)',
108 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
112 '<(usb_ids_py_path)',
113 '-i', '<(usb_ids_path)',
114 '-o', '<@(_outputs)',
116 'process_outputs_as_sources': 1,
121 'target_name': 'device_unittests',
122 'type': '<(gtest_target_type)',
125 'device_bluetooth_mocks',
127 '../base/base.gyp:test_support_base',
128 '../content/content.gyp:test_support_content',
129 '../testing/gmock.gyp:gmock',
130 '../testing/gtest.gyp:gtest',
133 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
134 'bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc',
135 'bluetooth/bluetooth_adapter_win_unittest.cc',
136 'bluetooth/bluetooth_service_record_unittest.cc',
137 'bluetooth/bluetooth_utils_unittest.cc',
138 'test/device_test_suite.cc',
139 'test/device_test_suite.h',
140 'test/run_all_unittests.cc',
141 'usb/usb_ids_unittest.cc',
146 '../build/linux/system.gyp:dbus',
147 '../chromeos/chromeos.gyp:chromeos_test_support',
148 '../dbus/dbus.gyp:dbus',