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

Side by Side Diff: device/hid/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 | « device/bluetooth/bluetooth_init_win.h ('k') | device/hid/hid.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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 source_set("hid") { 7 source_set("hid") {
8 sources = [ 8 sources = [
9 "hid_collection_info.cc", 9 "hid_collection_info.cc",
10 "hid_collection_info.h", 10 "hid_collection_info.h",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "hid_service_linux.h", 53 "hid_service_linux.h",
54 "input_service_linux.cc", 54 "input_service_linux.cc",
55 "input_service_linux.h", 55 "input_service_linux.h",
56 ] 56 ]
57 deps += [ "//device/udev_linux" ] 57 deps += [ "//device/udev_linux" ]
58 } 58 }
59 59
60 if (is_chromeos) { 60 if (is_chromeos) {
61 deps += [ "//chromeos" ] 61 deps += [ "//chromeos" ]
62 } 62 }
63
64 if (is_win) {
65 libs = [
66 "hid.lib",
67 "setupapi.lib",
68 ]
69 }
63 } 70 }
64 71
65 source_set("mocks") { 72 source_set("mocks") {
66 testonly = true 73 testonly = true
67 74
68 sources = [ 75 sources = [
69 "mock_hid_service.cc", 76 "mock_hid_service.cc",
70 "mock_hid_service.h", 77 "mock_hid_service.h",
71 ] 78 ]
72 79
73 public_deps = [ 80 public_deps = [
74 ":hid", 81 ":hid",
75 "//testing/gmock", 82 "//testing/gmock",
76 ] 83 ]
77 } 84 }
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_init_win.h ('k') | device/hid/hid.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698