| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 "headless", | 93 "headless", |
| 94 "--variable_name", | 94 "--variable_name", |
| 95 "kHeadlessResourcePak", | 95 "kHeadlessResourcePak", |
| 96 ] | 96 ] |
| 97 | 97 |
| 98 deps = [ | 98 deps = [ |
| 99 ":pak", | 99 ":pak", |
| 100 ] | 100 ] |
| 101 } | 101 } |
| 102 | 102 |
| 103 mojom("tab_socket") { |
| 104 sources = [ |
| 105 "lib/tab_socket.mojom", |
| 106 ] |
| 107 } |
| 108 |
| 103 grit("resources") { | 109 grit("resources") { |
| 104 source = "lib/resources/headless_lib_resources.grd" | 110 source = "lib/resources/headless_lib_resources.grd" |
| 105 outputs = [ | 111 outputs = [ |
| 106 "grit/headless_lib_resources.h", | 112 "grit/headless_lib_resources.h", |
| 107 "$root_gen_dir/headless/headless_lib_resources.pak", | 113 "$root_gen_dir/headless/headless_lib_resources.pak", |
| 108 ] | 114 ] |
| 115 grit_flags = [ |
| 116 "-E", |
| 117 "mojom_root=" + rebase_path(root_gen_dir), |
| 118 ] |
| 119 deps = [ |
| 120 ":tab_socket__generator", |
| 121 ] |
| 109 } | 122 } |
| 110 | 123 |
| 111 devtools_domains = [ | 124 devtools_domains = [ |
| 112 "accessibility", | 125 "accessibility", |
| 113 "animation", | 126 "animation", |
| 114 "application_cache", | 127 "application_cache", |
| 115 "cache_storage", | 128 "cache_storage", |
| 116 "console", | 129 "console", |
| 117 "css", | 130 "css", |
| 118 "database", | 131 "database", |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 "lib/browser/headless_devtools_manager_delegate.h", | 226 "lib/browser/headless_devtools_manager_delegate.h", |
| 214 "lib/browser/headless_macros.h", | 227 "lib/browser/headless_macros.h", |
| 215 "lib/browser/headless_network_delegate.cc", | 228 "lib/browser/headless_network_delegate.cc", |
| 216 "lib/browser/headless_network_delegate.h", | 229 "lib/browser/headless_network_delegate.h", |
| 217 "lib/browser/headless_permission_manager.cc", | 230 "lib/browser/headless_permission_manager.cc", |
| 218 "lib/browser/headless_permission_manager.h", | 231 "lib/browser/headless_permission_manager.h", |
| 219 "lib/browser/headless_platform_event_source.cc", | 232 "lib/browser/headless_platform_event_source.cc", |
| 220 "lib/browser/headless_platform_event_source.h", | 233 "lib/browser/headless_platform_event_source.h", |
| 221 "lib/browser/headless_shell_application_mac.mm", | 234 "lib/browser/headless_shell_application_mac.mm", |
| 222 "lib/browser/headless_shell_application_mac.h", | 235 "lib/browser/headless_shell_application_mac.h", |
| 236 "lib/browser/headless_tab_socket_impl.cc", |
| 237 "lib/browser/headless_tab_socket_impl.h", |
| 223 "lib/browser/headless_url_request_context_getter.cc", | 238 "lib/browser/headless_url_request_context_getter.cc", |
| 224 "lib/browser/headless_url_request_context_getter.h", | 239 "lib/browser/headless_url_request_context_getter.h", |
| 225 "lib/browser/headless_web_contents_impl.cc", | 240 "lib/browser/headless_web_contents_impl.cc", |
| 226 "lib/browser/headless_web_contents_impl.h", | 241 "lib/browser/headless_web_contents_impl.h", |
| 227 "lib/browser/headless_window_tree_host.h", | 242 "lib/browser/headless_window_tree_host.h", |
| 228 "lib/headless_crash_reporter_client.cc", | 243 "lib/headless_crash_reporter_client.cc", |
| 229 "lib/headless_crash_reporter_client.h", | 244 "lib/headless_crash_reporter_client.h", |
| 230 "lib/headless_content_client.cc", | 245 "lib/headless_content_client.cc", |
| 231 "lib/headless_content_client.h", | 246 "lib/headless_content_client.h", |
| 232 "lib/headless_content_main_delegate.cc", | 247 "lib/headless_content_main_delegate.cc", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 sources += [ | 311 sources += [ |
| 297 "lib/browser/headless_print_manager.cc", | 312 "lib/browser/headless_print_manager.cc", |
| 298 "lib/browser/headless_print_manager.h", | 313 "lib/browser/headless_print_manager.h", |
| 299 "lib/renderer/headless_print_web_view_helper_delegate.cc", | 314 "lib/renderer/headless_print_web_view_helper_delegate.cc", |
| 300 "lib/renderer/headless_print_web_view_helper_delegate.h", | 315 "lib/renderer/headless_print_web_view_helper_delegate.h", |
| 301 ] | 316 ] |
| 302 } | 317 } |
| 303 | 318 |
| 304 deps = [ | 319 deps = [ |
| 305 ":gen_devtools_client_api", | 320 ":gen_devtools_client_api", |
| 321 ":tab_socket", |
| 306 ":version_header", | 322 ":version_header", |
| 307 "//base", | 323 "//base", |
| 308 "//components/crash/content/browser", | 324 "//components/crash/content/browser", |
| 309 "//components/security_state/content", | 325 "//components/security_state/content", |
| 310 "//components/security_state/core", | 326 "//components/security_state/core", |
| 311 "//content/public/app:both", | 327 "//content/public/app:both", |
| 312 "//content/public/browser", | 328 "//content/public/browser", |
| 313 "//content/public/child:child", | 329 "//content/public/child:child", |
| 314 "//content/public/common", | 330 "//content/public/common", |
| 315 "//content/public/common:service_names", | 331 "//content/public/common:service_names", |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 | 521 |
| 506 executable("headless_example") { | 522 executable("headless_example") { |
| 507 sources = [ | 523 sources = [ |
| 508 "app/headless_example.cc", | 524 "app/headless_example.cc", |
| 509 ] | 525 ] |
| 510 | 526 |
| 511 deps = [ | 527 deps = [ |
| 512 "//headless:headless_shell_lib", | 528 "//headless:headless_shell_lib", |
| 513 ] | 529 ] |
| 514 } | 530 } |
| OLD | NEW |