Chromium Code Reviews| 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 import("//ui/base/ui_features.gni") | 10 import("//ui/base/ui_features.gni") |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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. |
| 169 configs -= [ | 169 configs -= [ |
| 170 "//build/config/compiler:default_optimization", | |
|
grt (UTC plus 2)
2016/06/01 18:46:59
i don't get this. why?
Sébastien Marchand
2016/06/01 19:16:31
It's because the default optimization now adds the
brucedawson
2016/06/03 00:47:53
Well, as sometimes happens the reviewers successfu
Sébastien Marchand
2016/06/03 01:13:18
I think that this will add too much complexity to
| |
| 170 "//build/config:executable_config", | 171 "//build/config:executable_config", |
| 171 "//build/config/win:console", | 172 "//build/config/win:console", |
| 172 ] | 173 ] |
| 173 configs += [ | 174 configs += [ |
| 174 ":mini_installer_compiler_flags", | 175 ":mini_installer_compiler_flags", |
| 175 "//build/config/win:sdk_link", | 176 "//build/config/win:sdk_link", |
| 176 "//build/config/win:windowed", | 177 "//build/config/win:windowed", |
| 177 ] | 178 ] |
| 178 | 179 |
| 179 ldflags = [ | 180 ldflags = [ |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 210 args = [ | 211 args = [ |
| 211 "--out", | 212 "--out", |
| 212 "$target_name.exe", | 213 "$target_name.exe", |
| 213 ] | 214 ] |
| 214 deps = [ | 215 deps = [ |
| 215 ":mini_installer", | 216 ":mini_installer", |
| 216 "//chrome/installer/test:alternate_version_generator", | 217 "//chrome/installer/test:alternate_version_generator", |
| 217 ] | 218 ] |
| 218 } | 219 } |
| 219 } | 220 } |
| OLD | NEW |