| Index: chrome/installer/mini_installer/mini_installer.scons
|
| ===================================================================
|
| --- chrome/installer/mini_installer/mini_installer.scons (revision 7290)
|
| +++ chrome/installer/mini_installer/mini_installer.scons (working copy)
|
| @@ -87,28 +87,97 @@
|
| ])
|
| input_files.extend(resources)
|
|
|
| -env.ChromeProgram('mini_installer', input_files)
|
| +# TODO(port):
|
| +if env.Bit('windows'):
|
| + env.ChromeProgram('mini_installer', input_files)
|
|
|
|
|
| env.AppendENVPath('PATH', r'C:\WINDOWS\system32')
|
|
|
| -packed = env.Command('$DESTINATION_ROOT/packed_files.txt',
|
| - ['$CHROME_DIR/tools/build/win/create_installer_archive.py',
|
| - '$CHROME_DIR/installer/mini_installer/chrome.release'],
|
| - ('$PYTHON ${SOURCES[0]}'
|
| - ' --output_dir=${TARGET.dir}'
|
| - ' --input_file=${SOURCES[1]}'))
|
| -env.Depends(packed, '$DESTINATION_ROOT/setup.exe')
|
| +# TODO(port):
|
| +if env.Bit('windows'):
|
| + packed = env.Command('$DESTINATION_ROOT/packed_files.txt',
|
| + ['$CHROME_DIR/tools/build/win/create_installer_archive.py',
|
| + '$CHROME_DIR/installer/mini_installer/chrome.release'],
|
| + ('$PYTHON ${SOURCES[0]}'
|
| + ' --output_dir=${TARGET.dir}'
|
| + ' --input_file=${SOURCES[1]}'))
|
| + env.Depends(packed, '$DESTINATION_ROOT/setup.exe')
|
|
|
| -# mini_installer.rc depends on the generated packed_files.txt
|
| -# TODO(sgk): implicit dependency should be picked up automatically
|
| -env.Depends(resources, packed)
|
| + # mini_installer.rc depends on the generated packed_files.txt
|
| + # TODO(sgk): implicit dependency should be picked up automatically
|
| + env.Depends(resources, packed)
|
|
|
|
|
| -exe_version_rc = env.ChromeVersionRC('mini_installer_exe_version.rc',
|
| - 'mini_installer_exe_version.rc.version',
|
| - PWD=Dir('.'))
|
| +# TODO(port):
|
| +if env.Bit('windows'):
|
| + exe_version_rc = env.ChromeVersionRC('mini_installer_exe_version.rc',
|
| + 'mini_installer_exe_version.rc.version',
|
| + PWD=Dir('.'))
|
|
|
| -if env.Bit('windows'):
|
| # TODO(sgk): implicit dependency should be picked up automatically
|
| env_res.Depends(resources, exe_version_rc)
|
| +
|
| +env.ChromeMSVSProject('$CHROME_DIR/installer/mini_installer/mini_installer.vcproj',
|
| + dependencies = [
|
| + '$CHROME_DIR/app/locales/et.vcproj',
|
| + '$CHROME_DIR/app/locales/pt-PT.vcproj',
|
| + '$CHROME_DIR/app/locales/fr.vcproj',
|
| + '$CHROME_DIR/app/locales/uk.vcproj',
|
| + '$CHROME_DIR/installer/setup/setup.vcproj',
|
| + '$CHROME_DIR/app/locales/th.vcproj',
|
| + '$CHROME_DIR/app/locales/hi.vcproj',
|
| + '$CHROME_DIR/app/locales/gu.vcproj',
|
| + '$CHROME_DIR/app/locales/it.vcproj',
|
| + '$CHROME_DIR/app/locales/pt-BR.vcproj',
|
| + '$CHROME_DIR/app/locales/sr.vcproj',
|
| + '$CHROME_DIR/app/locales/ko.vcproj',
|
| + '$CHROME_DIR/app/locales/en-GB.vcproj',
|
| + '$CHROME_DIR/app/locales/fil.vcproj',
|
| + '$CHROME_DIR/app/locales/ar.vcproj',
|
| + '$CHROME_DIR/app/locales/kn.vcproj',
|
| + '$CHROME_DIR/app/locales/bn.vcproj',
|
| + '$CHROME_DIR/app/locales/es.vcproj',
|
| + '$CHROME_DIR/app/locales/bg.vcproj',
|
| + '$CHROME_DIR/app/locales/nl.vcproj',
|
| + '$CHROME_DIR/app/locales/fi.vcproj',
|
| + '$CHROME_DIR/app/locales/tr.vcproj',
|
| + '$CHROME_DIR/app/locales/ta.vcproj',
|
| + '$CHROME_DIR/app/chrome_exe.vcproj',
|
| + '$CHROME_DIR/app/locales/ru.vcproj',
|
| + '$CHROME_DIR/app/locales/cs.vcproj',
|
| + '$CHROME_DIR/app/locales/lt.vcproj',
|
| + '$CHROME_DIR/app/locales/sk.vcproj',
|
| + ('$CHROME_DIR/tools/crash_service/' +
|
| + 'crash_service.vcproj'),
|
| + '$CHROME_DIR/app/locales/te.vcproj',
|
| + '$CHROME_DIR/app/locales/pl.vcproj',
|
| + '$ICU38_DIR/build/icudt.vcproj',
|
| + '$CHROME_DIR/app/locales/he.vcproj',
|
| + '$CHROME_DIR/app/locales/mr.vcproj',
|
| + '$CHROME_DIR/app/locales/da.vcproj',
|
| + '$CHROME_DIR/app/locales/lv.vcproj',
|
| + '$CHROME_DIR/app/locales/hu.vcproj',
|
| + '$CHROME_DIR/app/locales/sv.vcproj',
|
| + '$CHROME_DIR/app/locales/ja.vcproj',
|
| + '$CHROME_DIR/app/locales/nb.vcproj',
|
| + '$CHROME_DIR/app/locales/de.vcproj',
|
| + '$RLZ_DIR/rlz.vcproj',
|
| + '$CHROME_DIR/app/chrome_dll.vcproj',
|
| + '$CHROME_DIR/app/locales/zh-CN.vcproj',
|
| + '$CHROME_DIR/app/locales/sl.vcproj',
|
| + '$CHROME_DIR/app/locales/ro.vcproj',
|
| + '$CHROME_DIR/app/locales/ml.vcproj',
|
| + '$CHROME_DIR/app/locales/en-US.vcproj',
|
| + '$CHROME_DIR/app/locales/hr.vcproj',
|
| + '$CHROME_DIR/app/locales/el.vcproj',
|
| + '$CHROME_DIR/app/locales/vi.vcproj',
|
| + '$CHROME_DIR/app/locales/or.vcproj',
|
| + '$BSDIFF_DIR/bsdiff.vcproj',
|
| + '$CHROME_DIR/app/locales/id.vcproj',
|
| + '$CHROME_DIR/app/locales/zh-TW.vcproj',
|
| + '$CHROME_DIR/app/locales/ca.vcproj',
|
| + '$CHROME_DIR/app/locales/es-419.vcproj',
|
| + '$CHROME_DIR/app/theme/theme_dll.vcproj',
|
| + ],
|
| + guid='{24A5AC7C-280B-4899-9153-6BA570A081E7}')
|
|
|