Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/installer/setup/setup.scons

Issue 17603: Generate all chrome .vcproj files: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.ApplySConscript([ 9 env.ApplySConscript([
10 '$BASE_DIR/using_base.scons', 10 '$BASE_DIR/using_base.scons',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 '/ignore:4199', 65 '/ignore:4199',
66 '/nxcompat', 66 '/nxcompat',
67 67
68 '/PDB:${TARGETS[1]}', 68 '/PDB:${TARGETS[1]}',
69 ], 69 ],
70 LIBS = [ 70 LIBS = [
71 'msi', 71 'msi',
72 ], 72 ],
73 ) 73 )
74 74
75 75 input_files = ChromeFileList([
76 input_files = [ 76 # TODO(sgk): violate standard indentation so we don't have to
77 # reindent too much when we remove the explicit MSVSFilter() calls
78 # in favor of generating the hierarchy to reflect the file system.
79 MSVSFilter('resources', [
80 'setup.ico',
81 'setup.rc',
82 'setup_exe_version.rc.version',
83 'setup_resource.h',
84 ]),
77 'install.cc', 85 'install.cc',
78 'main.cc', 86 'main.cc',
79 'setup.cc', 87 'setup.cc',
88 'setup.h',
80 'setup_constants.cc', 89 'setup_constants.cc',
90 'setup_constants.h',
81 'uninstall.cc', 91 'uninstall.cc',
82 ] 92 'uninstall.h',
93 ])
83 94
84 # TODO(port): 95 # TODO(port):
85 if env.Bit('windows'): 96 if env.Bit('windows'):
86 env.ChromeProgram('setup', resources + input_files) 97 env.ChromeProgram('setup', resources + input_files[1:])
87 98
88 env.ChromeMSVSProject('$CHROME_DIR/installer/setup/setup.vcproj', 99 p = env.ChromeMSVSProject('setup.vcproj',
89 dependencies = [ 100 dest=('$CHROME_SRC_DIR/chrome/'
90 '$BASE_DIR/build/base.vcproj', 101 + 'installer/setup/setup.vcproj'),
91 '$CHROME_DIR/common/common.vcproj', 102 guid='{21C76E6E-8B38-44D6-8148-B589C13B9554}',
92 '$ICU38_DIR/build/icu.vcproj', 103 keyword='Win32Proj',
93 '$LZMA_SDK_DIR/7z_C.vcproj', 104 dependencies = [
94 '$BSPATCH_DIR/bspatch.vcproj', 105 '$BASE_DIR/build/base.vcproj',
95 '$CHROME_DIR/installer/util/util.vcproj', 106 '$CHROME_DIR/common/common.vcproj',
96 ], 107 '$ICU38_DIR/build/icu.vcproj',
97 guid='{21C76E6E-8B38-44D6-8148-B589C13B9554}') 108 '$LZMA_SDK_DIR/7z_C.vcproj',
109 '$BSPATCH_DIR/bspatch.vcproj',
110 '$CHROME_DIR/installer/util/util.vcproj',
111 ],
112 # TODO(sgk): when we can intuit the hierarchy
113 # from the built targets.
114 #buildtargets=TODO,
115 files=input_files,
116 relative_path_prefix='./',
117 tools=[
118 'Version',
119 'VCCLCompilerTool',
120 'VCResourceCompilerTool',
121 'VCLinkerTool',
122 'VCManifestTool',
123 ],
124 ConfigurationType='1')
125
126 p.AddToolFile('$CHROME_DIR/tools/build/win/version.rules')
127
128 p.AddConfig('Debug|Win32',
129 InheritedPropertySheets=[
130 './setup_debug.vsprops',
131 '$(SolutionDir)installer/util/using_util.vsprops',
132 ])
133
134 p.AddConfig('Release|Win32',
135 InheritedPropertySheets=[
136 './setup_release.vsprops',
137 '$(SolutionDir)installer/util/using_util.vsprops',
138 ])
98 139
99 # TODO(port): 140 # TODO(port):
100 if env.Bit('windows'): 141 if env.Bit('windows'):
101 exe_version_rc = env.ChromeVersionRC('setup_exe_version.rc', 142 exe_version_rc = env.ChromeVersionRC('setup_exe_version.rc',
102 'setup_exe_version.rc.version', 143 'setup_exe_version.rc.version',
103 PWD = env.Dir('.')) 144 PWD = env.Dir('.'))
104 145
105 # TODO(sgk): implicit dependency should be picked up automatically 146 # TODO(sgk): implicit dependency should be picked up automatically
106 env_res.Depends(resources, exe_version_rc) 147 env_res.Depends(resources, exe_version_rc)
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/mini_installer.scons ('k') | chrome/installer/util/installer_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698