| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 # Because the sources list varies so significantly per-platform, generally | 146 # Because the sources list varies so significantly per-platform, generally |
| 147 # each platform lists its own files rather than relying on filtering or | 147 # each platform lists its own files rather than relying on filtering or |
| 148 # removing unused files. | 148 # removing unused files. |
| 149 sources = [ | 149 sources = [ |
| 150 "app/chrome_exe_resource.h", | 150 "app/chrome_exe_resource.h", |
| 151 ] | 151 ] |
| 152 defines = [] | 152 defines = [] |
| 153 public_deps = [] | 153 public_deps = [] |
| 154 deps = [ | 154 deps = [ |
| 155 "//build/config:exe_and_shlib_deps", | 155 "//build/config:exe_and_shlib_deps", |
| 156 "//components/keyboard_lock", |
| 156 "//printing/features", | 157 "//printing/features", |
| 157 ] | 158 ] |
| 158 | 159 |
| 159 data = [ | 160 data = [ |
| 160 "$root_out_dir/resources.pak", | 161 "$root_out_dir/resources.pak", |
| 161 ] | 162 ] |
| 162 if (is_linux || is_win) { | 163 if (is_linux || is_win) { |
| 163 data += [ | 164 data += [ |
| 164 "$root_out_dir/chrome_100_percent.pak", | 165 "$root_out_dir/chrome_100_percent.pak", |
| 165 "$root_out_dir/locales/en-US.pak", | 166 "$root_out_dir/locales/en-US.pak", |
| 166 "$root_out_dir/locales/fr.pak", | 167 "$root_out_dir/locales/fr.pak", |
| 167 ] | 168 ] |
| 168 } | 169 } |
| 169 | 170 |
| 170 data_deps = [] | 171 data_deps = [] |
| 171 | 172 |
| 172 if (is_win) { | 173 if (is_win) { |
| 173 sources += [ | 174 sources += [ |
| 174 "app/chrome_exe.rc", | 175 # "app/chrome_exe.rc", |
| 175 "app/chrome_exe_load_config_win.cc", | 176 "app/chrome_exe_load_config_win.cc", |
| 176 "app/chrome_exe_main_win.cc", | 177 "app/chrome_exe_main_win.cc", |
| 177 "app/chrome_watcher_client_win.cc", | 178 "app/chrome_watcher_client_win.cc", |
| 178 "app/chrome_watcher_client_win.h", | 179 "app/chrome_watcher_client_win.h", |
| 179 "app/chrome_watcher_command_line_win.cc", | 180 "app/chrome_watcher_command_line_win.cc", |
| 180 "app/chrome_watcher_command_line_win.h", | 181 "app/chrome_watcher_command_line_win.h", |
| 181 "app/main_dll_loader_win.cc", | 182 "app/main_dll_loader_win.cc", |
| 182 "app/main_dll_loader_win.h", | 183 "app/main_dll_loader_win.h", |
| 183 "common/crash_keys.cc", | 184 "common/crash_keys.cc", |
| 184 "common/crash_keys.h", | 185 "common/crash_keys.h", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 199 "//chrome/chrome_watcher:client", | 200 "//chrome/chrome_watcher:client", |
| 200 "//chrome/common:constants", | 201 "//chrome/common:constants", |
| 201 "//chrome/common:metrics_constants_util_win", | 202 "//chrome/common:metrics_constants_util_win", |
| 202 "//chrome/install_static:secondary_module", | 203 "//chrome/install_static:secondary_module", |
| 203 "//chrome/installer/util:with_no_strings", | 204 "//chrome/installer/util:with_no_strings", |
| 204 "//chrome_elf", | 205 "//chrome_elf", |
| 205 "//components/browser_watcher:browser_watcher_client", | 206 "//components/browser_watcher:browser_watcher_client", |
| 206 "//components/crash/content/app:run_as_crashpad_handler", | 207 "//components/crash/content/app:run_as_crashpad_handler", |
| 207 "//components/flags_ui:switches", | 208 "//components/flags_ui:switches", |
| 208 "//content:sandbox_helper_win", | 209 "//content:sandbox_helper_win", |
| 209 "//content/public/common:static_switches", | 210 # "//content/public/common:static_switches", |
| 210 "//crypto", | 211 "//crypto", |
| 211 "//gpu/config:crash_keys", | 212 "//gpu/config:crash_keys", |
| 212 "//sandbox", | 213 "//sandbox", |
| 213 ] | 214 ] |
| 214 data_deps = [ | 215 data_deps = [ |
| 215 "//chrome/app/version_assembly:version_assembly_manifest", | 216 "//chrome/app/version_assembly:version_assembly_manifest", |
| 216 ] | 217 ] |
| 217 | 218 |
| 218 if (win_console_app) { | 219 if (win_console_app) { |
| 219 defines += [ "WIN_CONSOLE_APP" ] | 220 defines += [ "WIN_CONSOLE_APP" ] |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 ":chrome_child_manifest", | 445 ":chrome_child_manifest", |
| 445 ":chrome_dll_version", | 446 ":chrome_dll_version", |
| 446 "//build/config:exe_and_shlib_deps", | 447 "//build/config:exe_and_shlib_deps", |
| 447 "//chrome/browser/policy:path_parser", | 448 "//chrome/browser/policy:path_parser", |
| 448 "//chrome/common:features", | 449 "//chrome/common:features", |
| 449 "//chrome/install_static:install_static_util", | 450 "//chrome/install_static:install_static_util", |
| 450 "//chrome/install_static:secondary_module", | 451 "//chrome/install_static:secondary_module", |
| 451 "//chrome_elf", | 452 "//chrome_elf", |
| 452 "//components/browser_watcher:browser_watcher_client", | 453 "//components/browser_watcher:browser_watcher_client", |
| 453 "//components/crash/content/app", | 454 "//components/crash/content/app", |
| 455 "//components/keyboard_lock", |
| 454 "//content/public/app:child", | 456 "//content/public/app:child", |
| 455 "//content/public/common:service_names", | 457 "//content/public/common:service_names", |
| 456 "//headless:headless_shell_child_lib", | 458 "//headless:headless_shell_child_lib", |
| 457 "//services/service_manager/embedder", | 459 "//services/service_manager/embedder", |
| 458 ] | 460 ] |
| 459 | 461 |
| 460 ldflags = [ | 462 ldflags = [ |
| 461 "/DELAYLOAD:d3d11.dll", | 463 "/DELAYLOAD:d3d11.dll", |
| 462 "/DELAYLOAD:d3d9.dll", | 464 "/DELAYLOAD:d3d9.dll", |
| 463 "/DELAYLOAD:dwmapi.dll", | 465 "/DELAYLOAD:dwmapi.dll", |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 } | 1339 } |
| 1338 group("chrome_dsym_archive") { | 1340 group("chrome_dsym_archive") { |
| 1339 } | 1341 } |
| 1340 } | 1342 } |
| 1341 } | 1343 } |
| 1342 | 1344 |
| 1343 group("browser_dependencies") { | 1345 group("browser_dependencies") { |
| 1344 public_deps = [ | 1346 public_deps = [ |
| 1345 "//chrome/browser", | 1347 "//chrome/browser", |
| 1346 "//chrome/common", | 1348 "//chrome/common", |
| 1349 "//components/keyboard_lock", |
| 1347 "//components/sync", | 1350 "//components/sync", |
| 1348 ] | 1351 ] |
| 1349 if (enable_plugins) { | 1352 if (enable_plugins) { |
| 1350 public_deps += [ "//ppapi/host" ] | 1353 public_deps += [ "//ppapi/host" ] |
| 1351 } | 1354 } |
| 1352 | 1355 |
| 1353 if (enable_basic_printing || enable_print_preview) { | 1356 if (enable_basic_printing || enable_print_preview) { |
| 1354 public_deps += [ "//printing" ] | 1357 public_deps += [ "//printing" ] |
| 1355 if (enable_print_preview) { | 1358 if (enable_print_preview) { |
| 1356 public_deps += [ "//chrome/service" ] | 1359 public_deps += [ "//chrome/service" ] |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1771 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1769 "//chrome/tools/build/linux/chrome-wrapper", | 1772 "//chrome/tools/build/linux/chrome-wrapper", |
| 1770 "//third_party/xdg-utils/scripts/xdg-mime", | 1773 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1771 "//third_party/xdg-utils/scripts/xdg-settings", | 1774 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1772 ] | 1775 ] |
| 1773 outputs = [ | 1776 outputs = [ |
| 1774 "$root_out_dir/{{source_file_part}}", | 1777 "$root_out_dir/{{source_file_part}}", |
| 1775 ] | 1778 ] |
| 1776 } | 1779 } |
| 1777 } | 1780 } |
| OLD | NEW |