Chromium Code Reviews| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 336 ] | 336 ] |
| 337 | 337 |
| 338 if (is_component_build) { | 338 if (is_component_build) { |
| 339 sources += [ | 339 sources += [ |
| 340 "lib/browser/headless_content_browser_client.cc", | 340 "lib/browser/headless_content_browser_client.cc", |
| 341 "lib/browser/headless_content_browser_client.h", | 341 "lib/browser/headless_content_browser_client.h", |
| 342 "lib/browser/headless_web_contents_impl.cc", | 342 "lib/browser/headless_web_contents_impl.cc", |
| 343 "lib/browser/headless_web_contents_impl.h", | 343 "lib/browser/headless_web_contents_impl.h", |
| 344 "lib/headless_content_main_delegate.cc", | 344 "lib/headless_content_main_delegate.cc", |
| 345 "lib/headless_content_main_delegate.h", | 345 "lib/headless_content_main_delegate.h", |
| 346 "lib/renderer/devtools_isolated_world_ids.h", | |
| 346 "lib/renderer/headless_content_renderer_client.cc", | 347 "lib/renderer/headless_content_renderer_client.cc", |
| 347 "lib/renderer/headless_content_renderer_client.h", | 348 "lib/renderer/headless_content_renderer_client.h", |
| 348 ] | 349 ] |
| 349 | 350 |
| 350 deps += [ | 351 deps += [ |
| 351 "//components/crash/content/browser", | 352 "//components/crash/content/browser", |
| 352 "//components/security_state/content", | 353 "//components/security_state/content", |
| 354 "//third_party/WebKit/public:blink", | |
| 353 ] | 355 ] |
| 354 | 356 |
| 355 if (enable_basic_printing) { | 357 if (enable_basic_printing) { |
| 356 deps += [ | 358 deps += [ |
| 357 "//components/printing/browser", | 359 "//components/printing/browser", |
| 358 "//components/printing/renderer", | 360 "//components/printing/renderer", |
| 359 ] | 361 ] |
| 360 } | 362 } |
| 361 } | 363 } |
| 362 | 364 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 389 static_library("headless_renderer") { | 391 static_library("headless_renderer") { |
| 390 deps = [ | 392 deps = [ |
| 391 ":headless", | 393 ":headless", |
| 392 ] | 394 ] |
| 393 if (!is_component_build) { | 395 if (!is_component_build) { |
| 394 sources = [ | 396 sources = [ |
| 395 "lib/browser/headless_web_contents_impl.cc", | 397 "lib/browser/headless_web_contents_impl.cc", |
| 396 "lib/browser/headless_web_contents_impl.h", | 398 "lib/browser/headless_web_contents_impl.h", |
| 397 "lib/headless_content_main_delegate.cc", | 399 "lib/headless_content_main_delegate.cc", |
| 398 "lib/headless_content_main_delegate.h", | 400 "lib/headless_content_main_delegate.h", |
| 401 "lib/renderer/devtools_isolated_world_ids.h", | |
| 399 "lib/renderer/headless_content_renderer_client.cc", | 402 "lib/renderer/headless_content_renderer_client.cc", |
| 400 "lib/renderer/headless_content_renderer_client.h", | 403 "lib/renderer/headless_content_renderer_client.h", |
| 401 ] | 404 ] |
| 402 deps += [ "//ui/base" ] | 405 deps += [ "//ui/base" ] |
| 403 if (enable_basic_printing) { | 406 if (enable_basic_printing) { |
| 404 deps += [ "//components/printing/renderer" ] | 407 deps += [ |
| 408 "//components/printing/renderer", | |
| 409 "//third_party/WebKit/public:blink", | |
|
Sami
2017/05/16 13:49:14
Did you mean to put this behind enable_basic_priti
alex clarke (OOO till 29th)
2017/05/17 09:09:32
Done.
| |
| 410 ] | |
| 405 } | 411 } |
| 406 configs += [ ":headless_implementation" ] | 412 configs += [ ":headless_implementation" ] |
| 407 } | 413 } |
| 408 } | 414 } |
| 409 | 415 |
| 410 group("headless_tests") { | 416 group("headless_tests") { |
| 411 testonly = true | 417 testonly = true |
| 412 | 418 |
| 413 deps = [ | 419 deps = [ |
| 414 ":headless_browsertests", | 420 ":headless_browsertests", |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 694 | 700 |
| 695 executable("headless_example") { | 701 executable("headless_example") { |
| 696 sources = [ | 702 sources = [ |
| 697 "app/headless_example.cc", | 703 "app/headless_example.cc", |
| 698 ] | 704 ] |
| 699 | 705 |
| 700 deps = [ | 706 deps = [ |
| 701 ":headless_shell_lib", | 707 ":headless_shell_lib", |
| 702 ] | 708 ] |
| 703 } | 709 } |
| OLD | NEW |