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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 config("headless_implementation") { | 10 config("headless_implementation") { |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 ":embedder_mojo_for_testing", | 339 ":embedder_mojo_for_testing", |
340 ":headless_browser_tests_pak", | 340 ":headless_browser_tests_pak", |
341 "//base", | 341 "//base", |
342 "//content/test:test_support", | 342 "//content/test:test_support", |
343 "//headless:headless_lib", | 343 "//headless:headless_lib", |
344 "//testing/gmock", | 344 "//testing/gmock", |
345 "//testing/gtest", | 345 "//testing/gtest", |
346 ] | 346 ] |
347 } | 347 } |
348 | 348 |
349 executable("headless_shell") { | 349 static_library("headless_shell_lib") { |
350 sources = [ | 350 sources = [ |
351 "app/headless_shell.cc", | 351 "app/headless_shell.cc", |
352 "app/headless_shell_switches.cc", | 352 "app/headless_shell_switches.cc", |
353 "app/headless_shell_switches.h", | 353 "app/headless_shell_switches.h", |
| 354 "public/headless_shell.h", |
354 ] | 355 ] |
355 | 356 |
356 deps = [ | 357 deps = [ |
357 "//headless:headless_lib", | 358 "//headless:headless_lib", |
358 ] | 359 ] |
359 } | 360 } |
| 361 |
| 362 executable("headless_shell") { |
| 363 sources = [ |
| 364 "app/headless_shell_main.cc", |
| 365 ] |
| 366 |
| 367 deps = [ |
| 368 "//headless:headless_shell_lib", |
| 369 ] |
| 370 } |
OLD | NEW |