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

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

Issue 589753005: gn: Fix build issues blocking gfx from being built (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted target.cc change Created 6 years, 3 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
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/common/BUILD.gn » ('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/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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #manifest_command = "$python_path gyp-win-tool manifest-wrapper $env mt.ex e -nologo -manifest $manifests -out:${dllname}.manifest" 104 #manifest_command = "$python_path gyp-win-tool manifest-wrapper $env mt.ex e -nologo -manifest $manifests -out:${dllname}.manifest"
105 #command = "cmd /c $link_command && $manifest_command" 105 #command = "cmd /c $link_command && $manifest_command"
106 command = link_command 106 command = link_command
107 107
108 default_output_extension = ".dll" 108 default_output_extension = ".dll"
109 description = "LINK(DLL) {{output}}" 109 description = "LINK(DLL) {{output}}"
110 outputs = [ 110 outputs = [
111 dllname, 111 dllname,
112 libname, 112 libname,
113 ] 113 ]
114 link_output = libname
115 depend_output = libname
114 # The use of inputs_newline is to work around a fixed per-line buffer 116 # The use of inputs_newline is to work around a fixed per-line buffer
115 # size in the linker. 117 # size in the linker.
116 rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}" 118 rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}"
117 } 119 }
118 120
119 tool("link") { 121 tool("link") {
120 rspfile = "{{output}}.rsp" 122 rspfile = "{{output}}.rsp"
121 123
122 link_command = "$python_path gyp-win-tool link-wrapper $env False link.exe /nologo /OUT:{{output}} /PDB:{{output}}.pdb @$rspfile" 124 link_command = "$python_path gyp-win-tool link-wrapper $env False link.exe /nologo /OUT:{{output}} /PDB:{{output}}.pdb @$rspfile"
123 125
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 msvc_toolchain("32") { 165 msvc_toolchain("32") {
164 environment = "environment.x86" 166 environment = "environment.x86"
165 cpu_arch = "x64" 167 cpu_arch = "x64"
166 } 168 }
167 169
168 msvc_toolchain("64") { 170 msvc_toolchain("64") {
169 environment = "environment.x64" 171 environment = "environment.x64"
170 cpu_arch = "x64" 172 cpu_arch = "x64"
171 force_win64 = true 173 force_win64 = true
172 } 174 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698