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

Side by Side Diff: device/bluetooth/BUILD.gn

Issue 1844073002: Remove "#pragma comment(lib" in device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix delay loading crashes Created 4 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 4 import("//build/config/features.gni")
5 5
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") # For generate_jni(). 7 import("//build/config/android/rules.gni") # For generate_jni().
8 } 8 }
9 9
10 config("bluetooth_config") { 10 config("bluetooth_config") {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 if (is_chromeos) { 140 if (is_chromeos) {
141 deps += [ "//chromeos" ] 141 deps += [ "//chromeos" ]
142 } 142 }
143 143
144 if (is_mac) { 144 if (is_mac) {
145 libs = [ "IOBluetooth.framework" ] 145 libs = [ "IOBluetooth.framework" ]
146 } 146 }
147 147
148 if (is_win) { 148 if (is_win) {
149 libs = [ "setupapi.lib" ] 149 libs = [
150 # Bthprops must be listed before BluetoothApis or else delay loading
151 # crashes.
152 "Bthprops.lib",
153 "BluetoothApis.lib",
154 "setupapi.lib",
155 ]
150 } 156 }
151 157
152 if (is_chromeos || is_linux) { 158 if (is_chromeos || is_linux) {
153 if (use_dbus) { 159 if (use_dbus) {
154 sources += [ 160 sources += [
155 "bluetooth_adapter_bluez.cc", 161 "bluetooth_adapter_bluez.cc",
156 "bluetooth_adapter_bluez.h", 162 "bluetooth_adapter_bluez.h",
157 "bluetooth_adapter_profile_bluez.cc", 163 "bluetooth_adapter_profile_bluez.cc",
158 "bluetooth_adapter_profile_bluez.h", 164 "bluetooth_adapter_profile_bluez.h",
159 "bluetooth_advertisement_bluez.cc", 165 "bluetooth_advertisement_bluez.cc",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 jni_package = "bluetooth" 333 jni_package = "bluetooth"
328 } 334 }
329 335
330 android_library("java") { 336 android_library("java") {
331 java_files = java_sources_needing_jni 337 java_files = java_sources_needing_jni
332 deps = [ 338 deps = [
333 "//base:base_java", 339 "//base:base_java",
334 ] 340 ]
335 } 341 }
336 } 342 }
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