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

Side by Side Diff: tools/win/copy-installer.bat

Issue 179903004: Always embed manifests, even in component builds! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add explicit 'EmbedManifest': 'false'; needed? Created 6 years, 9 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 ECHO OFF 1 ECHO OFF
2 2
3 REM Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 REM Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 REM Use of this source code is governed by a BSD-style license that can be 4 REM Use of this source code is governed by a BSD-style license that can be
5 REM found in the LICENSE file. 5 REM found in the LICENSE file.
6 6
7 REM Copies an installer and symbols from a build directory on a network share 7 REM Copies an installer and symbols from a build directory on a network share
8 REM into the directory \[out|build]\[Debug|Release] on the current drive. 8 REM into the directory \[out|build]\[Debug|Release] on the current drive.
9 REM 9 REM
10 REM Usage: 10 REM Usage:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 IF "%OUTPUT%%BUILDTYPE%"=="" ( 43 IF "%OUTPUT%%BUILDTYPE%"=="" (
44 ECHO No build found to copy. 44 ECHO No build found to copy.
45 EXIT 1 45 EXIT 1
46 ) 46 )
47 47
48 SET FROM=%FROM%\%OUTPUT%\%BUILDTYPE% 48 SET FROM=%FROM%\%OUTPUT%\%BUILDTYPE%
49 SET TO=\%OUTPUT%\%BUILDTYPE% 49 SET TO=\%OUTPUT%\%BUILDTYPE%
50 50
51 REM Figure out what files to copy based on the component type (shared/static). 51 REM Figure out what files to copy based on the component type (shared/static).
52 IF EXIST "%FROM%\base.dll" ( 52 IF EXIST "%FROM%\base.dll" (
53 SET TOCOPY=setup.exe setup.exe.manifest chrome.7z *.dll 53 SET TOCOPY=setup.exe chrome.7z *.dll
54 SET ARCHIVETODELETE=chrome.packed.7z 54 SET ARCHIVETODELETE=chrome.packed.7z
55 SET INSTALLER=setup.exe 55 SET INSTALLER=setup.exe
56 ) ELSE ( 56 ) ELSE (
57 SET TOCOPY=mini_installer.exe mini_installer.exe.pdb 57 SET TOCOPY=mini_installer.exe mini_installer.exe.pdb
58 SET INSTALLER=mini_installer.exe 58 SET INSTALLER=mini_installer.exe
59 ) 59 )
60 60
61 SET TOCOPY=%TOCOPY% *.dll.pdb chrome.exe.pdb setup.exe.pdb^ 61 SET TOCOPY=%TOCOPY% *.dll.pdb chrome.exe.pdb setup.exe.pdb^
62 delegate_execute.exe.pdb 62 delegate_execute.exe.pdb
63 63
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 ) 128 )
129 GOTO :EOF 129 GOTO :EOF
130 130
131 REM We can't use a for..in..do loop since we have wildcards, so we make a call 131 REM We can't use a for..in..do loop since we have wildcards, so we make a call
132 REM to this with the files to copy. 132 REM to this with the files to copy.
133 :_xcopy_hack 133 :_xcopy_hack
134 SHIFT 134 SHIFT
135 IF "%0"=="" GOTO :EOF 135 IF "%0"=="" GOTO :EOF
136 xcopy "%FROM%\%0" "%TO%" /d /y 136 xcopy "%FROM%\%0" "%TO%" /d /y
137 GOTO _xcopy_hack 137 GOTO _xcopy_hack
OLDNEW
« build/common.gypi ('K') | « chrome/tools/build/win/create_installer_archive.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698