| 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("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
| 7 import("//headless/headless.gni") | 7 import("//headless/headless.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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 ] | 569 ] |
| 570 } | 570 } |
| 571 | 571 |
| 572 deps = [ | 572 deps = [ |
| 573 ":headless", | 573 ":headless", |
| 574 "//content/public/browser", | 574 "//content/public/browser", |
| 575 "//content/public/common", | 575 "//content/public/common", |
| 576 "//net", | 576 "//net", |
| 577 ] | 577 ] |
| 578 | 578 |
| 579 if (is_win) { | 579 deps += [ |
| 580 deps += [ | 580 "//content:sandbox_helper_win", |
| 581 "//content:sandbox_helper_win", | 581 "//sandbox", |
| 582 "//sandbox", | 582 ] |
| 583 ] | |
| 584 } | |
| 585 | 583 |
| 586 configs += [ ":headless_implementation" ] | 584 configs += [ ":headless_implementation" ] |
| 587 } | 585 } |
| 588 | 586 |
| 589 # Headless library with child specific dependencies (e.g., renderer). This | 587 # Headless library with child specific dependencies (e.g., renderer). This |
| 590 # is used when no browser depencendies are needed (e.g. chrome:child_dll). | 588 # is used when no browser depencendies are needed (e.g. chrome:child_dll). |
| 591 static_library("headless_shell_child_lib") { | 589 static_library("headless_shell_child_lib") { |
| 592 sources = [ | 590 sources = [ |
| 593 "app/headless_shell.cc", | 591 "app/headless_shell.cc", |
| 594 "app/headless_shell.h", | 592 "app/headless_shell.h", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 ] | 653 ] |
| 656 | 654 |
| 657 if (enable_basic_printing) { | 655 if (enable_basic_printing) { |
| 658 deps += [ | 656 deps += [ |
| 659 "//components/printing/browser", | 657 "//components/printing/browser", |
| 660 "//components/printing/renderer", | 658 "//components/printing/renderer", |
| 661 ] | 659 ] |
| 662 } | 660 } |
| 663 | 661 |
| 664 if (is_win) { | 662 if (is_win) { |
| 663 defines = [ "HEADLESS_USE_CRASPHAD" ] |
| 664 |
| 665 deps += [ | 665 deps += [ |
| 666 "//components/crash/content/app:run_as_crashpad_handler", |
| 666 "//content:sandbox_helper_win", | 667 "//content:sandbox_helper_win", |
| 667 "//sandbox", | 668 "//sandbox", |
| 668 ] | 669 ] |
| 669 } | 670 } |
| 670 } | 671 } |
| 671 | 672 |
| 672 executable("headless_shell") { | 673 executable("headless_shell") { |
| 673 sources = [ | 674 sources = [ |
| 674 "app/headless_shell_main.cc", | 675 "app/headless_shell_main.cc", |
| 675 ] | 676 ] |
| (...skipping 18 matching lines...) Expand all Loading... |
| 694 | 695 |
| 695 executable("headless_example") { | 696 executable("headless_example") { |
| 696 sources = [ | 697 sources = [ |
| 697 "app/headless_example.cc", | 698 "app/headless_example.cc", |
| 698 ] | 699 ] |
| 699 | 700 |
| 700 deps = [ | 701 deps = [ |
| 701 ":headless_shell_lib", | 702 ":headless_shell_lib", |
| 702 ] | 703 ] |
| 703 } | 704 } |
| OLD | NEW |