| 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/compiler/compiler.gni") | 5 import("//build/config/compiler/compiler.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//chrome/process_version_rc_template.gni") | 8 import("//chrome/process_version_rc_template.gni") |
| 9 import("//chrome/test/mini_installer/mini_installer_test.gni") | 9 import("//chrome/test/mini_installer/mini_installer_test.gni") |
| 10 import("//third_party/icu/config.gni") | 10 import("//third_party/icu/config.gni") |
| 11 import("//ui/base/ui_features.gni") | 11 import("//ui/base/ui_features.gni") |
| 12 import("//v8/gni/v8.gni") | 12 import("//v8/gni/v8.gni") |
| 13 | 13 |
| 14 config("mini_installer_compiler_flags") { | 14 config("mini_installer_compiler_flags") { |
| 15 # Disable buffer security checking. | 15 # Disable buffer security checking. |
| 16 cflags = [ "/GS-" ] | 16 cflags = [ "/GS-" ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("lib") { | 19 source_set("lib") { |
| 20 sources = [ | 20 sources = [ |
| 21 "appid.h", | 21 "appid.h", |
| 22 "chrome.release", | 22 "chrome.release", |
| 23 "chrome_appid.cc", | 23 "chrome_appid.cc", |
| 24 "configuration.cc", | 24 "configuration.cc", |
| 25 "configuration.h", | 25 "configuration.h", |
| 26 "decompress.cc", | 26 "decompress.cc", |
| 27 "decompress.h", | 27 "decompress.h", |
| 28 "mini_installer.cc", |
| 29 "mini_installer.h", |
| 28 "mini_installer.ico", | 30 "mini_installer.ico", |
| 29 "mini_installer.rc", | 31 "mini_installer.rc", |
| 30 "mini_installer_constants.cc", | 32 "mini_installer_constants.cc", |
| 31 "mini_installer_constants.h", | 33 "mini_installer_constants.h", |
| 32 "mini_installer_resource.h", | 34 "mini_installer_resource.h", |
| 33 "mini_string.cc", | 35 "mini_string.cc", |
| 34 "mini_string.h", | 36 "mini_string.h", |
| 35 "pe_resource.cc", | 37 "pe_resource.cc", |
| 36 "pe_resource.h", | 38 "pe_resource.h", |
| 37 "regkey.cc", | 39 "regkey.cc", |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 depfile = "$target_gen_dir/archive.d" | 213 depfile = "$target_gen_dir/archive.d" |
| 212 args += [ | 214 args += [ |
| 213 "--depfile", | 215 "--depfile", |
| 214 rebase_path(depfile, root_build_dir), | 216 rebase_path(depfile, root_build_dir), |
| 215 ] | 217 ] |
| 216 } | 218 } |
| 217 | 219 |
| 218 executable(target_name) { | 220 executable(target_name) { |
| 219 output_name = "mini_installer" | 221 output_name = "mini_installer" |
| 220 sources = [ | 222 sources = [ |
| 221 "mini_installer.cc", | 223 "mini_installer_exe_main.cc", |
| 222 packed_files_rc_file, | 224 packed_files_rc_file, |
| 223 ] | 225 ] |
| 224 | 226 |
| 225 # This target is special so we manually override most linker flags and | 227 # This target is special so we manually override most linker flags and |
| 226 # specify our own to keep the size down. Also make sure that we don't use | 228 # specify our own to keep the size down. Also make sure that we don't use |
| 227 # WPO as it's not supported by the mini installer. | 229 # WPO as it's not supported by the mini installer. |
| 228 configs -= [ | 230 configs -= [ |
| 229 "//build/config/compiler:default_optimization", | 231 "//build/config/compiler:default_optimization", |
| 230 "//build/config:executable_config", | 232 "//build/config:executable_config", |
| 231 "//build/config/win:console", | 233 "//build/config/win:console", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 args = [ | 292 args = [ |
| 291 "--out", | 293 "--out", |
| 292 "$target_name.exe", | 294 "$target_name.exe", |
| 293 ] | 295 ] |
| 294 deps = [ | 296 deps = [ |
| 295 ":mini_installer", | 297 ":mini_installer", |
| 296 "//chrome/installer/test:alternate_version_generator", | 298 "//chrome/installer/test:alternate_version_generator", |
| 297 ] | 299 ] |
| 298 } | 300 } |
| 299 } | 301 } |
| OLD | NEW |