0

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
This commit is contained in:
bradnelson@google.com
2009-03-06 23:03:32 +00:00
parent e61018fb23
commit d5dbf9d9cc
4 changed files with 720 additions and 219 deletions
chrome
google_update

File diff suppressed because it is too large Load Diff

@ -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',
],
},
},
],
}

@ -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',
],
},
],
}

@ -0,0 +1,26 @@
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../build/common.gypi',
],
'targets': [
{
'target_name': 'google_update',
'type': 'static_library',
'sources': [
'google_update_idl.idl',
'<(INTERMEDIATE_DIR)/google_update_idl_i.c',
'<(INTERMEDIATE_DIR)/google_update_idl_p.c',
],
'direct_dependent_settings': {
'include_dirs': [
# Bit of a hack to work around the built in vstudio rule.
'<(INTERMEDIATE_DIR)/../google_update',
],
},
},
],
}