| Index: device/BUILD.gn
|
| diff --git a/device/BUILD.gn b/device/BUILD.gn
|
| index 2f4a202495e834c1b32ac7a36f353a7a6a2d168b..cd875848b9c283a830eb1e61821ea4de1824b561 100644
|
| --- a/device/BUILD.gn
|
| +++ b/device/BUILD.gn
|
| @@ -59,6 +59,7 @@ test("device_unittests") {
|
| "//testing/gtest",
|
| "//third_party/mojo/src/mojo/edk/system",
|
| "//third_party/mojo/src/mojo/public/cpp/bindings",
|
| + "//third_party/ocmock",
|
| "//url",
|
| ]
|
|
|
| @@ -139,13 +140,14 @@ test("device_unittests") {
|
|
|
| if (is_mac) {
|
| libs = [ "IOBluetooth.framework" ]
|
| + ldflags = [ "-ObjC" ]
|
|
|
| # 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.
|
| if (mac_sdk_version == "10.10") {
|
| - ldflags = [ "-weak_framework CoreBluetooth" ]
|
| + ldflags += [ "-weak_framework CoreBluetooth" ]
|
| }
|
| }
|
| }
|
|
|