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

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

Issue 748873004: Revert of bluetooth: Make device/bluetooth a shared library component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: 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 component("bluetooth") { 18 static_library("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
98 all_dependent_configs = [ ":bluetooth_config" ] 94 all_dependent_configs = [ ":bluetooth_config" ]
99 95
100 deps = [ 96 deps = [
101 ":strings", 97 ":strings",
102 "//base", 98 "//base",
103 "//net", 99 "//net",
104 "//ui/base", 100 "//ui/base",
105 ] 101 ]
106 102
107 if (is_chromeos) { 103 if (is_chromeos) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 "test/mock_bluetooth_gatt_service.h", 194 "test/mock_bluetooth_gatt_service.h",
199 "test/mock_bluetooth_socket.cc", 195 "test/mock_bluetooth_socket.cc",
200 "test/mock_bluetooth_socket.h", 196 "test/mock_bluetooth_socket.h",
201 ] 197 ]
202 198
203 deps = [ 199 deps = [
204 ":bluetooth", 200 ":bluetooth",
205 "//testing/gmock", 201 "//testing/gmock",
206 ] 202 ]
207 } 203 }
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