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

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

Issue 14472: Initial generation of native Visual Studio solution files... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 '$GTEST_DIR/../using_gtest.scons', 10 '$GTEST_DIR/../using_gtest.scons',
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "pe_resource.cc", 80 "pe_resource.cc",
81 ] 81 ]
82 82
83 if env.Bit('windows'): 83 if env.Bit('windows'):
84 input_files.extend([ 84 input_files.extend([
85 "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj", 85 "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/memset.obj",
86 "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj", 86 "$VISUAL_STUDIO/VC/crt/src/intel/mt_lib/P4_memset.obj",
87 ]) 87 ])
88 input_files.extend(resources) 88 input_files.extend(resources)
89 89
90 env.ChromeProgram('mini_installer', input_files) 90 # TODO(port):
91 if env.Bit('windows'):
92 env.ChromeProgram('mini_installer', input_files)
91 93
92 94
93 env.AppendENVPath('PATH', r'C:\WINDOWS\system32') 95 env.AppendENVPath('PATH', r'C:\WINDOWS\system32')
94 96
95 packed = env.Command('$DESTINATION_ROOT/packed_files.txt', 97 # TODO(port):
96 ['$CHROME_DIR/tools/build/win/create_installer_archive.py', 98 if env.Bit('windows'):
97 '$CHROME_DIR/installer/mini_installer/chrome.release'], 99 packed = env.Command('$DESTINATION_ROOT/packed_files.txt',
98 ('$PYTHON ${SOURCES[0]}' 100 ['$CHROME_DIR/tools/build/win/create_installer_archive.py ',
99 ' --output_dir=${TARGET.dir}' 101 '$CHROME_DIR/installer/mini_installer/chrome.release'],
100 ' --input_file=${SOURCES[1]}')) 102 ('$PYTHON ${SOURCES[0]}'
101 env.Depends(packed, '$DESTINATION_ROOT/setup.exe') 103 ' --output_dir=${TARGET.dir}'
104 ' --input_file=${SOURCES[1]}'))
105 env.Depends(packed, '$DESTINATION_ROOT/setup.exe')
102 106
103 # mini_installer.rc depends on the generated packed_files.txt 107 # mini_installer.rc depends on the generated packed_files.txt
104 # TODO(sgk): implicit dependency should be picked up automatically 108 # TODO(sgk): implicit dependency should be picked up automatically
105 env.Depends(resources, packed) 109 env.Depends(resources, packed)
106 110
107 111
108 exe_version_rc = env.ChromeVersionRC('mini_installer_exe_version.rc', 112 # TODO(port):
109 'mini_installer_exe_version.rc.version', 113 if env.Bit('windows'):
110 PWD=Dir('.')) 114 exe_version_rc = env.ChromeVersionRC('mini_installer_exe_version.rc',
115 'mini_installer_exe_version.rc.version',
116 PWD=Dir('.'))
111 117
112 if env.Bit('windows'):
113 # TODO(sgk): implicit dependency should be picked up automatically 118 # TODO(sgk): implicit dependency should be picked up automatically
114 env_res.Depends(resources, exe_version_rc) 119 env_res.Depends(resources, exe_version_rc)
120
121 env.ChromeMSVSProject('$CHROME_DIR/installer/mini_installer/mini_installer.vcpro j',
122 dependencies = [
123 '$CHROME_DIR/app/locales/et.vcproj',
124 '$CHROME_DIR/app/locales/pt-PT.vcproj',
125 '$CHROME_DIR/app/locales/fr.vcproj',
126 '$CHROME_DIR/app/locales/uk.vcproj',
127 '$CHROME_DIR/installer/setup/setup.vcproj',
128 '$CHROME_DIR/app/locales/th.vcproj',
129 '$CHROME_DIR/app/locales/hi.vcproj',
130 '$CHROME_DIR/app/locales/gu.vcproj',
131 '$CHROME_DIR/app/locales/it.vcproj',
132 '$CHROME_DIR/app/locales/pt-BR.vcproj',
133 '$CHROME_DIR/app/locales/sr.vcproj',
134 '$CHROME_DIR/app/locales/ko.vcproj',
135 '$CHROME_DIR/app/locales/en-GB.vcproj',
136 '$CHROME_DIR/app/locales/fil.vcproj',
137 '$CHROME_DIR/app/locales/ar.vcproj',
138 '$CHROME_DIR/app/locales/kn.vcproj',
139 '$CHROME_DIR/app/locales/bn.vcproj',
140 '$CHROME_DIR/app/locales/es.vcproj',
141 '$CHROME_DIR/app/locales/bg.vcproj',
142 '$CHROME_DIR/app/locales/nl.vcproj',
143 '$CHROME_DIR/app/locales/fi.vcproj',
144 '$CHROME_DIR/app/locales/tr.vcproj',
145 '$CHROME_DIR/app/locales/ta.vcproj',
146 '$CHROME_DIR/app/chrome_exe.vcproj',
147 '$CHROME_DIR/app/locales/ru.vcproj',
148 '$CHROME_DIR/app/locales/cs.vcproj',
149 '$CHROME_DIR/app/locales/lt.vcproj',
150 '$CHROME_DIR/app/locales/sk.vcproj',
151 ('$CHROME_DIR/tools/crash_service/' +
152 'crash_service.vcproj'),
153 '$CHROME_DIR/app/locales/te.vcproj',
154 '$CHROME_DIR/app/locales/pl.vcproj',
155 '$ICU38_DIR/build/icudt.vcproj',
156 '$CHROME_DIR/app/locales/he.vcproj',
157 '$CHROME_DIR/app/locales/mr.vcproj',
158 '$CHROME_DIR/app/locales/da.vcproj',
159 '$CHROME_DIR/app/locales/lv.vcproj',
160 '$CHROME_DIR/app/locales/hu.vcproj',
161 '$CHROME_DIR/app/locales/sv.vcproj',
162 '$CHROME_DIR/app/locales/ja.vcproj',
163 '$CHROME_DIR/app/locales/nb.vcproj',
164 '$CHROME_DIR/app/locales/de.vcproj',
165 '$RLZ_DIR/rlz.vcproj',
166 '$CHROME_DIR/app/chrome_dll.vcproj',
167 '$CHROME_DIR/app/locales/zh-CN.vcproj',
168 '$CHROME_DIR/app/locales/sl.vcproj',
169 '$CHROME_DIR/app/locales/ro.vcproj',
170 '$CHROME_DIR/app/locales/ml.vcproj',
171 '$CHROME_DIR/app/locales/en-US.vcproj',
172 '$CHROME_DIR/app/locales/hr.vcproj',
173 '$CHROME_DIR/app/locales/el.vcproj',
174 '$CHROME_DIR/app/locales/vi.vcproj',
175 '$CHROME_DIR/app/locales/or.vcproj',
176 '$BSDIFF_DIR/bsdiff.vcproj',
177 '$CHROME_DIR/app/locales/id.vcproj',
178 '$CHROME_DIR/app/locales/zh-TW.vcproj',
179 '$CHROME_DIR/app/locales/ca.vcproj',
180 '$CHROME_DIR/app/locales/es-419.vcproj',
181 '$CHROME_DIR/app/theme/theme_dll.vcproj',
182 ],
183 guid='{24A5AC7C-280B-4899-9153-6BA570A081E7}')
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/installer_unittests.scons ('k') | chrome/installer/setup/setup.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698