diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 16:44:37 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 16:44:37 +0000 |
commit | f0260d27d34e40f2e619fb7a16dcd7f9d63fc683 (patch) | |
tree | 7e7c9e83bbd2f67b4bbbe11d076c7cc70abd8855 /chrome/chrome_installer_util.gypi | |
parent | ce7937429f63f3d966346fcd973d720f268cd888 (diff) | |
download | chromium_src-f0260d27d34e40f2e619fb7a16dcd7f9d63fc683.zip chromium_src-f0260d27d34e40f2e619fb7a16dcd7f9d63fc683.tar.gz chromium_src-f0260d27d34e40f2e619fb7a16dcd7f9d63fc683.tar.bz2 |
More installer refactoring in the interest of fixing some bugs and cleaning things up:
- Introduced ProductOperations: an interface implemented for each product that takes care of product-specific functions. Each Product owns an instance and delegates certain operations to it.
- Removed the use of MasterPreferences by BrowserDistribution so that the former isn't needed outside of the installer.
- Replaced PackageProperties with a new BrowserDistribution type (CHROME_BINARIES)
- Plumbed the concept of InstallerState more thoroughly through installer
- Removed ProductPackageMapping and Package
- Moved more registry read ops into ProductState
- Validation of products to be installed is now done in CheckPreInstallConditions
- Ignore --chrome-frame --ready-mode if chrome is also being installed/updated and a SxS GCF is found (chrome is updated).
- Migrates existing single-install Chrome to multi-install where appropriate.
- Fixes update to Chrome's uninstallation arguments when Chrome Frame is uninstalled.
- Removed dead code from install.cc.
- Added code to update products' "ap" values when ready-mode is accepted.
- Skip post-install things such as launching the browser when Chrome was implicitly added to the install/upgrade process by virtue of being part of a multi-install.
BUG=61609
TEST=run the installer, see it work. existing tests in installer_util_unittests have been updated; new tests are included for ProductState, ChannelInfo, etc.
Review URL: http://codereview.chromium.org/6288009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_installer_util.gypi')
-rw-r--r-- | chrome/chrome_installer_util.gypi | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/chrome/chrome_installer_util.gypi b/chrome/chrome_installer_util.gypi index 72601bb..3f852bc 100644 --- a/chrome/chrome_installer_util.gypi +++ b/chrome/chrome_installer_util.gypi @@ -17,6 +17,8 @@ 'installer/util/channel_info.h', 'installer/util/chrome_frame_distribution.cc', 'installer/util/chrome_frame_distribution.h', + 'installer/util/chromium_binaries_distribution.cc', + 'installer/util/chromium_binaries_distribution.h', 'installer/util/conditional_work_item_list.cc', 'installer/util/conditional_work_item_list.h', 'installer/util/copy_tree_work_item.cc', @@ -31,6 +33,8 @@ 'installer/util/delete_reg_value_work_item.h', 'installer/util/delete_tree_work_item.cc', 'installer/util/delete_tree_work_item.h', + 'installer/util/google_chrome_binaries_distribution.cc', + 'installer/util/google_chrome_binaries_distribution.h', 'installer/util/google_chrome_sxs_distribution.cc', 'installer/util/google_chrome_sxs_distribution.h', 'installer/util/google_update_constants.cc', @@ -53,10 +57,6 @@ 'installer/util/master_preferences_constants.h', 'installer/util/move_tree_work_item.cc', 'installer/util/move_tree_work_item.h', - 'installer/util/package.h', - 'installer/util/package.cc', - 'installer/util/package_properties.h', - 'installer/util/package_properties.cc', 'installer/util/self_reg_work_item.cc', 'installer/util/self_reg_work_item.h', 'installer/util/set_reg_value_work_item.cc', @@ -99,6 +99,12 @@ '<(DEPTH)/third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk', ], 'sources': [ + 'installer/util/chrome_browser_operations.cc', + 'installer/util/chrome_browser_operations.h', + 'installer/util/chrome_browser_sxs_operations.cc', + 'installer/util/chrome_browser_sxs_operations.h', + 'installer/util/chrome_frame_operations.cc', + 'installer/util/chrome_frame_operations.h', 'installer/util/compat_checks.cc', 'installer/util/compat_checks.h', 'installer/util/delete_after_reboot_helper.cc', @@ -115,6 +121,7 @@ 'installer/util/master_preferences.h', 'installer/util/product.h', 'installer/util/product.cc', + 'installer/util/product_operations.h', 'installer/util/shell_util.cc', 'installer/util/shell_util.h', ], |