OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
| 11 # GN version: //device/bluetooth |
11 'target_name': 'device_bluetooth', | 12 'target_name': 'device_bluetooth', |
12 'type': 'static_library', | 13 'type': 'static_library', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
15 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
16 '../../net/net.gyp:net', | 17 '../../net/net.gyp:net', |
17 '../../third_party/libxml/libxml.gyp:libxml', | 18 '../../third_party/libxml/libxml.gyp:libxml', |
18 '../../ui/base/ui_base.gyp:ui_base', | 19 '../../ui/base/ui_base.gyp:ui_base', |
19 '../../ui/gfx/gfx.gyp:gfx', | 20 '../../ui/gfx/gfx.gyp:gfx', |
20 '../../ui/gfx/gfx.gyp:gfx_geometry', | 21 '../../ui/gfx/gfx.gyp:gfx_geometry', |
21 'bluetooth_strings.gyp:device_bluetooth_strings', | 22 'bluetooth_strings.gyp:device_bluetooth_strings', |
22 ], | 23 ], |
23 'sources': [ | 24 'sources': [ |
| 25 # Note: file list duplicated in GN build. |
24 'bluetooth_adapter.cc', | 26 'bluetooth_adapter.cc', |
25 'bluetooth_adapter.h', | 27 'bluetooth_adapter.h', |
26 'bluetooth_adapter_chromeos.cc', | 28 'bluetooth_adapter_chromeos.cc', |
27 'bluetooth_adapter_chromeos.h', | 29 'bluetooth_adapter_chromeos.h', |
28 'bluetooth_adapter_factory.cc', | 30 'bluetooth_adapter_factory.cc', |
29 'bluetooth_adapter_factory.h', | 31 'bluetooth_adapter_factory.h', |
30 'bluetooth_adapter_mac.h', | 32 'bluetooth_adapter_mac.h', |
31 'bluetooth_adapter_mac.mm', | 33 'bluetooth_adapter_mac.mm', |
32 'bluetooth_adapter_win.cc', | 34 'bluetooth_adapter_win.cc', |
33 'bluetooth_adapter_win.h', | 35 'bluetooth_adapter_win.h', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ['OS=="mac"', { | 121 ['OS=="mac"', { |
120 'link_settings': { | 122 'link_settings': { |
121 'libraries': [ | 123 'libraries': [ |
122 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | 124 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', |
123 ], | 125 ], |
124 }, | 126 }, |
125 }], | 127 }], |
126 ], | 128 ], |
127 }, | 129 }, |
128 { | 130 { |
| 131 # GN version: //device/bluetooth:mocks |
129 'target_name': 'device_bluetooth_mocks', | 132 'target_name': 'device_bluetooth_mocks', |
130 'type': 'static_library', | 133 'type': 'static_library', |
131 'dependencies': [ | 134 'dependencies': [ |
132 '../../testing/gmock.gyp:gmock', | 135 '../../testing/gmock.gyp:gmock', |
133 'device_bluetooth', | 136 'device_bluetooth', |
134 ], | 137 ], |
135 'include_dirs': [ | 138 'include_dirs': [ |
136 '../../', | 139 '../../', |
137 ], | 140 ], |
138 'sources': [ | 141 'sources': [ |
| 142 # Note: file list duplicated in GN build. |
139 'test/mock_bluetooth_adapter.cc', | 143 'test/mock_bluetooth_adapter.cc', |
140 'test/mock_bluetooth_adapter.h', | 144 'test/mock_bluetooth_adapter.h', |
141 'test/mock_bluetooth_device.cc', | 145 'test/mock_bluetooth_device.cc', |
142 'test/mock_bluetooth_device.h', | 146 'test/mock_bluetooth_device.h', |
143 'test/mock_bluetooth_discovery_session.cc', | 147 'test/mock_bluetooth_discovery_session.cc', |
144 'test/mock_bluetooth_discovery_session.h', | 148 'test/mock_bluetooth_discovery_session.h', |
145 'test/mock_bluetooth_gatt_characteristic.cc', | 149 'test/mock_bluetooth_gatt_characteristic.cc', |
146 'test/mock_bluetooth_gatt_characteristic.h', | 150 'test/mock_bluetooth_gatt_characteristic.h', |
147 'test/mock_bluetooth_gatt_connection.cc', | 151 'test/mock_bluetooth_gatt_connection.cc', |
148 'test/mock_bluetooth_gatt_connection.h', | 152 'test/mock_bluetooth_gatt_connection.h', |
149 'test/mock_bluetooth_gatt_descriptor.cc', | 153 'test/mock_bluetooth_gatt_descriptor.cc', |
150 'test/mock_bluetooth_gatt_descriptor.h', | 154 'test/mock_bluetooth_gatt_descriptor.h', |
151 'test/mock_bluetooth_gatt_notify_session.cc', | 155 'test/mock_bluetooth_gatt_notify_session.cc', |
152 'test/mock_bluetooth_gatt_notify_session.h', | 156 'test/mock_bluetooth_gatt_notify_session.h', |
153 'test/mock_bluetooth_gatt_service.cc', | 157 'test/mock_bluetooth_gatt_service.cc', |
154 'test/mock_bluetooth_gatt_service.h', | 158 'test/mock_bluetooth_gatt_service.h', |
155 'test/mock_bluetooth_socket.cc', | 159 'test/mock_bluetooth_socket.cc', |
156 'test/mock_bluetooth_socket.h', | 160 'test/mock_bluetooth_socket.h', |
157 ], | 161 ], |
158 }, | 162 }, |
159 ], | 163 ], |
160 } | 164 } |
OLD | NEW |