| 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 deps += [ "//components/printing/browser" ] | 482 deps += [ "//components/printing/browser" ] |
| 483 } | 483 } |
| 484 } | 484 } |
| 485 | 485 |
| 486 if (is_mac) { | 486 if (is_mac) { |
| 487 copy("mac_helpers") { | 487 copy("mac_helpers") { |
| 488 sources = [ | 488 sources = [ |
| 489 "$root_out_dir/crashpad_handler", | 489 "$root_out_dir/crashpad_handler", |
| 490 ] | 490 ] |
| 491 | 491 |
| 492 if (is_component_build) { |
| 493 sources += [ "$root_out_dir/libbase.dylib" ] |
| 494 } |
| 495 |
| 492 deps = [ | 496 deps = [ |
| 497 "//base", |
| 493 "//third_party/crashpad/crashpad/handler:crashpad_handler", | 498 "//third_party/crashpad/crashpad/handler:crashpad_handler", |
| 494 ] | 499 ] |
| 495 | 500 |
| 496 outputs = [ | 501 outputs = [ |
| 497 "$root_out_dir/Helpers/{{source_file_part}}", | 502 "$root_out_dir/Helpers/{{source_file_part}}", |
| 498 ] | 503 ] |
| 499 } | 504 } |
| 500 } | 505 } |
| 501 | 506 |
| 502 test("headless_browsertests") { | 507 test("headless_browsertests") { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 521 "$root_out_dir/headless_lib.pak", | 526 "$root_out_dir/headless_lib.pak", |
| 522 "//net/tools/testserver/", | 527 "//net/tools/testserver/", |
| 523 "//third_party/pyftpdlib/", | 528 "//third_party/pyftpdlib/", |
| 524 "//third_party/pywebsocket/", | 529 "//third_party/pywebsocket/", |
| 525 "//third_party/skia/", | 530 "//third_party/skia/", |
| 526 "//third_party/tlslite/", | 531 "//third_party/tlslite/", |
| 527 "test/data/", | 532 "test/data/", |
| 528 ] | 533 ] |
| 529 | 534 |
| 530 if (is_mac) { | 535 if (is_mac) { |
| 531 data += [ "$root_out_dir/Helpers/crashpad_handler" ] | 536 data_deps = [ ":mac_helpers" ] |
| 532 } | 537 } |
| 533 | 538 |
| 534 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 539 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 535 | 540 |
| 536 if (!is_component_build) { | 541 if (!is_component_build) { |
| 537 sources += [ | 542 sources += [ |
| 538 "lib/browser/headless_content_browser_client.cc", | 543 "lib/browser/headless_content_browser_client.cc", |
| 539 "lib/browser/headless_content_browser_client.h", | 544 "lib/browser/headless_content_browser_client.h", |
| 540 ] | 545 ] |
| 541 } | 546 } |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 707 |
| 703 executable("headless_example") { | 708 executable("headless_example") { |
| 704 sources = [ | 709 sources = [ |
| 705 "app/headless_example.cc", | 710 "app/headless_example.cc", |
| 706 ] | 711 ] |
| 707 | 712 |
| 708 deps = [ | 713 deps = [ |
| 709 ":headless_shell_lib", | 714 ":headless_shell_lib", |
| 710 ] | 715 ] |
| 711 } | 716 } |
| OLD | NEW |