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

Side by Side Diff: headless/BUILD.gn

Issue 2897503002: Eliminate remaining ../ header includes (Closed)
Patch Set: Add more deps 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
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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "lib/browser/headless_web_contents_impl.h", 357 "lib/browser/headless_web_contents_impl.h",
358 "lib/headless_content_main_delegate.cc", 358 "lib/headless_content_main_delegate.cc",
359 "lib/headless_content_main_delegate.h", 359 "lib/headless_content_main_delegate.h",
360 "lib/renderer/headless_content_renderer_client.cc", 360 "lib/renderer/headless_content_renderer_client.cc",
361 "lib/renderer/headless_content_renderer_client.h", 361 "lib/renderer/headless_content_renderer_client.h",
362 ] 362 ]
363 363
364 deps += [ 364 deps += [
365 "//components/crash/content/browser", 365 "//components/crash/content/browser",
366 "//components/security_state/content", 366 "//components/security_state/content",
367 "//third_party/WebKit/public:blink_headers",
367 ] 368 ]
368 369
369 if (enable_basic_printing) { 370 if (enable_basic_printing) {
370 deps += [ 371 deps += [
371 "//components/printing/browser", 372 "//components/printing/browser",
372 "//components/printing/renderer", 373 "//components/printing/renderer",
373 ] 374 ]
374 } 375 }
375 } 376 }
376 377
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 "app/headless_shell.cc", 564 "app/headless_shell.cc",
564 "app/headless_shell.h", 565 "app/headless_shell.h",
565 "app/headless_shell_switches.cc", 566 "app/headless_shell_switches.cc",
566 "app/headless_shell_switches.h", 567 "app/headless_shell_switches.h",
567 "app/shell_navigation_request.cc", 568 "app/shell_navigation_request.cc",
568 "app/shell_navigation_request.h", 569 "app/shell_navigation_request.h",
569 "lib/browser/headless_content_browser_client.cc", 570 "lib/browser/headless_content_browser_client.cc",
570 "lib/browser/headless_content_browser_client.h", 571 "lib/browser/headless_content_browser_client.h",
571 "public/headless_shell.h", 572 "public/headless_shell.h",
572 ] 573 ]
574 deps = [
575 ":headless",
576 "//content:sandbox_helper_win",
577 "//content/public/browser",
578 "//content/public/common",
579 "//net",
580 "//sandbox",
581 ]
573 582
574 if (is_multi_dll_chrome) { 583 if (is_multi_dll_chrome) {
575 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] 584 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ]
576 sources += [ 585 sources += [
577 "lib/browser/headless_web_contents_impl.cc", 586 "lib/browser/headless_web_contents_impl.cc",
578 "lib/browser/headless_web_contents_impl.h", 587 "lib/browser/headless_web_contents_impl.h",
579 "lib/headless_content_main_delegate.cc", 588 "lib/headless_content_main_delegate.cc",
580 "lib/headless_content_main_delegate.h", 589 "lib/headless_content_main_delegate.h",
581 ] 590 ]
591 deps += [ "//third_party/WebKit/public:blink_headers" ]
582 } 592 }
583 593
584 deps = [
585 ":headless",
586 "//content/public/browser",
587 "//content/public/common",
588 "//net",
589 ]
590
591 deps += [
592 "//content:sandbox_helper_win",
593 "//sandbox",
594 ]
595
596 configs += [ ":headless_implementation" ] 594 configs += [ ":headless_implementation" ]
597 } 595 }
598 596
599 # Headless library with child specific dependencies (e.g., renderer). This 597 # Headless library with child specific dependencies (e.g., renderer). This
600 # is used when no browser depencendies are needed (e.g. chrome:child_dll). 598 # is used when no browser depencendies are needed (e.g. chrome:child_dll).
601 static_library("headless_shell_child_lib") { 599 static_library("headless_shell_child_lib") {
602 sources = [ 600 sources = [
603 "app/headless_shell.cc", 601 "app/headless_shell.cc",
604 "app/headless_shell.h", 602 "app/headless_shell.h",
605 "app/headless_shell_switches.cc", 603 "app/headless_shell_switches.cc",
606 "app/headless_shell_switches.h", 604 "app/headless_shell_switches.h",
607 "app/shell_navigation_request.cc", 605 "app/shell_navigation_request.cc",
608 "app/shell_navigation_request.h", 606 "app/shell_navigation_request.h",
609 "public/headless_shell.h", 607 "public/headless_shell.h",
610 ] 608 ]
609 deps = [
610 ":headless_renderer",
611 "//content/public/child:child",
612 "//net",
613 "//ui/base",
614 ]
611 615
612 if (is_multi_dll_chrome) { 616 if (is_multi_dll_chrome) {
613 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 617 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
614 sources += [ 618 sources += [
615 "lib/browser/headless_web_contents_impl.cc", 619 "lib/browser/headless_web_contents_impl.cc",
616 "lib/browser/headless_web_contents_impl.h", 620 "lib/browser/headless_web_contents_impl.h",
617 "lib/headless_content_main_delegate.cc", 621 "lib/headless_content_main_delegate.cc",
618 "lib/headless_content_main_delegate.h", 622 "lib/headless_content_main_delegate.h",
619 ] 623 ]
624 deps += [ "//third_party/WebKit/public:blink_headers" ]
620 } 625 }
621 626
622 deps = [
623 ":headless_renderer",
624 "//content/public/child:child",
625 "//net",
626 "//ui/base",
627 ]
628
629 configs += [ ":headless_implementation" ] 627 configs += [ ":headless_implementation" ]
630 } 628 }
631 } 629 }
632 630
633 # Headless library with all included dependencies. Use this library unless you 631 # Headless library with all included dependencies. Use this library unless you
634 # have browser/child dependencies restrictions. 632 # have browser/child dependencies restrictions.
635 static_library("headless_shell_lib") { 633 static_library("headless_shell_lib") {
636 sources = [ 634 sources = [
637 "app/headless_shell.cc", 635 "app/headless_shell.cc",
638 "app/headless_shell.h", 636 "app/headless_shell.h",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 696
699 executable("headless_example") { 697 executable("headless_example") {
700 sources = [ 698 sources = [
701 "app/headless_example.cc", 699 "app/headless_example.cc",
702 ] 700 ]
703 701
704 deps = [ 702 deps = [
705 ":headless_shell_lib", 703 ":headless_shell_lib",
706 ] 704 ]
707 } 705 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698