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:
File diff suppressed because it is too large
Load Diff
34
chrome/installer/util/prebuild/util_prebuild.gyp
Normal file
34
chrome/installer/util/prebuild/util_prebuild.gyp
Normal file
@ -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',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
83
chrome/installer/util/util.gyp
Normal file
83
chrome/installer/util/util.gyp
Normal file
@ -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',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
26
google_update/google_update.gyp
Normal file
26
google_update/google_update.gyp
Normal file
@ -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',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user