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

Side by Side Diff: device/BUILD.gn

Issue 1565983002: Add librt to default libs on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « build/config/BUILD.gn ('k') | gpu/khronos_glcts_support/BUILD.gn » ('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 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", 163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc",
164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", 164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc",
165 "bluetooth/bluetooth_bluez_unittest.cc", 165 "bluetooth/bluetooth_bluez_unittest.cc",
166 "bluetooth/bluetooth_gatt_bluez_unittest.cc", 166 "bluetooth/bluetooth_gatt_bluez_unittest.cc",
167 "bluetooth/bluetooth_socket_bluez_unittest.cc", 167 "bluetooth/bluetooth_socket_bluez_unittest.cc",
168 ] 168 ]
169 169
170 deps += [ "//dbus" ] 170 deps += [ "//dbus" ]
171 } 171 }
172 172
173 if (is_posix && !is_android && !is_mac) {
174 libs = [ "rt" ]
175 }
176
177 if (is_mac) { 173 if (is_mac) {
178 deps += [ "//third_party/ocmock" ] 174 deps += [ "//third_party/ocmock" ]
179 ldflags = [ "-ObjC" ] 175 ldflags = [ "-ObjC" ]
180 libs = [ "IOBluetooth.framework" ] 176 libs = [ "IOBluetooth.framework" ]
181 177
182 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. 178 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework.
183 # Previously, it was nested in IOBluetooth. In order for Chrome to run on 179 # Previously, it was nested in IOBluetooth. In order for Chrome to run on
184 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be 180 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be
185 # weakly linked. 181 # weakly linked.
186 if (mac_sdk_version == "10.10") { 182 if (mac_sdk_version == "10.10") {
(...skipping 14 matching lines...) Expand all
201 } 197 }
202 198
203 android_library("bluetooth_test_java") { 199 android_library("bluetooth_test_java") {
204 java_files = bluetooth_java_sources_needing_jni 200 java_files = bluetooth_java_sources_needing_jni
205 deps = [ 201 deps = [
206 "//base:base_java", 202 "//base:base_java",
207 "//device/bluetooth:java", 203 "//device/bluetooth:java",
208 ] 204 ]
209 } 205 }
210 } 206 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | gpu/khronos_glcts_support/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698