OLD | NEW |
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 | 10 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 # same size as the GYP build. | 172 # same size as the GYP build. |
173 executable("mini_installer") { | 173 executable("mini_installer") { |
174 sources = [ | 174 sources = [ |
175 "mini_installer.cc", | 175 "mini_installer.cc", |
176 packed_files_rc_file, | 176 packed_files_rc_file, |
177 ] | 177 ] |
178 | 178 |
179 # This target is special so we manually override most linker flags and | 179 # This target is special so we manually override most linker flags and |
180 # specify our own to keep the size down. | 180 # specify our own to keep the size down. |
181 configs -= [ | 181 configs -= [ |
| 182 "//build/config:executable_config", |
182 "//build/config/compiler:compiler", | 183 "//build/config/compiler:compiler", |
183 "//build/config/win:common_linker_setup", | |
184 "//build/config/win:console", | 184 "//build/config/win:console", |
185 ] | 185 ] |
186 configs += [ | 186 configs += [ |
187 ":mini_installer_compiler_flags", | 187 ":mini_installer_compiler_flags", |
| 188 "//build/config/win:sdk_link", |
188 "//build/config/win:windowed", | 189 "//build/config/win:windowed", |
189 ] | 190 ] |
190 | 191 |
191 ldflags = [ | 192 ldflags = [ |
192 "/ENTRY:MainEntryPoint", | 193 "/ENTRY:MainEntryPoint", |
193 "/FIXED:NO", | 194 "/FIXED:NO", |
194 "/NXCOMPAT", | 195 "/NXCOMPAT", |
195 ] | 196 ] |
196 | 197 |
197 libs = [ "setupapi.lib" ] | 198 libs = [ "setupapi.lib" ] |
198 | 199 |
199 deps = [ | 200 deps = [ |
200 ":archive", | 201 ":archive", |
201 ":lib", | 202 ":lib", |
202 ":version", | 203 ":version", |
203 "//build/config/sanitizers:deps", | 204 "//build/config/sanitizers:deps", |
204 "//build/win:default_exe_manifest", | 205 "//build/win:default_exe_manifest", |
205 ] | 206 ] |
206 } | 207 } |
OLD | NEW |