| 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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 } | 616 } |
| 617 | 617 |
| 618 executable("headless_shell") { | 618 executable("headless_shell") { |
| 619 sources = [ | 619 sources = [ |
| 620 "app/headless_shell_main.cc", | 620 "app/headless_shell_main.cc", |
| 621 ] | 621 ] |
| 622 | 622 |
| 623 deps = [ | 623 deps = [ |
| 624 ":headless_shell_lib", | 624 ":headless_shell_lib", |
| 625 ] | 625 ] |
| 626 |
| 627 if (is_win) { |
| 628 deps += [ "//build/win:default_exe_manifest" ] |
| 629 } |
| 626 } | 630 } |
| 627 | 631 |
| 628 process_version("version_header") { | 632 process_version("version_header") { |
| 629 template_file = "public/version.h.in" | 633 template_file = "public/version.h.in" |
| 630 sources = [ | 634 sources = [ |
| 631 "//build/util/LASTCHANGE", | 635 "//build/util/LASTCHANGE", |
| 632 "//chrome/VERSION", | 636 "//chrome/VERSION", |
| 633 ] | 637 ] |
| 634 output = "$target_gen_dir/public/version.h" | 638 output = "$target_gen_dir/public/version.h" |
| 635 } | 639 } |
| 636 | 640 |
| 637 executable("headless_example") { | 641 executable("headless_example") { |
| 638 sources = [ | 642 sources = [ |
| 639 "app/headless_example.cc", | 643 "app/headless_example.cc", |
| 640 ] | 644 ] |
| 641 | 645 |
| 642 deps = [ | 646 deps = [ |
| 643 ":headless_shell_lib", | 647 ":headless_shell_lib", |
| 644 ] | 648 ] |
| 645 } | 649 } |
| OLD | NEW |