Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: chrome/BUILD.gn

Issue 2762593002: Add --headless flag to Windows (Closed)
Patch Set: Fix Mac build Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/app/chrome_main.cc » ('j') | headless/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/compiler/pgo/pgo.gni") 8 import("//build/config/compiler/pgo/pgo.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/locales.gni") 10 import("//build/config/locales.gni")
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 "//chrome/app:command_ids", 329 "//chrome/app:command_ids",
330 "//chrome/app/theme:chrome_unscaled_resources", 330 "//chrome/app/theme:chrome_unscaled_resources",
331 "//chrome/common:features", 331 "//chrome/common:features",
332 "//chrome/install_static:install_static_util", 332 "//chrome/install_static:install_static_util",
333 "//chrome/install_static:secondary_module", 333 "//chrome/install_static:secondary_module",
334 "//chrome_elf", 334 "//chrome_elf",
335 "//components/crash/content/app", 335 "//components/crash/content/app",
336 "//components/policy:generated", 336 "//components/policy:generated",
337 "//content/app/resources", 337 "//content/app/resources",
338 "//crypto", 338 "//crypto",
339 "//headless:headless_shell_main_lib",
339 "//net:net_resources", 340 "//net:net_resources",
340 "//ppapi/features", 341 "//ppapi/features",
341 "//third_party/cld", 342 "//third_party/cld",
342 "//third_party/wtl", 343 "//third_party/wtl",
343 "//ui/views", 344 "//ui/views",
344 ] 345 ]
345 346
346 ldflags = [ 347 ldflags = [
347 "/DELAYLOAD:comdlg32.dll", 348 "/DELAYLOAD:comdlg32.dll",
348 "/DELAYLOAD:crypt32.dll", 349 "/DELAYLOAD:crypt32.dll",
349 "/DELAYLOAD:cryptui.dll", 350 "/DELAYLOAD:cryptui.dll",
350 "/DELAYLOAD:dhcpcsvc.dll", 351 "/DELAYLOAD:dhcpcsvc.dll",
351 "/DELAYLOAD:dwmapi.dll", 352 "/DELAYLOAD:dwmapi.dll",
352 "/DELAYLOAD:imagehlp.dll", 353 "/DELAYLOAD:imagehlp.dll",
353 "/DELAYLOAD:imm32.dll", 354 "/DELAYLOAD:imm32.dll",
354 "/DELAYLOAD:iphlpapi.dll", 355 "/DELAYLOAD:iphlpapi.dll",
355 "/DELAYLOAD:setupapi.dll", 356 "/DELAYLOAD:setupapi.dll",
356 "/DELAYLOAD:urlmon.dll", 357 "/DELAYLOAD:urlmon.dll",
357 "/DELAYLOAD:winhttp.dll", 358 "/DELAYLOAD:winhttp.dll",
358 "/DELAYLOAD:wininet.dll", 359 "/DELAYLOAD:wininet.dll",
359 "/DELAYLOAD:winspool.drv", 360 "/DELAYLOAD:winspool.drv",
360 "/DELAYLOAD:ws2_32.dll", 361 "/DELAYLOAD:ws2_32.dll",
361 "/DELAYLOAD:wsock32.dll", 362 "/DELAYLOAD:wsock32.dll",
362 ] 363 ]
363 364
365 configs += [ "//headless:headless_implementation" ]
Sami 2017/03/20 11:53:10 This doesn't seem right: the implementation build
dvallet 2017/03/22 07:14:17 Fixed, the reason is that ChromeMain calls Headles
366
364 if (!is_component_build) { 367 if (!is_component_build) {
365 # This is a large module that can't do incremental linking in some 368 # This is a large module that can't do incremental linking in some
366 # cases. 369 # cases.
367 configs -= [ "//build/config/win:default_incremental_linking" ] 370 configs -= [ "//build/config/win:default_incremental_linking" ]
368 configs += 371 configs +=
369 [ "//build/config/win:default_large_module_incremental_linking" ] 372 [ "//build/config/win:default_large_module_incremental_linking" ]
370 } 373 }
371 374
372 if (use_aura) { 375 if (use_aura) {
373 deps += [ "//ui/compositor" ] 376 deps += [ "//ui/compositor" ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 ":chrome_dll_version", 423 ":chrome_dll_version",
421 "//build/config/sanitizers:deps", 424 "//build/config/sanitizers:deps",
422 "//chrome/browser/policy:path_parser", 425 "//chrome/browser/policy:path_parser",
423 "//chrome/common:features", 426 "//chrome/common:features",
424 "//chrome/install_static:install_static_util", 427 "//chrome/install_static:install_static_util",
425 "//chrome/install_static:secondary_module", 428 "//chrome/install_static:secondary_module",
426 "//chrome_elf", 429 "//chrome_elf",
427 "//components/browser_watcher:browser_watcher_client", 430 "//components/browser_watcher:browser_watcher_client",
428 "//components/crash/content/app", 431 "//components/crash/content/app",
429 "//content/public/app:child", 432 "//content/public/app:child",
433 "//headless:headless_shell_child_lib",
430 "//pdf", 434 "//pdf",
431 ] 435 ]
432 436
433 ldflags = [ 437 ldflags = [
434 "/DELAYLOAD:d3d11.dll", 438 "/DELAYLOAD:d3d11.dll",
435 "/DELAYLOAD:d3d9.dll", 439 "/DELAYLOAD:d3d9.dll",
436 "/DELAYLOAD:dwmapi.dll", 440 "/DELAYLOAD:dwmapi.dll",
437 "/DELAYLOAD:dxva2.dll", 441 "/DELAYLOAD:dxva2.dll",
438 "/DELAYLOAD:esent.dll", 442 "/DELAYLOAD:esent.dll",
439 "/DELAYLOAD:wininet.dll", 443 "/DELAYLOAD:wininet.dll",
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1684 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1681 "//chrome/tools/build/linux/chrome-wrapper", 1685 "//chrome/tools/build/linux/chrome-wrapper",
1682 "//third_party/xdg-utils/scripts/xdg-mime", 1686 "//third_party/xdg-utils/scripts/xdg-mime",
1683 "//third_party/xdg-utils/scripts/xdg-settings", 1687 "//third_party/xdg-utils/scripts/xdg-settings",
1684 ] 1688 ]
1685 outputs = [ 1689 outputs = [
1686 "$root_out_dir/{{source_file_part}}", 1690 "$root_out_dir/{{source_file_part}}",
1687 ] 1691 ]
1688 } 1692 }
1689 } 1693 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_main.cc » ('j') | headless/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698