Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1438)

Side by Side Diff: device/BUILD.gn

Issue 1098123004: Revert of mac: Weakly link against the CoreBluetooth framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 is_linux_without_udev = is_linux && !use_udev 8 is_linux_without_udev = is_linux && !use_udev
9 is_linux_without_dbus = is_linux && !use_dbus 9 is_linux_without_dbus = is_linux && !use_dbus
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "//dbus", 105 "//dbus",
106 ] 106 ]
107 } 107 }
108 108
109 if (is_posix && !is_android && !is_mac) { 109 if (is_posix && !is_android && !is_mac) {
110 libs = [ "rt" ] 110 libs = [ "rt" ]
111 } 111 }
112 112
113 if (is_mac) { 113 if (is_mac) {
114 libs = [ "IOBluetooth.framework" ] 114 libs = [ "IOBluetooth.framework" ]
115
116 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework.
117 # Previously, it was nested in IOBluetooth. In order for Chrome to run on
118 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be
119 # weakly linked.
120 if (mac_sdk_version == "10.10") {
121 ldflags = [ "-weak_framework CoreBluetooth" ]
122 }
123 } 115 }
124 } 116 }
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698