| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/compiler/pgo/pgo.gni") | 7 import("//build/config/compiler/pgo/pgo.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 "$root_out_dir/locales/fr.pak", | 166 "$root_out_dir/locales/fr.pak", |
| 167 ] | 167 ] |
| 168 } | 168 } |
| 169 | 169 |
| 170 data_deps = [] | 170 data_deps = [] |
| 171 | 171 |
| 172 if (is_win) { | 172 if (is_win) { |
| 173 sources += [ | 173 sources += [ |
| 174 "app/chrome_exe.rc", | 174 "app/chrome_exe.rc", |
| 175 "app/chrome_exe_load_config_win.cc", | 175 "app/chrome_exe_load_config_win.cc", |
| 176 "app/chrome_exe_main_app_win.cc", |
| 177 "app/chrome_exe_main_app_win.h", |
| 176 "app/chrome_exe_main_win.cc", | 178 "app/chrome_exe_main_win.cc", |
| 177 "app/chrome_watcher_client_win.cc", | 179 "app/chrome_watcher_client_win.cc", |
| 178 "app/chrome_watcher_client_win.h", | 180 "app/chrome_watcher_client_win.h", |
| 179 "app/chrome_watcher_command_line_win.cc", | 181 "app/chrome_watcher_command_line_win.cc", |
| 180 "app/chrome_watcher_command_line_win.h", | 182 "app/chrome_watcher_command_line_win.h", |
| 181 "app/main_dll_loader_win.cc", | 183 "app/main_dll_loader_win.cc", |
| 182 "app/main_dll_loader_win.h", | 184 "app/main_dll_loader_win.h", |
| 183 "common/crash_keys.cc", | 185 "common/crash_keys.cc", |
| 184 "common/crash_keys.h", | 186 "common/crash_keys.h", |
| 185 ] | 187 ] |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 219 |
| 218 if (win_console_app) { | 220 if (win_console_app) { |
| 219 defines += [ "WIN_CONSOLE_APP" ] | 221 defines += [ "WIN_CONSOLE_APP" ] |
| 220 } else { | 222 } else { |
| 221 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a console build | 223 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a console build |
| 222 # has been requested. | 224 # has been requested. |
| 223 configs -= [ "//build/config/win:console" ] | 225 configs -= [ "//build/config/win:console" ] |
| 224 configs += [ "//build/config/win:windowed" ] | 226 configs += [ "//build/config/win:windowed" ] |
| 225 } | 227 } |
| 226 | 228 |
| 229 libs = [ |
| 230 "Pathcch.lib", |
| 231 "runtimeobject.lib", |
| 232 ] |
| 233 |
| 227 ldflags = [ | 234 ldflags = [ |
| 228 "/DELAYLOAD:dbghelp.dll", | 235 "/DELAYLOAD:dbghelp.dll", |
| 229 "/DELAYLOAD:dwmapi.dll", | 236 "/DELAYLOAD:dwmapi.dll", |
| 230 "/DELAYLOAD:uxtheme.dll", | 237 "/DELAYLOAD:uxtheme.dll", |
| 231 "/DELAYLOAD:ole32.dll", | 238 "/DELAYLOAD:ole32.dll", |
| 232 "/DELAYLOAD:oleaut32.dll", | 239 "/DELAYLOAD:oleaut32.dll", |
| 233 ] | 240 ] |
| 234 | 241 |
| 235 if (current_cpu == "x64") { | 242 if (current_cpu == "x64") { |
| 236 # Increase the initial stack size. The default is 1MB, this is 2MB. | 243 # Increase the initial stack size. The default is 1MB, this is 2MB. |
| (...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1760 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1767 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1761 "//chrome/tools/build/linux/chrome-wrapper", | 1768 "//chrome/tools/build/linux/chrome-wrapper", |
| 1762 "//third_party/xdg-utils/scripts/xdg-mime", | 1769 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1763 "//third_party/xdg-utils/scripts/xdg-settings", | 1770 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1764 ] | 1771 ] |
| 1765 outputs = [ | 1772 outputs = [ |
| 1766 "$root_out_dir/{{source_file_part}}", | 1773 "$root_out_dir/{{source_file_part}}", |
| 1767 ] | 1774 ] |
| 1768 } | 1775 } |
| 1769 } | 1776 } |
| OLD | NEW |