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

Side by Side Diff: headless/BUILD.gn

Issue 2887033003: Add specific headless_shell_win.cc and headless_content_main_delegate_win.cc (Closed)
Patch Set: Created 3 years, 7 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 | headless/app/headless_shell.h » ('j') | headless/app/headless_shell.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | headless/app/headless_shell.h » ('j') | headless/app/headless_shell.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698