| 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 556 |
| 557 if (is_win) { | 557 if (is_win) { |
| 558 # Headless library with only browser dependencies. This is used when no child | 558 # Headless library with only browser dependencies. This is used when no child |
| 559 # dependencies are needed in the target (e.g. chrome:main_dll). | 559 # dependencies are needed in the target (e.g. chrome:main_dll). |
| 560 static_library("headless_shell_browser_lib") { | 560 static_library("headless_shell_browser_lib") { |
| 561 sources = [ | 561 sources = [ |
| 562 "app/headless_shell.cc", | 562 "app/headless_shell.cc", |
| 563 "app/headless_shell.h", | 563 "app/headless_shell.h", |
| 564 "app/headless_shell_switches.cc", | 564 "app/headless_shell_switches.cc", |
| 565 "app/headless_shell_switches.h", | 565 "app/headless_shell_switches.h", |
| 566 "app/headless_shell_win.cc", |
| 566 "app/shell_navigation_request.cc", | 567 "app/shell_navigation_request.cc", |
| 567 "app/shell_navigation_request.h", | 568 "app/shell_navigation_request.h", |
| 568 "lib/browser/headless_content_browser_client.cc", | 569 "lib/browser/headless_content_browser_client.cc", |
| 569 "lib/browser/headless_content_browser_client.h", | 570 "lib/browser/headless_content_browser_client.h", |
| 570 "public/headless_shell.h", | 571 "public/headless_shell.h", |
| 571 ] | 572 ] |
| 572 | 573 |
| 573 if (is_multi_dll_chrome) { | 574 if (is_multi_dll_chrome) { |
| 574 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 575 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
| 575 sources += [ | 576 sources += [ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 596 } | 597 } |
| 597 | 598 |
| 598 # Headless library with child specific dependencies (e.g., renderer). This | 599 # Headless library with child specific dependencies (e.g., renderer). This |
| 599 # is used when no browser depencendies are needed (e.g. chrome:child_dll). | 600 # is used when no browser depencendies are needed (e.g. chrome:child_dll). |
| 600 static_library("headless_shell_child_lib") { | 601 static_library("headless_shell_child_lib") { |
| 601 sources = [ | 602 sources = [ |
| 602 "app/headless_shell.cc", | 603 "app/headless_shell.cc", |
| 603 "app/headless_shell.h", | 604 "app/headless_shell.h", |
| 604 "app/headless_shell_switches.cc", | 605 "app/headless_shell_switches.cc", |
| 605 "app/headless_shell_switches.h", | 606 "app/headless_shell_switches.h", |
| 607 "app/headless_shell_win.cc", |
| 606 "app/shell_navigation_request.cc", | 608 "app/shell_navigation_request.cc", |
| 607 "app/shell_navigation_request.h", | 609 "app/shell_navigation_request.h", |
| 608 "public/headless_shell.h", | 610 "public/headless_shell.h", |
| 609 ] | 611 ] |
| 610 | 612 |
| 611 if (is_multi_dll_chrome) { | 613 if (is_multi_dll_chrome) { |
| 612 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 614 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
| 613 sources += [ | 615 sources += [ |
| 614 "lib/browser/headless_web_contents_impl.cc", | 616 "lib/browser/headless_web_contents_impl.cc", |
| 615 "lib/browser/headless_web_contents_impl.h", | 617 "lib/browser/headless_web_contents_impl.h", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 | 699 |
| 698 executable("headless_example") { | 700 executable("headless_example") { |
| 699 sources = [ | 701 sources = [ |
| 700 "app/headless_example.cc", | 702 "app/headless_example.cc", |
| 701 ] | 703 ] |
| 702 | 704 |
| 703 deps = [ | 705 deps = [ |
| 704 ":headless_shell_lib", | 706 ":headless_shell_lib", |
| 705 ] | 707 ] |
| 706 } | 708 } |
| OLD | NEW |