| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 } | 189 } |
| 190 | 190 |
| 191 static_library("headless_lib") { | 191 static_library("headless_lib") { |
| 192 sources = generated_devtools_api + [ | 192 sources = generated_devtools_api + [ |
| 193 "lib/browser/headless_browser_context_impl.cc", | 193 "lib/browser/headless_browser_context_impl.cc", |
| 194 "lib/browser/headless_browser_context_impl.h", | 194 "lib/browser/headless_browser_context_impl.h", |
| 195 "lib/browser/headless_browser_context_options.cc", | 195 "lib/browser/headless_browser_context_options.cc", |
| 196 "lib/browser/headless_browser_context_options.h", | 196 "lib/browser/headless_browser_context_options.h", |
| 197 "lib/browser/headless_browser_impl.cc", | 197 "lib/browser/headless_browser_impl.cc", |
| 198 "lib/browser/headless_browser_impl.h", | 198 "lib/browser/headless_browser_impl.h", |
| 199 "lib/browser/headless_browser_impl_mac.mm", |
| 199 "lib/browser/headless_browser_main_parts.cc", | 200 "lib/browser/headless_browser_main_parts.cc", |
| 200 "lib/browser/headless_browser_main_parts.h", | 201 "lib/browser/headless_browser_main_parts.h", |
| 201 "lib/browser/headless_content_browser_client.cc", | 202 "lib/browser/headless_content_browser_client.cc", |
| 202 "lib/browser/headless_content_browser_client.h", | 203 "lib/browser/headless_content_browser_client.h", |
| 203 "lib/browser/headless_devtools.cc", | 204 "lib/browser/headless_devtools.cc", |
| 204 "lib/browser/headless_devtools.h", | 205 "lib/browser/headless_devtools.h", |
| 205 "lib/browser/headless_devtools_client_impl.cc", | 206 "lib/browser/headless_devtools_client_impl.cc", |
| 206 "lib/browser/headless_devtools_client_impl.h", | 207 "lib/browser/headless_devtools_client_impl.h", |
| 207 "lib/browser/headless_devtools_manager_delegate.cc", | 208 "lib/browser/headless_devtools_manager_delegate.cc", |
| 208 "lib/browser/headless_devtools_manager_delegate.h", | 209 "lib/browser/headless_devtools_manager_delegate.h", |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 "//components/crash/content/browser", | 283 "//components/crash/content/browser", |
| 283 "//components/security_state/content", | 284 "//components/security_state/content", |
| 284 "//components/security_state/core", | 285 "//components/security_state/core", |
| 285 "//content/public/app:both", | 286 "//content/public/app:both", |
| 286 "//content/public/browser", | 287 "//content/public/browser", |
| 287 "//content/public/common", | 288 "//content/public/common", |
| 288 "//content/public/common:service_names", | 289 "//content/public/common:service_names", |
| 289 "//net", | 290 "//net", |
| 290 "//services/service_manager/public/cpp", | 291 "//services/service_manager/public/cpp", |
| 291 "//third_party/mesa:osmesa", | 292 "//third_party/mesa:osmesa", |
| 292 "//ui/aura", | |
| 293 "//ui/base", | 293 "//ui/base", |
| 294 "//ui/compositor", | 294 "//ui/compositor", |
| 295 "//ui/display", | 295 "//ui/display", |
| 296 "//ui/events/devices", | 296 "//ui/events/devices", |
| 297 "//url", | 297 "//url", |
| 298 ] | 298 ] |
| 299 | 299 |
| 300 if (is_win) { | 300 if (is_win) { |
| 301 deps += [ | 301 deps += [ |
| 302 "//build/win:default_exe_manifest", | 302 "//build/win:default_exe_manifest", |
| 303 "//content:sandbox_helper_win", | 303 "//content:sandbox_helper_win", |
| 304 "//sandbox", | 304 "//sandbox", |
| 305 ] | 305 ] |
| 306 } | 306 } |
| 307 | 307 |
| 308 if (!is_mac) { |
| 309 deps += [ "//ui/aura" ] |
| 310 } |
| 311 |
| 308 if (headless_use_embedded_resources) { | 312 if (headless_use_embedded_resources) { |
| 309 deps += [ ":embed_resources" ] | 313 deps += [ ":embed_resources" ] |
| 310 sources += [ | 314 sources += [ |
| 311 "$root_gen_dir/headless/embedded_resource_pak.cc", | 315 "$root_gen_dir/headless/embedded_resource_pak.cc", |
| 312 "$root_gen_dir/headless/embedded_resource_pak.h", | 316 "$root_gen_dir/headless/embedded_resource_pak.h", |
| 313 ] | 317 ] |
| 314 } else { | 318 } else { |
| 315 deps += [ ":pak" ] | 319 deps += [ ":pak" ] |
| 316 } | 320 } |
| 317 | 321 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 | 471 |
| 468 executable("headless_example") { | 472 executable("headless_example") { |
| 469 sources = [ | 473 sources = [ |
| 470 "app/headless_example.cc", | 474 "app/headless_example.cc", |
| 471 ] | 475 ] |
| 472 | 476 |
| 473 deps = [ | 477 deps = [ |
| 474 "//headless:headless_shell_lib", | 478 "//headless:headless_shell_lib", |
| 475 ] | 479 ] |
| 476 } | 480 } |
| OLD | NEW |