| 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("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 } | 316 } |
| 317 | 317 |
| 318 configs += [ ":headless_implementation" ] | 318 configs += [ ":headless_implementation" ] |
| 319 } | 319 } |
| 320 | 320 |
| 321 group("headless_tests") { | 321 group("headless_tests") { |
| 322 testonly = true | 322 testonly = true |
| 323 | 323 |
| 324 deps = [ | 324 deps = [ |
| 325 ":headless_browsertests", | 325 ":headless_browsertests", |
| 326 ":headless_example", |
| 326 ":headless_unittests", | 327 ":headless_unittests", |
| 327 ] | 328 ] |
| 328 } | 329 } |
| 329 | 330 |
| 330 test("headless_unittests") { | 331 test("headless_unittests") { |
| 331 sources = [ | 332 sources = [ |
| 332 "public/domains/types_unittest.cc", | 333 "public/domains/types_unittest.cc", |
| 333 "public/util/deterministic_dispatcher_test.cc", | 334 "public/util/deterministic_dispatcher_test.cc", |
| 334 "public/util/error_reporter_unittest.cc", | 335 "public/util/error_reporter_unittest.cc", |
| 335 "public/util/expedited_dispatcher_test.cc", | 336 "public/util/expedited_dispatcher_test.cc", |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 } | 453 } |
| 453 | 454 |
| 454 process_version("version_header") { | 455 process_version("version_header") { |
| 455 template_file = "public/version.h.in" | 456 template_file = "public/version.h.in" |
| 456 sources = [ | 457 sources = [ |
| 457 "//build/util/LASTCHANGE", | 458 "//build/util/LASTCHANGE", |
| 458 "//chrome/VERSION", | 459 "//chrome/VERSION", |
| 459 ] | 460 ] |
| 460 output = "$target_gen_dir/public/version.h" | 461 output = "$target_gen_dir/public/version.h" |
| 461 } | 462 } |
| 463 |
| 464 executable("headless_example") { |
| 465 sources = [ |
| 466 "app/headless_example.cc", |
| 467 ] |
| 468 |
| 469 deps = [ |
| 470 "//headless:headless_shell_lib", |
| 471 ] |
| 472 } |
| OLD | NEW |