Chromium Code Reviews| Index: device/bluetooth/bluetooth.gyp |
| diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp |
| index 1e4f7edadbe1b3cdb4112c1e3b696b7ce3123993..d71613a3e2bf51a892f33ac1b4a4bfed2e2d267a 100644 |
| --- a/device/bluetooth/bluetooth.gyp |
| +++ b/device/bluetooth/bluetooth.gyp |
| @@ -152,6 +152,19 @@ |
| 'libraries': [ |
| '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', |
| ], |
| + 'conditions': [ |
| + ['mac_sdk == "10.10"', { |
| + 'xcode_settings': { |
| + # In the OSX 10.10 SDK, CoreBluetooth became a top level |
| + # framework. Previously, it was nested in IOBluetooth. In |
| + # order for Chrome to run on OSes older than OSX 10.10, the |
| + # top level CoreBluetooth framework must be weakly linked. |
| + 'OTHER_LDFLAGS': [ |
| + '-weak_framework CoreBluetooth', |
| + ] |
|
Robert Sesek
2015/04/23 22:22:26
nit: add a trailing comma
erikchen
2015/04/23 22:27:45
Done.
|
| + }, |
| + }], |
| + ], |
| }, |
| }], |
| ], |