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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 ] | 350 ] |
351 | 351 |
352 if (is_component_build) { | 352 if (is_component_build) { |
353 sources += [ | 353 sources += [ |
354 "lib/browser/headless_content_browser_client.cc", | 354 "lib/browser/headless_content_browser_client.cc", |
355 "lib/browser/headless_content_browser_client.h", | 355 "lib/browser/headless_content_browser_client.h", |
356 "lib/browser/headless_web_contents_impl.cc", | 356 "lib/browser/headless_web_contents_impl.cc", |
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/devtools_isolated_world_ids.h", | |
361 "lib/renderer/headless_content_renderer_client.cc", | 360 "lib/renderer/headless_content_renderer_client.cc", |
362 "lib/renderer/headless_content_renderer_client.h", | 361 "lib/renderer/headless_content_renderer_client.h", |
363 ] | 362 ] |
364 | 363 |
365 deps += [ | 364 deps += [ |
366 "//components/crash/content/browser", | 365 "//components/crash/content/browser", |
367 "//components/security_state/content", | 366 "//components/security_state/content", |
368 "//third_party/WebKit/public:blink_headers", | 367 "//third_party/WebKit/public:blink_headers", |
369 ] | 368 ] |
370 | 369 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 404 |
406 # Headless renderer is a convenience library for non component builds that | 405 # Headless renderer is a convenience library for non component builds that |
407 # includes headless classes that depend on the renderer. | 406 # includes headless classes that depend on the renderer. |
408 if (!is_component_build) { | 407 if (!is_component_build) { |
409 static_library("headless_renderer") { | 408 static_library("headless_renderer") { |
410 sources = [ | 409 sources = [ |
411 "lib/browser/headless_web_contents_impl.cc", | 410 "lib/browser/headless_web_contents_impl.cc", |
412 "lib/browser/headless_web_contents_impl.h", | 411 "lib/browser/headless_web_contents_impl.h", |
413 "lib/headless_content_main_delegate.cc", | 412 "lib/headless_content_main_delegate.cc", |
414 "lib/headless_content_main_delegate.h", | 413 "lib/headless_content_main_delegate.h", |
415 "lib/renderer/devtools_isolated_world_ids.h", | |
416 "lib/renderer/headless_content_renderer_client.cc", | 414 "lib/renderer/headless_content_renderer_client.cc", |
417 "lib/renderer/headless_content_renderer_client.h", | 415 "lib/renderer/headless_content_renderer_client.h", |
418 ] | 416 ] |
419 | 417 |
420 deps = [ | 418 deps = [ |
421 ":headless", | 419 ":headless", |
422 "//third_party/WebKit/public:blink_headers", | 420 "//third_party/WebKit/public:blink_headers", |
423 "//ui/base", | 421 "//ui/base", |
424 ] | 422 ] |
425 if (enable_basic_printing) { | 423 if (enable_basic_printing) { |
426 deps += [ | 424 deps += [ "//components/printing/renderer" ] |
427 "//components/printing/renderer", | |
428 "//third_party/WebKit/public:blink", | |
429 ] | |
430 } | 425 } |
431 | 426 |
432 configs += [ ":headless_implementation" ] | 427 configs += [ ":headless_implementation" ] |
433 } | 428 } |
434 } else { | 429 } else { |
435 # For component builds all dependencies are already included in the headless | 430 # For component builds all dependencies are already included in the headless |
436 # component. | 431 # component. |
437 group("headless_renderer") { | 432 group("headless_renderer") { |
438 deps = [ | 433 deps = [ |
439 ":headless", | 434 ":headless", |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 | 702 |
708 executable("headless_example") { | 703 executable("headless_example") { |
709 sources = [ | 704 sources = [ |
710 "app/headless_example.cc", | 705 "app/headless_example.cc", |
711 ] | 706 ] |
712 | 707 |
713 deps = [ | 708 deps = [ |
714 ":headless_shell_lib", | 709 ":headless_shell_lib", |
715 ] | 710 ] |
716 } | 711 } |
OLD | NEW |