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

Issue 1640783002: [device] Add setupapi.lib dependency to //device/serial (Closed)

Created:
4 years, 11 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 11 months ago
Reviewers:
Nico, scottmg
CC:
charliea (OOO until 10-5), chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[device] Add setupapi.lib dependency to //device/serial BUG=581702 R=thakis@chromium.org Committed: https://crrev.com/fce23e0047286bfa3374c8d3c94e1ca7123d6bf7 Cr-Commit-Position: refs/heads/master@{#371846}

Patch Set 1 #

Patch Set 2 : gyp #

Total comments: 1

Patch Set 3 : +DELAYLOAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M device/serial/BUILD.gn View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M device/serial/serial.gyp View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (3 generated)
Ken Rockot(use gerrit already)
4 years, 11 months ago (2016-01-27 16:58:09 UTC) #1
Nico
why does the gyp build not need this?
4 years, 11 months ago (2016-01-27 17:13:50 UTC) #2
Ken Rockot(use gerrit already)
On 2016/01/27 at 17:13:50, thakis wrote: > why does the gyp build not need this? ...
4 years, 11 months ago (2016-01-27 17:16:11 UTC) #3
Ken Rockot(use gerrit already)
On 2016/01/27 at 17:16:11, Ken Rockot wrote: > On 2016/01/27 at 17:13:50, thakis wrote: > ...
4 years, 11 months ago (2016-01-27 17:16:55 UTC) #4
Ken Rockot(use gerrit already)
On 2016/01/27 at 17:16:55, Ken Rockot wrote: > On 2016/01/27 at 17:16:11, Ken Rockot wrote: ...
4 years, 11 months ago (2016-01-27 17:20:18 UTC) #5
Nico
Can you at least add it in gyp too? It sounds like it currently works ...
4 years, 11 months ago (2016-01-27 17:20:36 UTC) #6
Ken Rockot(use gerrit already)
Sure. By the way, if //base actually should expose its setupapi (et al) lib dependency ...
4 years, 11 months ago (2016-01-27 17:22:08 UTC) #7
Nico
Hm, I think it works in gyp because base.gyp makes everything depend on setupapi.lib (see ...
4 years, 11 months ago (2016-01-27 17:23:35 UTC) #8
Ken Rockot(use gerrit already)
Ah it's just a DELAYLOAD setting, which I suspect does not imply an actual link-time ...
4 years, 11 months ago (2016-01-27 17:26:37 UTC) #9
Ken Rockot(use gerrit already)
GYP updated
4 years, 11 months ago (2016-01-27 17:35:02 UTC) #10
Ken Rockot(use gerrit already)
Of course now this makes me wonder... do I also need to introduce a /DELAYLOAD:setupapi.dll ...
4 years, 11 months ago (2016-01-27 17:37:01 UTC) #11
Nico
scottmg, do you know if setupapi.lib needs to be a DelayLoad? Or was that just ...
4 years, 11 months ago (2016-01-27 17:40:44 UTC) #13
Ken Rockot(use gerrit already)
On 2016/01/27 at 17:37:01, Ken Rockot wrote: > Of course now this makes me wonder... ...
4 years, 11 months ago (2016-01-27 17:40:52 UTC) #14
scottmg
On 2016/01/27 17:40:44, Nico wrote: > scottmg, do you know if setupapi.lib needs to be ...
4 years, 11 months ago (2016-01-27 17:49:54 UTC) #15
scottmg
On 2016/01/27 17:49:54, scottmg wrote: > On 2016/01/27 17:40:44, Nico wrote: > > scottmg, do ...
4 years, 11 months ago (2016-01-27 17:54:01 UTC) #16
Ken Rockot(use gerrit already)
OK - I'm going to add DELAYLOAD just in case. However, maybe you can also ...
4 years, 11 months ago (2016-01-27 18:20:57 UTC) #17
scottmg
On 2016/01/27 18:20:57, Ken Rockot wrote: > OK - I'm going to add DELAYLOAD just ...
4 years, 11 months ago (2016-01-27 18:28:43 UTC) #18
Ken Rockot(use gerrit already)
OK thanks for the info. I've updated the GN and GYP to also imply DELAYLOAD:setupapi.dll.
4 years, 11 months ago (2016-01-27 18:39:35 UTC) #19
Nico
lgtm
4 years, 11 months ago (2016-01-27 18:45:19 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640783002/40001
4 years, 11 months ago (2016-01-27 18:51:36 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-27 19:44:41 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 19:46:01 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fce23e0047286bfa3374c8d3c94e1ca7123d6bf7
Cr-Commit-Position: refs/heads/master@{#371846}

Powered by Google App Engine
This is Rietveld 408576698