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

Side by Side Diff: chrome/installer/mini_installer/BUILD.gn

Issue 2018293002: Enable WPO for the x64 Official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@4702
Patch Set: Rebase. Created 4 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
« no previous file with comments | « build/config/compiler/compiler.gni ('k') | 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build_overrides/v8.gni") 7 import("//build_overrides/v8.gni")
8 import("//chrome/version.gni") 8 import("//chrome/version.gni")
9 import("//third_party/icu/config.gni") 9 import("//third_party/icu/config.gni")
10 import("//ui/base/ui_features.gni") 10 import("//ui/base/ui_features.gni")
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ] 158 ]
159 } 159 }
160 160
161 executable("mini_installer") { 161 executable("mini_installer") {
162 sources = [ 162 sources = [
163 "mini_installer.cc", 163 "mini_installer.cc",
164 packed_files_rc_file, 164 packed_files_rc_file,
165 ] 165 ]
166 166
167 # This target is special so we manually override most linker flags and 167 # This target is special so we manually override most linker flags and
168 # specify our own to keep the size down. 168 # specify our own to keep the size down. Also make sure that we don't use
169 # WPO as it's not supported by the mini installer.
169 configs -= [ 170 configs -= [
171 "//build/config/compiler:default_optimization",
170 "//build/config:executable_config", 172 "//build/config:executable_config",
171 "//build/config/win:console", 173 "//build/config/win:console",
172 ] 174 ]
173 configs += [ 175 configs += [
174 ":mini_installer_compiler_flags", 176 ":mini_installer_compiler_flags",
177 "//build/config/compiler:optimize_no_wpo",
175 "//build/config/win:sdk_link", 178 "//build/config/win:sdk_link",
176 "//build/config/win:windowed", 179 "//build/config/win:windowed",
177 ] 180 ]
178 181
179 ldflags = [ 182 ldflags = [
180 "/ENTRY:MainEntryPoint", 183 "/ENTRY:MainEntryPoint",
181 "/FIXED:NO", 184 "/FIXED:NO",
182 "/ignore:4199", 185 "/ignore:4199",
183 "/NXCOMPAT", 186 "/NXCOMPAT",
184 ] 187 ]
(...skipping 25 matching lines...) Expand all
210 args = [ 213 args = [
211 "--out", 214 "--out",
212 "$target_name.exe", 215 "$target_name.exe",
213 ] 216 ]
214 deps = [ 217 deps = [
215 ":mini_installer", 218 ":mini_installer",
216 "//chrome/installer/test:alternate_version_generator", 219 "//chrome/installer/test:alternate_version_generator",
217 ] 220 ]
218 } 221 }
219 } 222 }
OLDNEW
« no previous file with comments | « build/config/compiler/compiler.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698