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 'sources': [ | 20 'sources': [ |
21 # Note: file list duplicated in GN build. | 21 # Note: file list duplicated in GN build. |
22 'bluetooth_adapter.cc', | 22 'bluetooth_adapter.cc', |
23 'bluetooth_adapter.h', | 23 'bluetooth_adapter.h', |
(...skipping 12 matching lines...) Expand all Loading... |
36 'bluetooth_device_chromeos.cc', | 36 'bluetooth_device_chromeos.cc', |
37 'bluetooth_device_chromeos.h', | 37 'bluetooth_device_chromeos.h', |
38 'bluetooth_device_mac.h', | 38 'bluetooth_device_mac.h', |
39 'bluetooth_device_mac.mm', | 39 'bluetooth_device_mac.mm', |
40 'bluetooth_device_win.cc', | 40 'bluetooth_device_win.cc', |
41 'bluetooth_device_win.h', | 41 'bluetooth_device_win.h', |
42 'bluetooth_discovery_manager_mac.mm', | 42 'bluetooth_discovery_manager_mac.mm', |
43 'bluetooth_discovery_manager_mac.h', | 43 'bluetooth_discovery_manager_mac.h', |
44 'bluetooth_discovery_session.cc', | 44 'bluetooth_discovery_session.cc', |
45 'bluetooth_discovery_session.h', | 45 'bluetooth_discovery_session.h', |
| 46 'bluetooth_export.h', |
46 'bluetooth_gatt_characteristic.cc', | 47 'bluetooth_gatt_characteristic.cc', |
47 'bluetooth_gatt_characteristic.h', | 48 'bluetooth_gatt_characteristic.h', |
48 'bluetooth_gatt_connection.cc', | 49 'bluetooth_gatt_connection.cc', |
49 'bluetooth_gatt_connection.h', | 50 'bluetooth_gatt_connection.h', |
50 'bluetooth_gatt_connection_chromeos.cc', | 51 'bluetooth_gatt_connection_chromeos.cc', |
51 'bluetooth_gatt_connection_chromeos.h', | 52 'bluetooth_gatt_connection_chromeos.h', |
52 'bluetooth_gatt_descriptor.cc', | 53 'bluetooth_gatt_descriptor.cc', |
53 'bluetooth_gatt_descriptor.h', | 54 'bluetooth_gatt_descriptor.h', |
54 'bluetooth_gatt_notify_session.cc', | 55 'bluetooth_gatt_notify_session.cc', |
55 'bluetooth_gatt_notify_session.h', | 56 'bluetooth_gatt_notify_session.h', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 'bluetooth_socket_net.h', | 88 'bluetooth_socket_net.h', |
88 'bluetooth_socket_thread.cc', | 89 'bluetooth_socket_thread.cc', |
89 'bluetooth_socket_thread.h', | 90 'bluetooth_socket_thread.h', |
90 'bluetooth_socket_win.cc', | 91 'bluetooth_socket_win.cc', |
91 'bluetooth_socket_win.h', | 92 'bluetooth_socket_win.h', |
92 'bluetooth_task_manager_win.cc', | 93 'bluetooth_task_manager_win.cc', |
93 'bluetooth_task_manager_win.h', | 94 'bluetooth_task_manager_win.h', |
94 'bluetooth_uuid.cc', | 95 'bluetooth_uuid.cc', |
95 'bluetooth_uuid.h', | 96 'bluetooth_uuid.h', |
96 ], | 97 ], |
| 98 'defines': [ |
| 99 'BLUETOOTH_IMPLEMENTATION', |
| 100 ], |
97 'conditions': [ | 101 'conditions': [ |
98 ['chromeos==1', { | 102 ['chromeos==1', { |
99 'dependencies': [ | 103 'dependencies': [ |
100 '../../build/linux/system.gyp:dbus', | 104 '../../build/linux/system.gyp:dbus', |
101 '../../chromeos/chromeos.gyp:chromeos', | 105 '../../chromeos/chromeos.gyp:chromeos', |
102 '../../dbus/dbus.gyp:dbus', | 106 '../../dbus/dbus.gyp:dbus', |
103 ], | 107 ], |
104 'export_dependent_settings': [ | 108 'export_dependent_settings': [ |
105 '../../build/linux/system.gyp:dbus' | 109 '../../build/linux/system.gyp:dbus' |
106 ] | 110 ] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 'test/mock_bluetooth_gatt_notify_session.cc', | 161 'test/mock_bluetooth_gatt_notify_session.cc', |
158 'test/mock_bluetooth_gatt_notify_session.h', | 162 'test/mock_bluetooth_gatt_notify_session.h', |
159 'test/mock_bluetooth_gatt_service.cc', | 163 'test/mock_bluetooth_gatt_service.cc', |
160 'test/mock_bluetooth_gatt_service.h', | 164 'test/mock_bluetooth_gatt_service.h', |
161 'test/mock_bluetooth_socket.cc', | 165 'test/mock_bluetooth_socket.cc', |
162 'test/mock_bluetooth_socket.h', | 166 'test/mock_bluetooth_socket.h', |
163 ], | 167 ], |
164 }, | 168 }, |
165 ], | 169 ], |
166 } | 170 } |
OLD | NEW |