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

Issue 2075863003: Use runtime_deps to tell create_installer_archive what dlls to copy. (Closed)

Created:
4 years, 6 months ago by jbauman
Modified:
4 years ago
Reviewers:
gab
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use runtime_deps to tell create_installer_archive what dlls to copy. If create_installer_archive copies every DLL, then its dependencies aren't correctly explained to ninja and the bots complain when the dependencies are newer than the output. Using GN's runtime_deps allows us to avoid unnecessary copies and makes the real dependencies match ninja's. BUG=586967 Committed: https://crrev.com/c38143af142eee672cf9b5a270253655810a882e Cr-Commit-Position: refs/heads/master@{#401456}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Total comments: 1

Patch Set 4 : remove other deps #

Total comments: 3

Patch Set 5 : nit fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -39 lines) Patch
M chrome/installer/mini_installer/BUILD.gn View 1 2 3 4 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/tools/build/win/create_installer_archive.py View 1 2 3 4 4 chunks +62 lines, -39 lines 1 comment Download

Messages

Total messages: 18 (4 generated)
jbauman
4 years, 6 months ago (2016-06-17 01:43:40 UTC) #2
gab
Thanks John, this is an awesome feature of GN I wasn't aware of :-) https://codereview.chromium.org/2075863003/diff/1/chrome/tools/build/win/create_installer_archive.py ...
4 years, 6 months ago (2016-06-17 18:27:11 UTC) #3
jbauman
https://codereview.chromium.org/2075863003/diff/1/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/2075863003/diff/1/chrome/tools/build/win/create_installer_archive.py#newcode521 chrome/tools/build/win/create_installer_archive.py:521: build_dlls = glob.glob(os.path.join(build_dir, '*.dll')) On 2016/06/17 18:27:11, gab wrote: ...
4 years, 6 months ago (2016-06-17 19:51:24 UTC) #4
grt (UTC plus 2)
awesome! thanks for doing this. i was just asking how to do this on gn-dev ...
4 years, 6 months ago (2016-06-17 20:18:10 UTC) #5
jbauman
PTAL. On 2016/06/17 18:27:11, gab wrote: > Thanks John, this is an awesome feature of ...
4 years, 6 months ago (2016-06-18 00:24:07 UTC) #6
gab
Ah right, forgot the need to support GYP still... please add TODOs to strip that ...
4 years, 6 months ago (2016-06-20 15:15:26 UTC) #7
jbauman
PTAL.
4 years, 6 months ago (2016-06-20 20:58:13 UTC) #8
gab
https://codereview.chromium.org/2075863003/diff/40001/chrome/installer/mini_installer/BUILD.gn File chrome/installer/mini_installer/BUILD.gn (right): https://codereview.chromium.org/2075863003/diff/40001/chrome/installer/mini_installer/BUILD.gn#newcode83 chrome/installer/mini_installer/BUILD.gn:83: "//third_party/icu:icudata", I think you should only need to depend ...
4 years, 6 months ago (2016-06-21 15:15:16 UTC) #9
jbauman
On 2016/06/21 15:15:16, gab wrote: > https://codereview.chromium.org/2075863003/diff/40001/chrome/installer/mini_installer/BUILD.gn > File chrome/installer/mini_installer/BUILD.gn (right): > > https://codereview.chromium.org/2075863003/diff/40001/chrome/installer/mini_installer/BUILD.gn#newcode83 > ...
4 years, 6 months ago (2016-06-21 21:03:42 UTC) #10
gab
lgtm % nits, thanks! https://codereview.chromium.org/2075863003/diff/60001/chrome/installer/mini_installer/BUILD.gn File chrome/installer/mini_installer/BUILD.gn (right): https://codereview.chromium.org/2075863003/diff/60001/chrome/installer/mini_installer/BUILD.gn#newcode74 chrome/installer/mini_installer/BUILD.gn:74: chrome_runtime_deps = "$root_gen_dir/chrome_component.runtime_deps" nit: flip ...
4 years, 6 months ago (2016-06-22 14:04:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2075863003/80001
4 years, 6 months ago (2016-06-22 22:38:09 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-22 23:25:27 UTC) #15
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/c38143af142eee672cf9b5a270253655810a882e Cr-Commit-Position: refs/heads/master@{#401456}
4 years, 6 months ago (2016-06-22 23:27:58 UTC) #17
gab
4 years ago (2016-12-09 19:28:11 UTC) #18
Message was sent while issue was closed.
Hey John, if you have time, would be great to address these post-GYP TODOs :).

https://codereview.chromium.org/2075863003/diff/80001/chrome/tools/build/win/...
File chrome/tools/build/win/create_installer_archive.py (right):

https://codereview.chromium.org/2075863003/diff/80001/chrome/tools/build/win/...
chrome/tools/build/win/create_installer_archive.py:652: # mandatory when GYP is
deprecated on Windows.
We're now past the GYP era, mind prepping a CL for TODOs in this file :)?

Powered by Google App Engine
This is Rietveld 408576698