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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 252 } |
253 | 253 |
254 configs += [ ":headless_implementation" ] | 254 configs += [ ":headless_implementation" ] |
255 } | 255 } |
256 | 256 |
257 group("headless_tests") { | 257 group("headless_tests") { |
258 testonly = true | 258 testonly = true |
259 | 259 |
260 deps = [ | 260 deps = [ |
261 ":headless_browsertests", | 261 ":headless_browsertests", |
| 262 ":headless_example", |
262 ":headless_unittests", | 263 ":headless_unittests", |
263 ] | 264 ] |
264 } | 265 } |
265 | 266 |
266 test("headless_unittests") { | 267 test("headless_unittests") { |
267 sources = [ | 268 sources = [ |
268 "public/domains/types_unittest.cc", | 269 "public/domains/types_unittest.cc", |
269 "public/util/deterministic_dispatcher_test.cc", | 270 "public/util/deterministic_dispatcher_test.cc", |
270 "public/util/error_reporter_unittest.cc", | 271 "public/util/error_reporter_unittest.cc", |
271 "public/util/expedited_dispatcher_test.cc", | 272 "public/util/expedited_dispatcher_test.cc", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 373 |
373 executable("headless_shell") { | 374 executable("headless_shell") { |
374 sources = [ | 375 sources = [ |
375 "app/headless_shell_main.cc", | 376 "app/headless_shell_main.cc", |
376 ] | 377 ] |
377 | 378 |
378 deps = [ | 379 deps = [ |
379 "//headless:headless_shell_lib", | 380 "//headless:headless_shell_lib", |
380 ] | 381 ] |
381 } | 382 } |
| 383 |
| 384 executable("headless_example") { |
| 385 sources = [ |
| 386 "app/headless_example.cc", |
| 387 ] |
| 388 |
| 389 deps = [ |
| 390 "//headless:headless_shell_lib", |
| 391 ] |
| 392 } |
OLD | NEW |