| 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("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "//services/service_manager/public/cpp", | 278 "//services/service_manager/public/cpp", |
| 279 "//third_party/mesa:osmesa", | 279 "//third_party/mesa:osmesa", |
| 280 "//ui/aura", | 280 "//ui/aura", |
| 281 "//ui/base", | 281 "//ui/base", |
| 282 "//ui/compositor", | 282 "//ui/compositor", |
| 283 "//ui/display", | 283 "//ui/display", |
| 284 "//ui/events/devices", | 284 "//ui/events/devices", |
| 285 "//url", | 285 "//url", |
| 286 ] | 286 ] |
| 287 | 287 |
| 288 if (is_win) { |
| 289 deps += [ |
| 290 "//build/win:default_exe_manifest", |
| 291 "//content:sandbox_helper_win", |
| 292 "//sandbox", |
| 293 ] |
| 294 } |
| 295 |
| 288 if (headless_use_embedded_resources) { | 296 if (headless_use_embedded_resources) { |
| 289 deps += [ ":embed_resources" ] | 297 deps += [ ":embed_resources" ] |
| 290 sources += [ | 298 sources += [ |
| 291 "$root_gen_dir/headless/embedded_resource_pak.cc", | 299 "$root_gen_dir/headless/embedded_resource_pak.cc", |
| 292 "$root_gen_dir/headless/embedded_resource_pak.h", | 300 "$root_gen_dir/headless/embedded_resource_pak.h", |
| 293 ] | 301 ] |
| 294 } else { | 302 } else { |
| 295 deps += [ ":pak" ] | 303 deps += [ ":pak" ] |
| 296 } | 304 } |
| 297 | 305 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 "app/headless_shell_switches.cc", | 420 "app/headless_shell_switches.cc", |
| 413 "app/headless_shell_switches.h", | 421 "app/headless_shell_switches.h", |
| 414 "app/shell_navigation_request.cc", | 422 "app/shell_navigation_request.cc", |
| 415 "app/shell_navigation_request.h", | 423 "app/shell_navigation_request.h", |
| 416 "public/headless_shell.h", | 424 "public/headless_shell.h", |
| 417 ] | 425 ] |
| 418 | 426 |
| 419 deps = [ | 427 deps = [ |
| 420 "//headless:headless_lib", | 428 "//headless:headless_lib", |
| 421 ] | 429 ] |
| 430 |
| 431 configs += [ ":headless_implementation" ] |
| 422 } | 432 } |
| 423 | 433 |
| 424 executable("headless_shell") { | 434 executable("headless_shell") { |
| 425 sources = [ | 435 sources = [ |
| 426 "app/headless_shell_main.cc", | 436 "app/headless_shell_main.cc", |
| 427 ] | 437 ] |
| 428 | 438 |
| 429 deps = [ | 439 deps = [ |
| 430 "//headless:headless_shell_lib", | 440 "//headless:headless_shell_lib", |
| 431 ] | 441 ] |
| 442 |
| 443 configs += [ ":headless_implementation" ] |
| 432 } | 444 } |
| OLD | NEW |