Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / tools / build / win / release.rules
blob0f98ef21a38412be8ea908b72c527de4699cccc4
1 <?xml version="1.0" encoding="utf-8"?>
2 <VisualStudioToolFile
3         Name="installer archive"
4         Version="8.00"
5         >
6         <Rules>
7                 <CustomBuildRule
8                         Name="Create Installer Archive"
9                         DisplayName="Create Installer Archive"
10                         CommandLine="$(SolutionDir)..\third_party\python_24\python.exe $(SolutionDir)tools\build\win\create_installer_archive.py --output_dir=&quot;$(OutDir)&quot; --input_file=&quot;$(InputPath)&quot; --distribution=$(CHROMIUM_BUILD) --enable_hidpi=$(ENABLE_HIDPI) --enable_metro=$(ENABLE_METRO) [LastChromeInstaller] [SkipRebuildArchive] [SetupExeFormat] [DiffAlgorithm]"
11                         Outputs="$(OutDir)/$(InputName).7z;$(OutDir)/$(InputName).packed.7z;$(OutDir)/setup.ex_;$(OutDir)/packed_files.txt;"
12                         AdditionalDependencies="$(SolutionDir)\tools\build\win\create_installer_archive.py;$(OutDir)\chrome.exe;$(OutDir)\crash_reporter.exe;$(OutDir)\chrome.dll;$(OutDir)\locales\en-US.dll;$(OutDir)\icudt38.dll"
13                         FileExtensions="*.release"
14                         ExecutionDescription="create installer archive"
15                         >
16                         <Properties>
17                                 <StringProperty
18                                         Name="LastChromeInstaller"
19                                         DisplayName="Last Chrome Installer Directory"
20                                         Description="Directory where old version of installer is present (setup.exe and chrome.7z)"
21                                         Switch="--last_chrome_installer=&quot;[value]&quot;"
22                                 />
23                                 <StringProperty
24                                         Name="SkipRebuildArchive"
25                                         DisplayName="Skip Rebuilding Archive"
26                                         Description="Skips rebuilding chrome.7z archive if it already exists"
27                                         Switch="--skip_rebuild_archive=&quot;[value]&quot;"
28                                 />
29                                 <StringProperty
30                                         Name="SetupExeFormat"
31                                         DisplayName="Setup.exe format"
32                                         Description="The format that should be used to bundle setup.exe. Possible values - {COMPRESSED|DIFF|FULL}."
33                                         Switch="--setup_exe_format=&quot;[value]&quot;"
34                                 />
35                                 <StringProperty
36                                         Name="DiffAlgorithm"
37                                         DisplayName="Differential Algorithm"
38                                         Description="Differential algorithm to use when generating differential patch. Possible values - {BSDIFF|COURGETTE}."
39                                         Switch="--diff_algorithm=&quot;[value]&quot;"
40                                 />
41                         </Properties>
42                 </CustomBuildRule>
43         </Rules>
44 </VisualStudioToolFile>