| 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("//headless/headless.gni") | 6 import("//headless/headless.gni") |
| 7 import("//build/util/process_version.gni") | 7 import("//build/util/process_version.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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 "//net", | 316 "//net", |
| 317 "//services/service_manager/public/cpp", | 317 "//services/service_manager/public/cpp", |
| 318 "//third_party/mesa:osmesa", | 318 "//third_party/mesa:osmesa", |
| 319 "//ui/base", | 319 "//ui/base", |
| 320 "//ui/compositor", | 320 "//ui/compositor", |
| 321 "//ui/display", | 321 "//ui/display", |
| 322 "//ui/events/devices", | 322 "//ui/events/devices", |
| 323 "//url", | 323 "//url", |
| 324 ] | 324 ] |
| 325 | 325 |
| 326 if (is_mac) { | 326 if (!is_mac) { |
| 327 deps += [ ":mac_helpers" ] | |
| 328 } else { | |
| 329 deps += [ "//ui/aura" ] | 327 deps += [ "//ui/aura" ] |
| 330 } | 328 } |
| 331 | 329 |
| 332 if (enable_basic_printing) { | 330 if (enable_basic_printing) { |
| 333 deps += [ | 331 deps += [ |
| 334 "//components/printing/browser", | 332 "//components/printing/browser", |
| 335 "//components/printing/renderer", | 333 "//components/printing/renderer", |
| 336 ] | 334 ] |
| 337 } | 335 } |
| 338 | 336 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 repack("headless_browser_tests_pak") { | 406 repack("headless_browser_tests_pak") { |
| 409 sources = [ | 407 sources = [ |
| 410 "$root_gen_dir/headless/headless_browsertest_resources.pak", | 408 "$root_gen_dir/headless/headless_browsertest_resources.pak", |
| 411 ] | 409 ] |
| 412 output = "$root_out_dir/headless_browser_tests.pak" | 410 output = "$root_out_dir/headless_browser_tests.pak" |
| 413 deps = [ | 411 deps = [ |
| 414 ":headless_browsertest_resources_grit", | 412 ":headless_browsertest_resources_grit", |
| 415 ] | 413 ] |
| 416 } | 414 } |
| 417 | 415 |
| 418 if (is_mac) { | |
| 419 copy("mac_helpers") { | |
| 420 sources = [ | |
| 421 "$root_out_dir/crashpad_handler", | |
| 422 ] | |
| 423 | |
| 424 deps = [ | |
| 425 "//third_party/crashpad/crashpad/handler:crashpad_handler", | |
| 426 ] | |
| 427 | |
| 428 outputs = [ | |
| 429 "$root_out_dir/Helpers/{{source_file_part}}", | |
| 430 ] | |
| 431 } | |
| 432 } | |
| 433 | |
| 434 test("headless_browsertests") { | 416 test("headless_browsertests") { |
| 435 sources = [ | 417 sources = [ |
| 436 "lib/embedder_mojo_browsertest.cc", | 418 "lib/embedder_mojo_browsertest.cc", |
| 437 "lib/headless_browser_browsertest.cc", | 419 "lib/headless_browser_browsertest.cc", |
| 438 "lib/headless_browser_context_browsertest.cc", | 420 "lib/headless_browser_context_browsertest.cc", |
| 439 "lib/headless_devtools_client_browsertest.cc", | 421 "lib/headless_devtools_client_browsertest.cc", |
| 440 "lib/headless_web_contents_browsertest.cc", | 422 "lib/headless_web_contents_browsertest.cc", |
| 441 "public/util/dom_tree_extractor_browsertest.cc", | 423 "public/util/dom_tree_extractor_browsertest.cc", |
| 442 "public/util/flat_dom_tree_extractor_browsertest.cc", | 424 "public/util/flat_dom_tree_extractor_browsertest.cc", |
| 443 "public/util/protocol_handler_request_id_browsertest.cc", | 425 "public/util/protocol_handler_request_id_browsertest.cc", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 | 505 |
| 524 executable("headless_example") { | 506 executable("headless_example") { |
| 525 sources = [ | 507 sources = [ |
| 526 "app/headless_example.cc", | 508 "app/headless_example.cc", |
| 527 ] | 509 ] |
| 528 | 510 |
| 529 deps = [ | 511 deps = [ |
| 530 "//headless:headless_shell_lib", | 512 "//headless:headless_shell_lib", |
| 531 ] | 513 ] |
| 532 } | 514 } |
| OLD | NEW |