| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 deps = [ | 100 deps = [ |
| 101 ":pak", | 101 ":pak", |
| 102 ] | 102 ] |
| 103 } | 103 } |
| 104 | 104 |
| 105 mojom("tab_socket") { | 105 mojom("tab_socket") { |
| 106 sources = [ | 106 sources = [ |
| 107 "lib/tab_socket.mojom", | 107 "lib/tab_socket.mojom", |
| 108 ] | 108 ] |
| 109 |
| 110 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 111 use_once_callback = false |
| 109 } | 112 } |
| 110 | 113 |
| 111 grit("resources") { | 114 grit("resources") { |
| 112 source = "lib/resources/headless_lib_resources.grd" | 115 source = "lib/resources/headless_lib_resources.grd" |
| 113 outputs = [ | 116 outputs = [ |
| 114 "grit/headless_lib_resources.h", | 117 "grit/headless_lib_resources.h", |
| 115 "$root_gen_dir/headless/headless_lib_resources.pak", | 118 "$root_gen_dir/headless/headless_lib_resources.pak", |
| 116 ] | 119 ] |
| 117 grit_flags = [ | 120 grit_flags = [ |
| 118 "-E", | 121 "-E", |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 | 524 |
| 522 executable("headless_example") { | 525 executable("headless_example") { |
| 523 sources = [ | 526 sources = [ |
| 524 "app/headless_example.cc", | 527 "app/headless_example.cc", |
| 525 ] | 528 ] |
| 526 | 529 |
| 527 deps = [ | 530 deps = [ |
| 528 ":headless_shell_lib", | 531 ":headless_shell_lib", |
| 529 ] | 532 ] |
| 530 } | 533 } |
| OLD | NEW |