summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-20 02:36:32 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-20 02:36:32 +0000
commit119e524fbad1110f0e898d5bc24cbdefa9436415 (patch)
tree860d67ac4008ffe5cfbb1382561e99c3b2fe37cb /chrome/installer
parentaeea2296573c8788e576bd283cb53206e4ee26f4 (diff)
downloadchromium_src-119e524fbad1110f0e898d5bc24cbdefa9436415.zip
chromium_src-119e524fbad1110f0e898d5bc24cbdefa9436415.tar.gz
chromium_src-119e524fbad1110f0e898d5bc24cbdefa9436415.tar.bz2
Capture settings for mini_installer.exe:
* Dependency on gtest. * Add intel\mt_lib\{P4_,}memset.obj as AdditionalDependencies. * Update library directories. * Make sure BasicRuntimeChecks=0 for both Debug and Release. * The manifest now comes from the sources list, not in AdditionalManifestFiles. * AdditionalOptions to override the build/common.gypi defaults. * GenerateMapFile * Fix spelling errors. BUG=none TEST=none Review URL: http://codereview.chromium.org/141015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/installer.gyp33
1 files changed, 29 insertions, 4 deletions
diff --git a/chrome/installer/installer.gyp b/chrome/installer/installer.gyp
index a8fc20e..5820abd 100644
--- a/chrome/installer/installer.gyp
+++ b/chrome/installer/installer.gyp
@@ -319,6 +319,7 @@
'dependencies': [
'../chrome.gyp:chrome',
'../chrome.gyp:chrome_dll',
+ '../../testing/gtest.gyp:gtest',
'setup',
],
'include_dirs': [
@@ -339,18 +340,41 @@
],
'msvs_settings': {
'VCCLCompilerTool': {
- 'EnableIntrinicFunctions': 'true',
- 'BasicRuntimeChekcs': '0',
+ 'EnableIntrinsicFunctions': 'true',
'BufferSecurityCheck': 'false',
},
'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ '"$(VCInstallDir)crt\\src\\intel\\mt_lib\\memset.obj"',
+ '"$(VCInstallDir)crt\\src\\intel\\mt_lib\\P4_memset.obj"',
+ 'shlwapi.lib',
+ ],
+ 'AdditionalLibraryDirectories':
+ '<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib;<(PRODUCT_DIR)/lib',
+ 'AdditionalOptions':
+ '/safeseh:NO /dynamicbase:no /nxcompat /fixed',
+ 'DelayLoadDLLs=': [],
'EntryPointSymbol': 'MainEntryPoint',
+ 'GenerateMapFile': 'true',
'IgnoreAllDefaultLibraries': 'true',
'OptimizeForWindows98': '1',
'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
},
- 'VCManifestTool': {
- 'AdditionalManifestFiles': '$(SolutionDir)installer\\mini_installer\\mini_installer.exe.manifest',
+ },
+ 'configurations': {
+ 'Debug': {
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'BasicRuntimeChecks': '0',
+ },
+ },
+ },
+ 'Release': {
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'BasicRuntimeChecks': '0',
+ },
+ },
},
},
'rules': [
@@ -410,6 +434,7 @@
#'--distribution=$(CHROMIUM_BUILD)',
'--distribution=_google_chrome',
],
+ 'message': 'Create installer archive'
},
],
# TODO(mark): <(branding_dir) should be defined by the