| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//headless/headless.gni") | 6 import("//headless/headless.gni") |
| 7 import("//build/util/process_version.gni") | 7 import("//build/util/process_version.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 ] | 542 ] |
| 543 | 543 |
| 544 deps = [ | 544 deps = [ |
| 545 ":headless", | 545 ":headless", |
| 546 "//content/public/browser", | 546 "//content/public/browser", |
| 547 "//content/public/common", | 547 "//content/public/common", |
| 548 ] | 548 ] |
| 549 | 549 |
| 550 if (is_win) { | 550 if (is_win) { |
| 551 deps += [ | 551 deps += [ |
| 552 "//components/crash/content/app:run_as_crashpad_handler", |
| 552 "//content:sandbox_helper_win", | 553 "//content:sandbox_helper_win", |
| 553 "//sandbox", | 554 "//sandbox", |
| 554 ] | 555 ] |
| 555 } | 556 } |
| 556 | 557 |
| 557 configs += [ ":headless_implementation" ] | 558 configs += [ ":headless_implementation" ] |
| 558 } | 559 } |
| 559 | 560 |
| 560 # Headless library with child specific dependencies (e.g., renderer). This | 561 # Headless library with child specific dependencies (e.g., renderer). This |
| 561 # is used when no browser depencendies are needed (e.g. chrome:child_dll). | 562 # is used when no browser depencendies are needed (e.g. chrome:child_dll). |
| (...skipping 14 matching lines...) Expand all Loading... |
| 576 "public/headless_shell.h", | 577 "public/headless_shell.h", |
| 577 ] | 578 ] |
| 578 | 579 |
| 579 deps = [ | 580 deps = [ |
| 580 ":headless_renderer", | 581 ":headless_renderer", |
| 581 "//content/public/child:child", | 582 "//content/public/child:child", |
| 582 "//net", | 583 "//net", |
| 583 "//ui/base", | 584 "//ui/base", |
| 584 ] | 585 ] |
| 585 | 586 |
| 587 if (is_win) { |
| 588 deps += [ "//components/crash/content/app:run_as_crashpad_handler" ] |
| 589 } |
| 590 |
| 586 configs += [ ":headless_implementation" ] | 591 configs += [ ":headless_implementation" ] |
| 587 } | 592 } |
| 588 | 593 |
| 589 # Headless library with all included dependencies. Use this library unless you | 594 # Headless library with all included dependencies. Use this library unless you |
| 590 # have browser/child dependencies restrictions. | 595 # have browser/child dependencies restrictions. |
| 591 static_library("headless_shell_lib") { | 596 static_library("headless_shell_lib") { |
| 592 sources = [ | 597 sources = [ |
| 593 "app/headless_shell.cc", | 598 "app/headless_shell.cc", |
| 594 "app/headless_shell.h", | 599 "app/headless_shell.h", |
| 595 "app/headless_shell_switches.cc", | 600 "app/headless_shell_switches.cc", |
| 596 "app/headless_shell_switches.h", | 601 "app/headless_shell_switches.h", |
| 597 "app/shell_navigation_request.cc", | 602 "app/shell_navigation_request.cc", |
| 598 "app/shell_navigation_request.h", | 603 "app/shell_navigation_request.h", |
| 599 "public/headless_shell.h", | 604 "public/headless_shell.h", |
| 600 ] | 605 ] |
| 601 | 606 |
| 602 deps = [ | 607 deps = [ |
| 603 ":headless_renderer", | 608 ":headless_renderer", |
| 604 "//content/public/app:both", | 609 "//content/public/app:both", |
| 605 "//content/public/browser", | 610 "//content/public/browser", |
| 606 "//content/public/child:child", | 611 "//content/public/child:child", |
| 607 "//content/public/common", | 612 "//content/public/common", |
| 608 ] | 613 ] |
| 609 | 614 |
| 610 if (is_win) { | 615 if (is_win) { |
| 611 deps += [ | 616 deps += [ |
| 617 "//components/crash/content/app:run_as_crashpad_handler", |
| 612 "//content:sandbox_helper_win", | 618 "//content:sandbox_helper_win", |
| 613 "//sandbox", | 619 "//sandbox", |
| 614 ] | 620 ] |
| 615 } | 621 } |
| 616 } | 622 } |
| 617 | 623 |
| 618 executable("headless_shell") { | 624 executable("headless_shell") { |
| 619 sources = [ | 625 sources = [ |
| 620 "app/headless_shell_main.cc", | 626 "app/headless_shell_main.cc", |
| 621 ] | 627 ] |
| (...skipping 18 matching lines...) Expand all Loading... |
| 640 | 646 |
| 641 executable("headless_example") { | 647 executable("headless_example") { |
| 642 sources = [ | 648 sources = [ |
| 643 "app/headless_example.cc", | 649 "app/headless_example.cc", |
| 644 ] | 650 ] |
| 645 | 651 |
| 646 deps = [ | 652 deps = [ |
| 647 ":headless_shell_lib", | 653 ":headless_shell_lib", |
| 648 ] | 654 ] |
| 649 } | 655 } |
| OLD | NEW |