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

Issue 10825342: Do not compress chrome.7z into chrome.packed.7z for developer (component) builds. (Closed)

Created:
8 years, 4 months ago by gab
Modified:
8 years, 4 months ago
Reviewers:
Nico, robertshield
CC:
chromium-reviews, grt+watch_chromium.org, pam+watch_chromium.org, grt (UTC plus 2), erikwright (departed), huangs
Visibility:
Public.

Description

Do not compress chrome.7z into chrome.packed.7z for developer (component) builds. Note that setup is already configured to use chrome.7z directly if chrome.packed.7z is absent. Change setup to have it copy chrome.7z to the <version>\Installer folder (instead of moving it) for component builds (to allow developers to test installs more than once with the same archive). BUG=None TEST=Install/uninstall chrome after copying setup.exe to another machine using tools\win\copy-installer.bat Test non-component build and make sure archive is still moved (i.e.not copied).

Patch Set 1 #

Total comments: 8

Patch Set 2 : do the hokey pokey #

Patch Set 3 : dont add gyp setting, instead always do it for component build #

Total comments: 1

Patch Set 4 : delete instead of rename #

Patch Set 5 : rebase on master #

Patch Set 6 : more fixes #

Total comments: 4

Patch Set 7 : unify comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -4 lines) Patch
M chrome/installer/mini_installer.gyp View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/tools/build/win/create_installer_archive.py View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M tools/win/copy-installer.bat View 1 2 3 4 5 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
gab
PTAL, it drastically improves build timings for the mini_installer. i.e. building with no changes (i.e. ...
8 years, 4 months ago (2012-08-14 16:14:27 UTC) #1
robertshield
http://codereview.chromium.org/10825342/diff/1/chrome/installer/mini_installer.gyp File chrome/installer/mini_installer.gyp (right): http://codereview.chromium.org/10825342/diff/1/chrome/installer/mini_installer.gyp#newcode261 chrome/installer/mini_installer.gyp:261: '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).packed.7z', this still specifies the packed.7z as an output, ...
8 years, 4 months ago (2012-08-14 16:45:28 UTC) #2
gab
/dance http://codereview.chromium.org/10825342/diff/1/chrome/installer/mini_installer.gyp File chrome/installer/mini_installer.gyp (right): http://codereview.chromium.org/10825342/diff/1/chrome/installer/mini_installer.gyp#newcode261 chrome/installer/mini_installer.gyp:261: '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).packed.7z', On 2012/08/14 16:45:28, robertshield wrote: > this ...
8 years, 4 months ago (2012-08-14 19:15:37 UTC) #3
robertshield
LGTM
8 years, 4 months ago (2012-08-14 19:29:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/10825342/7001
8 years, 4 months ago (2012-08-14 19:29:45 UTC) #5
commit-bot: I haz the power
Failed to apply patch for tools/win/copy-installer.bat: While running patch -p1 --forward --force; patching file tools/win/copy-installer.bat ...
8 years, 4 months ago (2012-08-14 19:29:47 UTC) #6
gab
+jam: OWNERS review for chrome/ PS: we are working on an OWNERS file in chrome\tools\build\win ...
8 years, 4 months ago (2012-08-14 21:12:40 UTC) #7
jam
redirecting to another owner who knows about gyp a lot more than me.
8 years, 4 months ago (2012-08-15 14:59:47 UTC) #8
Nico
I don't like "secret" tweakables that one has to remember to set to make one's ...
8 years, 4 months ago (2012-08-15 16:32:18 UTC) #9
gab
On 2012/08/15 16:32:18, Nico wrote: > I don't like "secret" tweakables that one has to ...
8 years, 4 months ago (2012-08-15 19:33:02 UTC) #10
robertshield
http://codereview.chromium.org/10825342/diff/12002/tools/win/copy-installer.bat File tools/win/copy-installer.bat (right): http://codereview.chromium.org/10825342/diff/12002/tools/win/copy-installer.bat#newcode74 tools/win/copy-installer.bat:74: ECHO Renaming old %ARCHIVETODELETE% to %ARCHIVETODELETE%.old I'd just delete ...
8 years, 4 months ago (2012-08-15 19:38:32 UTC) #11
Nico
patch set 3 lgtm
8 years, 4 months ago (2012-08-15 19:40:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/10825342/1006
8 years, 4 months ago (2012-08-15 19:50:51 UTC) #13
commit-bot: I haz the power
Failed to apply patch for tools/win/copy-installer.bat: While running patch -p1 --forward --force; patching file tools/win/copy-installer.bat ...
8 years, 4 months ago (2012-08-15 19:50:53 UTC) #14
gab
@robert: tweaked it a little more, can you PTAL? Thanks! Gab
8 years, 4 months ago (2012-08-17 16:32:44 UTC) #15
robertshield
LGTM, w/ nits http://codereview.chromium.org/10825342/diff/1007/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): http://codereview.chromium.org/10825342/diff/1007/chrome/installer/setup/install_worker.cc#newcode120 chrome/installer/setup/install_worker.cc:120: // move it as mentionned above; ...
8 years, 4 months ago (2012-08-17 16:46:56 UTC) #16
gab
8 years, 4 months ago (2012-08-17 17:01:36 UTC) #17
merged both comments and fixed nits

http://codereview.chromium.org/10825342/diff/1007/chrome/installer/setup/inst...
File chrome/installer/setup/install_worker.cc (right):

http://codereview.chromium.org/10825342/diff/1007/chrome/installer/setup/inst...
chrome/installer/setup/install_worker.cc:120: // move it as mentionned above;
however if it is not in |temp_path| (e.g. in
On 2012/08/17 16:46:56, robertshield wrote:
> nit: mentioned

Oops didn't realize I'd left this comment there... unified it with the one
below.

http://codereview.chromium.org/10825342/diff/1007/chrome/installer/setup/inst...
chrome/installer/setup/install_worker.cc:128: // that setup.exe cannot be ran
again without regenerating the archive, so
On 2012/08/17 16:46:56, robertshield wrote:
> ran -> run

Done.

Powered by Google App Engine
This is Rietveld 408576698