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 # GN version: //device/bluetooth |
12 'target_name': 'device_bluetooth', | 12 'target_name': 'device_bluetooth', |
13 'type': 'static_library', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
16 '../../net/net.gyp:net', | 16 '../../net/net.gyp:net', |
17 '../../ui/base/ui_base.gyp:ui_base', | 17 '../../ui/base/ui_base.gyp:ui_base', |
18 'bluetooth_strings.gyp:device_bluetooth_strings', | 18 'bluetooth_strings.gyp:device_bluetooth_strings', |
19 ], | 19 ], |
| 20 'defines': [ |
| 21 'DEVICE_BLUETOOTH_IMPLEMENTATION', |
| 22 ], |
20 'sources': [ | 23 'sources': [ |
21 # Note: file list duplicated in GN build. | 24 # Note: file list duplicated in GN build. |
22 'bluetooth_adapter.cc', | 25 'bluetooth_adapter.cc', |
23 'bluetooth_adapter.h', | 26 'bluetooth_adapter.h', |
24 'bluetooth_adapter_chromeos.cc', | 27 'bluetooth_adapter_chromeos.cc', |
25 'bluetooth_adapter_chromeos.h', | 28 'bluetooth_adapter_chromeos.h', |
26 'bluetooth_adapter_factory.cc', | 29 'bluetooth_adapter_factory.cc', |
27 'bluetooth_adapter_factory.h', | 30 'bluetooth_adapter_factory.h', |
28 'bluetooth_adapter_mac.h', | 31 'bluetooth_adapter_mac.h', |
29 'bluetooth_adapter_mac.mm', | 32 'bluetooth_adapter_mac.mm', |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 'test/mock_bluetooth_gatt_notify_session.cc', | 160 'test/mock_bluetooth_gatt_notify_session.cc', |
158 'test/mock_bluetooth_gatt_notify_session.h', | 161 'test/mock_bluetooth_gatt_notify_session.h', |
159 'test/mock_bluetooth_gatt_service.cc', | 162 'test/mock_bluetooth_gatt_service.cc', |
160 'test/mock_bluetooth_gatt_service.h', | 163 'test/mock_bluetooth_gatt_service.h', |
161 'test/mock_bluetooth_socket.cc', | 164 'test/mock_bluetooth_socket.cc', |
162 'test/mock_bluetooth_socket.h', | 165 'test/mock_bluetooth_socket.h', |
163 ], | 166 ], |
164 }, | 167 }, |
165 ], | 168 ], |
166 } | 169 } |
OLD | NEW |