summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 23:03:32 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 23:03:32 +0000
commitd5dbf9d9ccad36a514e89b49f7644252a3fa7682 (patch)
tree70daa6e4fb5069dc947d245d48f79b23dcd2f331 /chrome/installer
parente61018fb232d2e6d9e2a4a11e94e8e3072806373 (diff)
downloadchromium_src-d5dbf9d9ccad36a514e89b49f7644252a3fa7682.zip
chromium_src-d5dbf9d9ccad36a514e89b49f7644252a3fa7682.tar.gz
chromium_src-d5dbf9d9ccad36a514e89b49f7644252a3fa7682.tar.bz2
Snapshoting improvements for building with gyp under windows.
Added google_update and install utils. Review URL: http://codereview.chromium.org/39204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/prebuild/util_prebuild.gyp34
-rw-r--r--chrome/installer/util/util.gyp83
2 files changed, 117 insertions, 0 deletions
diff --git a/chrome/installer/util/prebuild/util_prebuild.gyp b/chrome/installer/util/prebuild/util_prebuild.gyp
new file mode 100644
index 0000000..1379e64
--- /dev/null
+++ b/chrome/installer/util/prebuild/util_prebuild.gyp
@@ -0,0 +1,34 @@
+{
+ 'includes': [
+ '../../../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'installer_util_prebuild',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'installer_util_strings',
+ 'inputs': [
+ 'create_string_rc.bat',
+ 'create_string_rc.py',
+ '../../../app/generated_resoruces.grd',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/installer_util_prebuild/installer_util_strings.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/installer_util_prebuild/installer_util_strings.h',
+ ],
+ 'action': [
+ './create_string_rc.bat',
+ '<(SHARED_INTERMEDIATE_DIR)/installer_util_prebuild'
+ ],
+ },
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/installer_util_prebuild',
+ ],
+ },
+ },
+ ],
+}
diff --git a/chrome/installer/util/util.gyp b/chrome/installer/util/util.gyp
new file mode 100644
index 0000000..cdf18f3
--- /dev/null
+++ b/chrome/installer/util/util.gyp
@@ -0,0 +1,83 @@
+{
+ 'includes': [
+ '../../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'installer_util',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'prebuild/util_prebuild.gyp:installer_util_prebuild',
+ '../../chrome.gyp:common',
+ '../../chrome.gyp:resources',
+ '../../../net/net.gyp:net_resources',
+ '../../../media/media.gyp:media',
+ '../../../skia/skia.gyp:skia',
+ '../../../third_party/icu38/icu38.gyp:icui18n',
+ '../../../third_party/icu38/icu38.gyp:icuuc',
+ '../../../third_party/libxml/libxml.gyp:libxml',
+ '../../../third_party/npapi/npapi.gyp:npapi',
+ '../../third_party/hunspell/hunspell.gyp:hunspell',
+ ],
+ 'include_dirs': [
+ '../../..',
+ # TODO(bradnelson): this should probably come from a using using_lzma
+ # file but I'll put it here for now.
+ '../../../third_party/lzma_sdk',
+ ],
+ 'defines': [
+ # TODO(bradnelson): this should probably come from a using using_lzma
+ # file but I'll put it here for now.
+ '_LZMA_IN_CB',
+ ],
+ 'sources': [
+ 'browser_distribution.cc',
+ 'browser_distribution.h',
+ 'compat_checks.cc',
+ 'compat_checks.h',
+ 'copy_tree_work_item.cc',
+ 'copy_tree_work_item.h',
+ 'create_dir_work_item.cc',
+ 'create_dir_work_item.h',
+ 'create_reg_key_work_item.cc',
+ 'create_reg_key_work_item.h',
+ 'delete_reg_value_work_item.cc',
+ 'delete_reg_value_work_item.h',
+ 'delete_tree_work_item.cc',
+ 'delete_tree_work_item.h',
+ 'google_chrome_distribution.cc',
+ 'google_chrome_distribution.h',
+ 'google_update_constants.cc',
+ 'google_update_constants.h',
+ 'google_update_settings.cc',
+ 'google_update_settings.h',
+ 'helper.cc',
+ 'helper.h',
+ 'html_dialog.h',
+ 'html_dialog_impl.cc',
+ 'install_util.cc',
+ 'install_util.h',
+ 'l10n_string_util.cc',
+ 'l10n_string_util.h',
+ 'logging_installer.cc',
+ 'logging_installer.h',
+ 'lzma_util.cc',
+ 'lzma_util.h',
+ 'master_preferences.cc',
+ 'master_preferences.h',
+ 'set_reg_value_work_item.cc',
+ 'set_reg_value_work_item.h',
+ 'shell_util.cc',
+ 'shell_util.h',
+ 'util_constants.cc',
+ 'util_constants.h',
+ 'version.cc',
+ 'version.h',
+ 'work_item.cc',
+ 'work_item.h',
+ 'work_item_list.cc',
+ 'work_item_list.h',
+ ],
+ },
+ ],
+}