| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'target_name': 'device_bluetooth', | |
| 12 'type': 'static_library', | |
| 13 'dependencies': [ | |
| 14 'device_bluetooth_strings.gyp:device_bluetooth_strings', | |
| 15 '../base/base.gyp:base', | |
| 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 17 '../net/net.gyp:net', | |
| 18 '../third_party/libxml/libxml.gyp:libxml', | |
| 19 '../ui/ui.gyp:ui' | |
| 20 ], | |
| 21 'sources': [ | |
| 22 'bluetooth/bluetooth_adapter.cc', | |
| 23 'bluetooth/bluetooth_adapter.h', | |
| 24 'bluetooth/bluetooth_adapter_experimental_chromeos.cc', | |
| 25 'bluetooth/bluetooth_adapter_experimental_chromeos.h', | |
| 26 'bluetooth/bluetooth_adapter_factory.cc', | |
| 27 'bluetooth/bluetooth_adapter_factory.h', | |
| 28 'bluetooth/bluetooth_adapter_mac.h', | |
| 29 'bluetooth/bluetooth_adapter_mac.mm', | |
| 30 'bluetooth/bluetooth_adapter_win.cc', | |
| 31 'bluetooth/bluetooth_adapter_win.h', | |
| 32 'bluetooth/bluetooth_device.cc', | |
| 33 'bluetooth/bluetooth_device.h', | |
| 34 'bluetooth/bluetooth_device_experimental_chromeos.cc', | |
| 35 'bluetooth/bluetooth_device_experimental_chromeos.h', | |
| 36 'bluetooth/bluetooth_device_mac.h', | |
| 37 'bluetooth/bluetooth_device_mac.mm', | |
| 38 'bluetooth/bluetooth_device_win.cc', | |
| 39 'bluetooth/bluetooth_device_win.h', | |
| 40 'bluetooth/bluetooth_init_win.cc', | |
| 41 'bluetooth/bluetooth_init_win.h', | |
| 42 'bluetooth/bluetooth_out_of_band_pairing_data.h', | |
| 43 'bluetooth/bluetooth_profile.cc', | |
| 44 'bluetooth/bluetooth_profile.h', | |
| 45 'bluetooth/bluetooth_profile_experimental_chromeos.cc', | |
| 46 'bluetooth/bluetooth_profile_experimental_chromeos.h', | |
| 47 'bluetooth/bluetooth_profile_mac.h', | |
| 48 'bluetooth/bluetooth_profile_mac.mm', | |
| 49 'bluetooth/bluetooth_profile_win.cc', | |
| 50 'bluetooth/bluetooth_profile_win.h', | |
| 51 'bluetooth/bluetooth_service_record.cc', | |
| 52 'bluetooth/bluetooth_service_record.h', | |
| 53 'bluetooth/bluetooth_service_record_mac.h', | |
| 54 'bluetooth/bluetooth_service_record_mac.mm', | |
| 55 'bluetooth/bluetooth_service_record_win.cc', | |
| 56 'bluetooth/bluetooth_service_record_win.h', | |
| 57 'bluetooth/bluetooth_socket.h', | |
| 58 'bluetooth/bluetooth_socket_experimental_chromeos.cc', | |
| 59 'bluetooth/bluetooth_socket_experimental_chromeos.h', | |
| 60 'bluetooth/bluetooth_socket_mac.h', | |
| 61 'bluetooth/bluetooth_socket_mac.mm', | |
| 62 'bluetooth/bluetooth_socket_win.cc', | |
| 63 'bluetooth/bluetooth_socket_win.h', | |
| 64 'bluetooth/bluetooth_task_manager_win.cc', | |
| 65 'bluetooth/bluetooth_task_manager_win.h', | |
| 66 'bluetooth/bluetooth_utils.cc', | |
| 67 'bluetooth/bluetooth_utils.h', | |
| 68 ], | |
| 69 'conditions': [ | |
| 70 ['chromeos==1', { | |
| 71 'dependencies': [ | |
| 72 '../build/linux/system.gyp:dbus', | |
| 73 '../chromeos/chromeos.gyp:chromeos', | |
| 74 '../dbus/dbus.gyp:dbus', | |
| 75 ] | |
| 76 }], | |
| 77 ['OS=="win"', { | |
| 78 'all_dependent_settings': { | |
| 79 'msvs_settings': { | |
| 80 'VCLinkerTool': { | |
| 81 'DelayLoadDLLs': [ | |
| 82 # Despite MSDN stating that Bthprops.dll contains the | |
| 83 # symbols declared by bthprops.lib, they actually reside here: | |
| 84 'Bthprops.cpl', | |
| 85 ], | |
| 86 }, | |
| 87 }, | |
| 88 }, | |
| 89 }], | |
| 90 ['OS=="mac"', { | |
| 91 'link_settings': { | |
| 92 'libraries': [ | |
| 93 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | |
| 94 ], | |
| 95 }, | |
| 96 }], | |
| 97 ], | |
| 98 }, | |
| 99 { | |
| 100 'target_name': 'device_bluetooth_mocks', | |
| 101 'type': 'static_library', | |
| 102 'dependencies': [ | |
| 103 'device_bluetooth', | |
| 104 '../testing/gmock.gyp:gmock', | |
| 105 ], | |
| 106 'sources': [ | |
| 107 'bluetooth/test/mock_bluetooth_adapter.cc', | |
| 108 'bluetooth/test/mock_bluetooth_adapter.h', | |
| 109 'bluetooth/test/mock_bluetooth_device.cc', | |
| 110 'bluetooth/test/mock_bluetooth_device.h', | |
| 111 'bluetooth/test/mock_bluetooth_profile.cc', | |
| 112 'bluetooth/test/mock_bluetooth_profile.h', | |
| 113 'bluetooth/test/mock_bluetooth_socket.cc', | |
| 114 'bluetooth/test/mock_bluetooth_socket.h', | |
| 115 ], | |
| 116 'include_dirs': [ | |
| 117 '..', | |
| 118 ], | |
| 119 }, | |
| 120 { | |
| 121 'target_name': 'device_usb', | |
| 122 'type': 'static_library', | |
| 123 'sources': [ | |
| 124 'usb/usb_ids.cc', | |
| 125 'usb/usb_ids.h', | |
| 126 ], | |
| 127 'include_dirs': [ | |
| 128 '..', | |
| 129 ], | |
| 130 'actions': [ | |
| 131 { | |
| 132 'action_name': 'generate_usb_ids', | |
| 133 'variables': { | |
| 134 'usb_ids_path%': '<(DEPTH)/third_party/usb_ids/usb.ids', | |
| 135 'usb_ids_py_path': '<(DEPTH)/tools/usb_ids/usb_ids.py', | |
| 136 }, | |
| 137 'inputs': [ | |
| 138 '<(usb_ids_path)', | |
| 139 '<(usb_ids_py_path)', | |
| 140 ], | |
| 141 'outputs': [ | |
| 142 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc', | |
| 143 ], | |
| 144 'action': [ | |
| 145 'python', | |
| 146 '<(usb_ids_py_path)', | |
| 147 '-i', '<(usb_ids_path)', | |
| 148 '-o', '<@(_outputs)', | |
| 149 ], | |
| 150 'process_outputs_as_sources': 1, | |
| 151 }, | |
| 152 ], | |
| 153 }, | |
| 154 { | |
| 155 'target_name': 'device_unittests', | 11 'target_name': 'device_unittests', |
| 156 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
| 157 'dependencies': [ | 13 'dependencies': [ |
| 158 'device_bluetooth', | |
| 159 'device_bluetooth_mocks', | |
| 160 'device_usb', | |
| 161 '../base/base.gyp:test_support_base', | 14 '../base/base.gyp:test_support_base', |
| 162 '../testing/gmock.gyp:gmock', | 15 '../testing/gmock.gyp:gmock', |
| 163 '../testing/gtest.gyp:gtest', | 16 '../testing/gtest.gyp:gtest', |
| 17 'bluetooth/bluetooth.gyp:device_bluetooth', |
| 18 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', |
| 19 'usb/usb.gyp:device_usb', |
| 164 ], | 20 ], |
| 165 'sources': [ | 21 'sources': [ |
| 166 'bluetooth/bluetooth_adapter_mac_unittest.mm', | 22 'bluetooth/bluetooth_adapter_mac_unittest.mm', |
| 167 'bluetooth/bluetooth_adapter_win_unittest.cc', | 23 'bluetooth/bluetooth_adapter_win_unittest.cc', |
| 168 'bluetooth/bluetooth_device_win_unittest.cc', | 24 'bluetooth/bluetooth_device_win_unittest.cc', |
| 169 'bluetooth/bluetooth_experimental_chromeos_unittest.cc', | 25 'bluetooth/bluetooth_experimental_chromeos_unittest.cc', |
| 170 'bluetooth/bluetooth_profile_chromeos_unittest.cc', | 26 'bluetooth/bluetooth_profile_chromeos_unittest.cc', |
| 171 'bluetooth/bluetooth_service_record_mac_unittest.mm', | 27 'bluetooth/bluetooth_service_record_mac_unittest.mm', |
| 172 'bluetooth/bluetooth_service_record_win_unittest.cc', | 28 'bluetooth/bluetooth_service_record_win_unittest.cc', |
| 173 'bluetooth/bluetooth_task_manager_win_unittest.cc', | 29 'bluetooth/bluetooth_task_manager_win_unittest.cc', |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 'media_transfer_protocol/media_transfer_protocol_daemon_client.cc', | 102 'media_transfer_protocol/media_transfer_protocol_daemon_client.cc', |
| 247 'media_transfer_protocol/media_transfer_protocol_daemon_client.h', | 103 'media_transfer_protocol/media_transfer_protocol_daemon_client.h', |
| 248 'media_transfer_protocol/media_transfer_protocol_manager.cc', | 104 'media_transfer_protocol/media_transfer_protocol_manager.cc', |
| 249 'media_transfer_protocol/media_transfer_protocol_manager.h', | 105 'media_transfer_protocol/media_transfer_protocol_manager.h', |
| 250 ], | 106 ], |
| 251 }, | 107 }, |
| 252 ], | 108 ], |
| 253 }], | 109 }], |
| 254 ], | 110 ], |
| 255 } | 111 } |
| OLD | NEW |