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 { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'setupapi.dll', | 145 'setupapi.dll', |
146 ], | 146 ], |
147 }, | 147 }, |
148 }, | 148 }, |
149 }], | 149 }], |
150 ['OS=="mac"', { | 150 ['OS=="mac"', { |
151 'link_settings': { | 151 'link_settings': { |
152 'libraries': [ | 152 'libraries': [ |
153 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | 153 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', |
154 ], | 154 ], |
| 155 'conditions': [ |
| 156 ['mac_sdk == "10.10"', { |
| 157 'xcode_settings': { |
| 158 # In the OSX 10.10 SDK, CoreBluetooth became a top level |
| 159 # framework. Previously, it was nested in IOBluetooth. In |
| 160 # order for Chrome to run on OSes older than OSX 10.10, the |
| 161 # top level CoreBluetooth framework must be weakly linked. |
| 162 'OTHER_LDFLAGS': [ |
| 163 '-weak_framework CoreBluetooth', |
| 164 ], |
| 165 }, |
| 166 }], |
| 167 ], |
155 }, | 168 }, |
156 }], | 169 }], |
157 ], | 170 ], |
158 }, | 171 }, |
159 { | 172 { |
160 'target_name': 'uribeacon', | 173 'target_name': 'uribeacon', |
161 'type': 'static_library', | 174 'type': 'static_library', |
162 'dependencies': [ | 175 'dependencies': [ |
163 '../../base/base.gyp:base', | 176 '../../base/base.gyp:base', |
164 ], | 177 ], |
(...skipping 30 matching lines...) Expand all Loading... |
195 'test/mock_bluetooth_gatt_notify_session.cc', | 208 'test/mock_bluetooth_gatt_notify_session.cc', |
196 'test/mock_bluetooth_gatt_notify_session.h', | 209 'test/mock_bluetooth_gatt_notify_session.h', |
197 'test/mock_bluetooth_gatt_service.cc', | 210 'test/mock_bluetooth_gatt_service.cc', |
198 'test/mock_bluetooth_gatt_service.h', | 211 'test/mock_bluetooth_gatt_service.h', |
199 'test/mock_bluetooth_socket.cc', | 212 'test/mock_bluetooth_socket.cc', |
200 'test/mock_bluetooth_socket.h', | 213 'test/mock_bluetooth_socket.h', |
201 ], | 214 ], |
202 }, | 215 }, |
203 ], | 216 ], |
204 } | 217 } |
OLD | NEW |