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

Issue 63153013: Have the component build use the same manifest tricks for the installer archive that are now used b… (Closed)

Created:
7 years, 1 month ago by gab
Modified:
7 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, robertshield, Cait (Slow), zturner, Sigurður Ásgeirsson
Visibility:
Public.

Description

Have the component build use the same manifest tricks for the installer archive that are now used by chrome_elf.dll on trunk. This means: 1) chrome.exe.manifest remains the same 2) Component DLLs are now the only special cased DLLs (instead of *.dll) -- this avoids allowing official DLLs to somehow load in the component build for someone that made a change that would otherwise break their load in an official build. 2) {version}.manifest is augmented with all the component DLLs. 3) Component DLLs are also copied in the Installer/ folder for setup.exe to work as well (without having to use the old setup.exe.config\probing\privatePath technique which isn't XP compatible). I'd like to get a better solution up for (3), but since this is currently breaking developers I'll get this fix in now and we can iterate after. TBR=grt NOTRY=True BUG=318950, 246169 TEST=Install a component build of Chrome, verify that chrome.exe and setup.exe run properly. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235244

Patch Set 1 : #

Patch Set 2 : Full XP support #

Patch Set 3 : remove print #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -95 lines) Patch
M chrome/installer/mini_installer/chrome.release View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 chunk +3 lines, -10 lines 0 comments Download
M chrome/tools/build/win/create_installer_archive.py View 1 2 3 chunks +48 lines, -84 lines 10 comments Download

Messages

Total messages: 11 (0 generated)
gab
Greg, PTAL. In particular I would like your opinion (and that of people CC'ed should ...
7 years, 1 month ago (2013-11-13 23:48:22 UTC) #1
gab
Changed approach, new approach is now fully XP compatible (yet to be tested though!) -- ...
7 years, 1 month ago (2013-11-14 22:39:38 UTC) #2
gab
Committed patchset #3 manually as r235244 (presubmit successful).
7 years, 1 month ago (2013-11-14 22:50:02 UTC) #3
grt (UTC plus 2)
LGTM with one minor nit. As discussed, please have someone with python readability take a ...
7 years, 1 month ago (2013-11-15 17:26:24 UTC) #4
Sigurður Ásgeirsson
lgtm with a couple of nits (python looks fine apart from nits). https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py ...
7 years, 1 month ago (2013-11-15 18:31:11 UTC) #5
Sigurður Ásgeirsson
NB: I only reviewed the python from the standpoint of consistency with the script at ...
7 years, 1 month ago (2013-11-15 18:33:51 UTC) #6
gab
Thanks, comments addressed on https://codereview.chromium.org/60233008/ Cheers, Gab https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/create_installer_archive.py#newcode346 chrome/tools/build/win/create_installer_archive.py:346: 'w') as ...
7 years, 1 month ago (2013-11-15 21:18:52 UTC) #7
gab
Math, could you please take a look at the python style in this CL. Changes ...
7 years, 1 month ago (2013-11-15 21:24:02 UTC) #8
gab
Math, could you please take a look at the python style in this CL. Changes ...
7 years, 1 month ago (2013-11-15 21:28:48 UTC) #9
Mathieu
Sorry for the delay. Lgtm https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/create_installer_archive.py#newcode451 chrome/tools/build/win/create_installer_archive.py:451: glob.glob(os.path.join(version_dir, '*.dll'))] nit: you ...
7 years, 1 month ago (2013-11-18 19:10:05 UTC) #10
gab
7 years, 1 month ago (2013-11-18 20:37:16 UTC) #11
Message was sent while issue was closed.
Thanks,

comments addressed on https://codereview.chromium.org/60233008/

Cheers,
Gab

https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/c...
File chrome/tools/build/win/create_installer_archive.py (right):

https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/c...
chrome/tools/build/win/create_installer_archive.py:451:
glob.glob(os.path.join(version_dir, '*.dll'))]
On 2013/11/18 19:10:06, Mathieu Perreault wrote:
> nit: you can de-indent by 4

Done.

https://codereview.chromium.org/63153013/diff/110001/chrome/tools/build/win/c...
chrome/tools/build/win/create_installer_archive.py:454: os.path.basename(dll)
not in staged_dll_basenames]:
On 2013/11/18 19:10:06, Mathieu Perreault wrote:
> nit: same here

Done.

Powered by Google App Engine
This is Rietveld 408576698