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

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

Issue 778443002: bluetooth: Make device/bluetooth a shared library component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Set DelayLoadDLL settings on shared library as well Created 6 years 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 4
5 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 config("bluetooth_config") { 7 config("bluetooth_config") {
8 if (is_win) { 8 if (is_win) {
9 ldflags = [ 9 ldflags = [
10 # Despite MSDN stating that Bthprops.dll contains the 10 # Despite MSDN stating that Bthprops.dll contains the
11 # symbols declared by bthprops.lib, they actually reside here: 11 # symbols declared by bthprops.lib, they actually reside here:
12 "/DELAYLOAD:Bthprops.cpl", 12 "/DELAYLOAD:Bthprops.cpl",
13 "/DELAYLOAD:setupapi.dll", 13 "/DELAYLOAD:setupapi.dll",
14 ] 14 ]
15 } 15 }
16 } 16 }
17 17
18 static_library("bluetooth") { 18 component("bluetooth") {
19 sources = [ 19 sources = [
20 "bluetooth_adapter.cc", 20 "bluetooth_adapter.cc",
21 "bluetooth_adapter.h", 21 "bluetooth_adapter.h",
22 "bluetooth_adapter_chromeos.cc", 22 "bluetooth_adapter_chromeos.cc",
23 "bluetooth_adapter_chromeos.h", 23 "bluetooth_adapter_chromeos.h",
24 "bluetooth_adapter_factory.cc", 24 "bluetooth_adapter_factory.cc",
25 "bluetooth_adapter_factory.h", 25 "bluetooth_adapter_factory.h",
26 "bluetooth_adapter_mac.h", 26 "bluetooth_adapter_mac.h",
27 "bluetooth_adapter_mac.mm", 27 "bluetooth_adapter_mac.mm",
28 "bluetooth_adapter_win.cc", 28 "bluetooth_adapter_win.cc",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "bluetooth_socket_thread.cc", 84 "bluetooth_socket_thread.cc",
85 "bluetooth_socket_thread.h", 85 "bluetooth_socket_thread.h",
86 "bluetooth_socket_win.cc", 86 "bluetooth_socket_win.cc",
87 "bluetooth_socket_win.h", 87 "bluetooth_socket_win.h",
88 "bluetooth_task_manager_win.cc", 88 "bluetooth_task_manager_win.cc",
89 "bluetooth_task_manager_win.h", 89 "bluetooth_task_manager_win.h",
90 "bluetooth_uuid.cc", 90 "bluetooth_uuid.cc",
91 "bluetooth_uuid.h", 91 "bluetooth_uuid.h",
92 ] 92 ]
93 93
94 defines = [
95 "DEVICE_BLUETOOTH_IMPLEMENTATION",
96 ]
97
94 all_dependent_configs = [ ":bluetooth_config" ] 98 all_dependent_configs = [ ":bluetooth_config" ]
95 99
96 deps = [ 100 deps = [
97 ":strings", 101 ":strings",
98 "//base", 102 "//base",
99 "//net", 103 "//net",
100 "//ui/base", 104 "//ui/base",
101 ] 105 ]
102 106
103 if (is_chromeos) { 107 if (is_chromeos) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 "test/mock_bluetooth_gatt_service.h", 198 "test/mock_bluetooth_gatt_service.h",
195 "test/mock_bluetooth_socket.cc", 199 "test/mock_bluetooth_socket.cc",
196 "test/mock_bluetooth_socket.h", 200 "test/mock_bluetooth_socket.h",
197 ] 201 ]
198 202
199 deps = [ 203 deps = [
200 ":bluetooth", 204 ":bluetooth",
201 "//testing/gmock", 205 "//testing/gmock",
202 ] 206 ]
203 } 207 }
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