| Index: device/BUILD.gn
|
| diff --git a/device/BUILD.gn b/device/BUILD.gn
|
| index 2f4a202495e834c1b32ac7a36f353a7a6a2d168b..0fa1171fc0d2a4c0634fb3af404a6c6bac178c66 100644
|
| --- a/device/BUILD.gn
|
| +++ b/device/BUILD.gn
|
| @@ -138,6 +138,8 @@ test("device_unittests") {
|
| }
|
|
|
| if (is_mac) {
|
| + deps += [ "//third_party/ocmock" ]
|
| + ldflags = [ "-ObjC" ]
|
| libs = [ "IOBluetooth.framework" ]
|
|
|
| # In the OSX 10.10 SDK, CoreBluetooth became a top level framework.
|
| @@ -145,7 +147,7 @@ test("device_unittests") {
|
| # OSes older than OSX 10.10, the top level CoreBluetooth framework must be
|
| # weakly linked.
|
| if (mac_sdk_version == "10.10") {
|
| - ldflags = [ "-weak_framework CoreBluetooth" ]
|
| + ldflags += [ "-weak_framework CoreBluetooth" ]
|
| }
|
| }
|
| }
|
|
|