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

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

Issue 139283005: Pull new GN binary @ r247206 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « build/config/win/BUILD.gn ('k') | tools/gn/bin/linux/gn.sha1 » ('j') | 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/toolchain/goma.gni") 5 import("//build/toolchain/goma.gni")
6 6
7 # Should only be running on Windows. 7 # Should only be running on Windows.
8 assert(is_win) 8 assert(is_win)
9 9
10 import("//build/config/win/visual_studio_version.gni") 10 import("//build/config/win/visual_studio_version.gni")
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 command = "$python_path gyp-win-tool asm-wrapper environment.x86 ml.exe \$de fines \$includes /c /Fo \$out \$in" 57 command = "$python_path gyp-win-tool asm-wrapper environment.x86 ml.exe \$de fines \$includes /c /Fo \$out \$in"
58 description = "ASM \$in" 58 description = "ASM \$in"
59 } 59 }
60 tool("alink") { 60 tool("alink") {
61 command = "$python_path gyp-win-tool link-wrapper environment.x86 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp" 61 command = "$python_path gyp-win-tool link-wrapper environment.x86 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp"
62 description = "LIB \$out" 62 description = "LIB \$out"
63 rspfile = "\$out.rsp" 63 rspfile = "\$out.rsp"
64 rspfile_content = "\$in_newline \$libflags" 64 rspfile_content = "\$in_newline \$libflags"
65 } 65 }
66 tool("solink") { 66 tool("solink") {
67 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 lin k.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $python_ path gyp-win-tool manifest-wrapper environment.x86 cmd /c if exist \$dll.manifes t del \$dll.manifest && $python_path gyp-win-tool manifest-wrapper environment.x 86 mt.exe -nologo -manifest \$manifests -out:\$dll.manifest" 67 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"
68 description = "LINK(DLL) \$dll" 68 description = "LINK(DLL) \$dll"
69 restat = "1" 69 restat = "1"
70 rspfile = "\$dll.rsp" 70 rspfile = "\$dll.rsp"
71 rspfile_content = "\$libs \$in_newline \$ldflags" 71 rspfile_content = "\$libs \$in_newline \$ldflags"
72 } 72 }
73 tool("link") { 73 tool("link") {
74 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x86 lin k.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.manife st && $python_path gyp-win-tool manifest-wrapper environment.x86 mt.exe -nologo -manifest \$manifests -out:\$out.manifest" 74 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"
75 description = "LINK \$out" 75 description = "LINK \$out"
76 rspfile = "\$out.rsp" 76 rspfile = "\$out.rsp"
77 rspfile_content = "\$in_newline \$libs \$ldflags" 77 rspfile_content = "\$in_newline \$libs \$ldflags"
78 } 78 }
79 tool("stamp") { 79 tool("stamp") {
80 command = stamp_command 80 command = stamp_command
81 description = "STAMP \$out" 81 description = "STAMP \$out"
82 } 82 }
83 tool("copy") { 83 tool("copy") {
84 command = copy_command 84 command = copy_command
(...skipping 25 matching lines...) Expand all
110 } 110 }
111 tool("rc") { 111 tool("rc") {
112 command = "$python_path gyp-win-tool rc-wrapper environment.x64 rc.exe \$def ines \$includes \$rcflags /fo\$out \$in" 112 command = "$python_path gyp-win-tool rc-wrapper environment.x64 rc.exe \$def ines \$includes \$rcflags /fo\$out \$in"
113 description = "RC \$in" 113 description = "RC \$in"
114 } 114 }
115 tool("asm") { 115 tool("asm") {
116 command = "$python_path gyp-win-tool asm-wrapper environment.x64 ml.exe \$de fines \$includes /c /Fo \$out \$in" 116 command = "$python_path gyp-win-tool asm-wrapper environment.x64 ml.exe \$de fines \$includes /c /Fo \$out \$in"
117 description = "ASM \$in" 117 description = "ASM \$in"
118 } 118 }
119 tool("alink") { 119 tool("alink") {
120 command = "$python_path gyp-win-tool link-wrapper environment.x64 lib.exe /n ologo /ignore:4221 /OUT:\$out @\$out.rsp" 120 command = "$python_path gyp-win-tool link-wrapper environment.x64 False lib. exe /nologo /ignore:4221 /OUT:\$out @\$out.rsp"
121 description = "LIB \$out" 121 description = "LIB \$out"
122 rspfile = "\$out.rsp" 122 rspfile = "\$out.rsp"
123 rspfile_content = "\$in_newline \$libflags" 123 rspfile_content = "\$in_newline \$libflags"
124 } 124 }
125 tool("solink") { 125 tool("solink") {
126 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 lin k.exe /nologo \$implibflag /DLL /OUT:\$dll /PDB:\$dll.pdb @\$dll.rsp && $python_ path gyp-win-tool manifest-wrapper environment.x64 cmd /c if exist \$dll.manifes t del \$dll.manifest && $python_path gyp-win-tool manifest-wrapper environment.x 64 mt.exe -nologo -manifest \$manifests -out:\$dll.manifest" 126 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"
127 description = "LINK(DLL) \$dll" 127 description = "LINK(DLL) \$dll"
128 restat = "1" 128 restat = "1"
129 rspfile = "\$dll.rsp" 129 rspfile = "\$dll.rsp"
130 rspfile_content = "\$libs \$in_newline \$ldflags" 130 rspfile_content = "\$libs \$in_newline \$ldflags"
131 } 131 }
132 tool("link") { 132 tool("link") {
133 command = "cmd /c $python_path gyp-win-tool link-wrapper environment.x64 lin k.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.manife st && $python_path gyp-win-tool manifest-wrapper environment.x64 mt.exe -nologo -manifest \$manifests -out:\$out.manifest" 133 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"
134 description = "LINK \$out" 134 description = "LINK \$out"
135 rspfile = "\$out.rsp" 135 rspfile = "\$out.rsp"
136 rspfile_content = "\$in_newline \$libs \$ldflags" 136 rspfile_content = "\$in_newline \$libs \$ldflags"
137 } 137 }
138 tool("stamp") { 138 tool("stamp") {
139 command = stamp_command 139 command = stamp_command
140 description = "STAMP \$out" 140 description = "STAMP \$out"
141 } 141 }
142 tool("copy") { 142 tool("copy") {
143 command = copy_command 143 command = copy_command
144 description = "COPY \$in \$out" 144 description = "COPY \$in \$out"
145 } 145 }
146 146
147 # When invoking this toolchain not as the default one, these args will be 147 # When invoking this toolchain not as the default one, these args will be
148 # passed to the build. They are ignored when this is the default toolchain. 148 # passed to the build. They are ignored when this is the default toolchain.
149 toolchain_args() { 149 toolchain_args() {
150 cpu_arch = "x64" 150 cpu_arch = "x64"
151 # Normally the build config resets the CPU architecture to 32-bits. Setting 151 # Normally the build config resets the CPU architecture to 32-bits. Setting
152 # this flag overrides that behavior. 152 # this flag overrides that behavior.
153 force_win64 = true 153 force_win64 = true
154 } 154 }
155 } 155 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | tools/gn/bin/linux/gn.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698