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

Side by Side Diff: build/toolchain/win/BUILD.gn

Issue 330323003: Don't delete the manifest when linking on Windows in GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//build/config/win/visual_studio_version.gni") 5 import("//build/config/win/visual_studio_version.gni")
6 import("//build/toolchain/goma.gni") 6 import("//build/toolchain/goma.gni")
7 7
8 # Should only be running on Windows. 8 # Should only be running on Windows.
9 assert(is_win) 9 assert(is_win)
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 command = "$python_path gyp-win-tool asm-wrapper environment.x86 ml.exe \$de fines \$includes /c /Fo \$out \$in" 52 command = "$python_path gyp-win-tool asm-wrapper environment.x86 ml.exe \$de fines \$includes /c /Fo \$out \$in"
53 description = "ASM \$in" 53 description = "ASM \$in"
54 } 54 }
55 tool("alink") { 55 tool("alink") {
56 command = "$python_path gyp-win-tool link-wrapper environment.x86 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp" 56 command = "$python_path gyp-win-tool link-wrapper environment.x86 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp"
57 description = "LIB \$out" 57 description = "LIB \$out"
58 rspfile = "\$out.rsp" 58 rspfile = "\$out.rsp"
59 rspfile_content = "\$in_newline \$libflags" 59 rspfile_content = "\$in_newline \$libflags"
60 } 60 }
61 tool("solink") { 61 tool("solink") {
62 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 Fal se link.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $p ython_path gyp-win-tool manifest-wrapper environment.x86 cmd /c if exist \$dll.m anifest del \$dll.manifest && $python_path gyp-win-tool manifest-wrapper environ ment.x86 mt.exe -nologo -manifest \$manifests -out:\$dll.manifest" 62 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 Fal se link.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $p ython_path gyp-win-tool manifest-wrapper environment.x86 mt.exe -nologo -manifes t \$manifests -out:\$dll.manifest"
63 description = "LINK(DLL) \$dll" 63 description = "LINK(DLL) \$dll"
64 restat = "1" 64 restat = "1"
65 rspfile = "\$dll.rsp" 65 rspfile = "\$dll.rsp"
66 rspfile_content = "\$libs \$in_newline \$ldflags" 66 rspfile_content = "\$libs \$in_newline \$ldflags"
67 } 67 }
68 tool("link") { 68 tool("link") {
69 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 Fal se link.exe /nologo /OUT:\$out /PDB:\$out.pdb @\$out.rsp && $python_path gyp-win -tool manifest-wrapper environment.x86 cmd /c if exist \$out.manifest del \$out. manifest && $python_path gyp-win-tool manifest-wrapper environment.x86 mt.exe -n ologo -manifest \$manifests -out:\$out.manifest" 69 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 Fal se link.exe /nologo /OUT:\$out /PDB:\$out.pdb @\$out.rsp && $python_path gyp-win -tool manifest-wrapper environment.x86 mt.exe -nologo -manifest \$manifests -out :\$out.manifest"
70 description = "LINK \$out" 70 description = "LINK \$out"
71 rspfile = "\$out.rsp" 71 rspfile = "\$out.rsp"
72 rspfile_content = "\$in_newline \$libs \$ldflags" 72 rspfile_content = "\$in_newline \$libs \$ldflags"
73 } 73 }
74 tool("stamp") { 74 tool("stamp") {
75 command = stamp_command 75 command = stamp_command
76 description = "STAMP \$out" 76 description = "STAMP \$out"
77 } 77 }
78 tool("copy") { 78 tool("copy") {
79 command = copy_command 79 command = copy_command
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 command = "$python_path gyp-win-tool asm-wrapper environment.x64 ml.exe \$de fines \$includes /c /Fo \$out \$in" 111 command = "$python_path gyp-win-tool asm-wrapper environment.x64 ml.exe \$de fines \$includes /c /Fo \$out \$in"
112 description = "ASM \$in" 112 description = "ASM \$in"
113 } 113 }
114 tool("alink") { 114 tool("alink") {
115 command = "$python_path gyp-win-tool link-wrapper environment.x64 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp" 115 command = "$python_path gyp-win-tool link-wrapper environment.x64 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp"
116 description = "LIB \$out" 116 description = "LIB \$out"
117 rspfile = "\$out.rsp" 117 rspfile = "\$out.rsp"
118 rspfile_content = "\$in_newline \$libflags" 118 rspfile_content = "\$in_newline \$libflags"
119 } 119 }
120 tool("solink") { 120 tool("solink") {
121 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 Fal se link.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $p ython_path gyp-win-tool manifest-wrapper environment.x64 cmd /c if exist \$dll.m anifest del \$dll.manifest && $python_path gyp-win-tool manifest-wrapper environ ment.x64 mt.exe -nologo -manifest \$manifests -out:\$dll.manifest" 121 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 Fal se link.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $p ython_path gyp-win-tool manifest-wrapper environment.x64 mt.exe -nologo -manifes t \$manifests -out:\$dll.manifest"
122 description = "LINK(DLL) \$dll" 122 description = "LINK(DLL) \$dll"
123 restat = "1" 123 restat = "1"
124 rspfile = "\$dll.rsp" 124 rspfile = "\$dll.rsp"
125 rspfile_content = "\$libs \$in_newline \$ldflags" 125 rspfile_content = "\$libs \$in_newline \$ldflags"
126 } 126 }
127 tool("link") { 127 tool("link") {
128 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 Fal se link.exe /nologo /OUT:\$out /PDB:\$out.pdb @\$out.rsp && $python_path gyp-win -tool manifest-wrapper environment.x64 cmd /c if exist \$out.manifest del \$out. manifest && $python_path gyp-win-tool manifest-wrapper environment.x64 mt.exe -n ologo -manifest \$manifests -out:\$out.manifest" 128 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 Fal se link.exe /nologo /OUT:\$out /PDB:\$out.pdb @\$out.rsp && $python_path gyp-win -tool manifest-wrapper environment.x64 mt.exe -nologo -manifest \$manifests -out :\$out.manifest"
129 description = "LINK \$out" 129 description = "LINK \$out"
130 rspfile = "\$out.rsp" 130 rspfile = "\$out.rsp"
131 rspfile_content = "\$in_newline \$libs \$ldflags" 131 rspfile_content = "\$in_newline \$libs \$ldflags"
132 } 132 }
133 tool("stamp") { 133 tool("stamp") {
134 command = stamp_command 134 command = stamp_command
135 description = "STAMP \$out" 135 description = "STAMP \$out"
136 } 136 }
137 tool("copy") { 137 tool("copy") {
138 command = copy_command 138 command = copy_command
139 description = "COPY \$in \$out" 139 description = "COPY \$in \$out"
140 } 140 }
141 141
142 # When invoking this toolchain not as the default one, these args will be 142 # When invoking this toolchain not as the default one, these args will be
143 # passed to the build. They are ignored when this is the default toolchain. 143 # passed to the build. They are ignored when this is the default toolchain.
144 toolchain_args() { 144 toolchain_args() {
145 cpu_arch = "x64" 145 cpu_arch = "x64"
146 # Normally the build config resets the CPU architecture to 32-bits. Setting 146 # Normally the build config resets the CPU architecture to 32-bits. Setting
147 # this flag overrides that behavior. 147 # this flag overrides that behavior.
148 force_win64 = true 148 force_win64 = true
149 } 149 }
150 } 150 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698