diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 20:43:26 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 20:43:26 +0000 |
commit | c66931ce8606697a5c500b02dff1ef2e15fdbf75 (patch) | |
tree | bef1128adcdcfe6ba7c0de287c8b7173e16da101 /chrome/chrome_installer.gypi | |
parent | b5d13670b02672a8eb4c77115b42e7f4e1a1dbf4 (diff) | |
download | chromium_src-c66931ce8606697a5c500b02dff1ef2e15fdbf75.zip chromium_src-c66931ce8606697a5c500b02dff1ef2e15fdbf75.tar.gz chromium_src-c66931ce8606697a5c500b02dff1ef2e15fdbf75.tar.bz2 |
Clean up temporary files and folders left over from previous installations.
Installation failures due to out-of-disk-space seem to be getting more
and more frequent and upon inspection, I found that we can in some cases
do a terrible job and leave cruft behind. Worst of all we can do this if
an installation fails due to low free disk space, thus only adding to the
problem. I suspect there maybe users stuck on a specific revision of
Chrome because of this.
I'm also implementing Robert's idea of supporting for a --cleanup command
line arg that can be passed to the mini installer to only do the cleanup
and not the installation.
BUG=74777
TEST=This should reduce the number of crashes we're getting due to out of disk space.
Review URL: http://codereview.chromium.org/6670023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_installer.gypi')
-rw-r--r-- | chrome/chrome_installer.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/chrome_installer.gypi b/chrome/chrome_installer.gypi index e270f7d..1e41e30 100644 --- a/chrome/chrome_installer.gypi +++ b/chrome/chrome_installer.gypi @@ -341,6 +341,9 @@ # below into a separate lib and then link both setup.exe and # setup_unittests.exe against that. 'sources': [ + 'installer/mini_installer/mini_string.cc', + 'installer/mini_installer/mini_string.h', + 'installer/mini_installer/mini_string_test.cc', 'installer/setup/install_worker.cc', # Move to lib 'installer/setup/install_worker.h', # Move to lib 'installer/setup/install_worker_unittest.cc', |