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/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/locales.gni") | 8 import("//build/config/locales.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 "//chrome/chrome_watcher:client", | 150 "//chrome/chrome_watcher:client", |
151 "//chrome/installer/util", | 151 "//chrome/installer/util", |
152 "//chrome_elf", | 152 "//chrome_elf", |
153 "//components/browser_watcher:browser_watcher_client", | 153 "//components/browser_watcher:browser_watcher_client", |
154 "//components/crash/content/app", | 154 "//components/crash/content/app", |
155 "//components/crash/core/common", | 155 "//components/crash/core/common", |
156 "//content:sandbox_helper_win", | 156 "//content:sandbox_helper_win", |
157 "//content/public/common:static_switches", | 157 "//content/public/common:static_switches", |
158 "//crypto", | 158 "//crypto", |
159 "//sandbox", | 159 "//sandbox", |
160 "//third_party/crashpad/crashpad/handler:handler_lib", | |
161 "//ui/gfx", | 160 "//ui/gfx", |
162 "//win8/delegate_execute", | 161 "//win8/delegate_execute", |
163 "//win8/metro_driver", | 162 "//win8/metro_driver", |
164 ] | 163 ] |
165 data_deps = [ | 164 data_deps = [ |
166 "//chrome/app/version_assembly:version_assembly_manifest", | 165 "//chrome/app/version_assembly:version_assembly_manifest", |
167 ] | 166 ] |
168 | 167 |
169 libs = [ | 168 libs = [ |
170 "wintrust.lib", | 169 "wintrust.lib", |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 # This manifest matches what GYP produces. It may not even be necessary. | 396 # This manifest matches what GYP produces. It may not even be necessary. |
398 windows_manifest("chrome_child_manifest") { | 397 windows_manifest("chrome_child_manifest") { |
399 sources = [ | 398 sources = [ |
400 as_invoker_manifest, | 399 as_invoker_manifest, |
401 ] | 400 ] |
402 type = "dll" | 401 type = "dll" |
403 } | 402 } |
404 | 403 |
405 shared_library("chrome_child") { | 404 shared_library("chrome_child") { |
406 sources = [ | 405 sources = [ |
407 "app/chrome_crash_reporter_client.cc", | |
408 "app/chrome_crash_reporter_client.h", | |
409 "app/chrome_main.cc", | 406 "app/chrome_main.cc", |
410 "app/chrome_main_delegate.cc", | 407 "app/chrome_main_delegate.cc", |
411 "app/chrome_main_delegate.h", | 408 "app/chrome_main_delegate.h", |
412 "app/close_handle_hook_win.cc", | 409 "app/close_handle_hook_win.cc", |
413 "app/close_handle_hook_win.h", | 410 "app/close_handle_hook_win.h", |
414 ] | 411 ] |
415 | 412 |
416 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 413 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
417 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 414 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
418 | 415 |
419 deps = [ | 416 deps = [ |
420 ":child_dependencies", | 417 ":child_dependencies", |
421 ":chrome_child_manifest", | 418 ":chrome_child_manifest", |
422 ":chrome_dll_version", | 419 ":chrome_dll_version", |
423 "//base/allocator", | 420 "//base/allocator", |
424 "//build/config/sanitizers:deps", | 421 "//build/config/sanitizers:deps", |
425 "//chrome/browser/policy:path_parser", | 422 "//chrome/browser/policy:path_parser", |
426 "//components/browser_watcher:browser_watcher_client", | |
427 "//components/crash/content/app", | |
428 "//content/public/app:child", | 423 "//content/public/app:child", |
429 ] | 424 ] |
430 | 425 |
431 if (is_win) { | 426 if (is_win) { |
432 if (symbol_level == 2) { | 427 if (symbol_level == 2) { |
433 # Incremental linking doesn't work on this target in debug mode with | 428 # Incremental linking doesn't work on this target in debug mode with |
434 # full symbols, but does work in other cases, including minimal | 429 # full symbols, but does work in other cases, including minimal |
435 # symbols. | 430 # symbols. |
436 configs -= [ "//build/config/win:default_incremental_linking" ] | 431 configs -= [ "//build/config/win:default_incremental_linking" ] |
437 configs += [ "//build/config/win:incremental_linking" ] | 432 configs += [ "//build/config/win:incremental_linking" ] |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1070 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1076 "//chrome/tools/build/linux/chrome-wrapper", | 1071 "//chrome/tools/build/linux/chrome-wrapper", |
1077 "//third_party/xdg-utils/scripts/xdg-mime", | 1072 "//third_party/xdg-utils/scripts/xdg-mime", |
1078 "//third_party/xdg-utils/scripts/xdg-settings", | 1073 "//third_party/xdg-utils/scripts/xdg-settings", |
1079 ] | 1074 ] |
1080 outputs = [ | 1075 outputs = [ |
1081 "$root_out_dir/{{source_file_part}}", | 1076 "$root_out_dir/{{source_file_part}}", |
1082 ] | 1077 ] |
1083 } | 1078 } |
1084 } | 1079 } |
OLD | NEW |