Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Side by Side Diff: headless/BUILD.gn

Issue 2049363003: Adds support for headless chrome embedder mojo services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | headless/DEPS » ('j') | headless/lib/browser/headless_web_contents_impl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//testing/test.gni") 6 import("//testing/test.gni")
6 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
7 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
8 9
9 config("headless_implementation") { 10 config("headless_implementation") {
10 defines = [ "HEADLESS_IMPLEMENTATION" ] 11 defines = [ "HEADLESS_IMPLEMENTATION" ]
11 } 12 }
12 13
13 group("headless") { 14 group("headless") {
14 deps = [ 15 deps = [
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 _stamp, 310 _stamp,
310 ] 311 ]
311 312
312 script = "lib/browser/client_api_generator_unittest.py" 313 script = "lib/browser/client_api_generator_unittest.py"
313 args = [ 314 args = [
314 "--stamp", 315 "--stamp",
315 rebase_path(_stamp, root_build_dir), 316 rebase_path(_stamp, root_build_dir),
316 ] 317 ]
317 } 318 }
318 319
320 mojom("embedder_mojo_for_testing") {
321 sources = [
322 "lib/embedder_test.mojom",
323 ]
324 }
325
319 test("headless_browsertests") { 326 test("headless_browsertests") {
320 sources = [ 327 sources = [
328 "lib/embedder_mojo_browsertest.cc",
321 "lib/headless_browser_browsertest.cc", 329 "lib/headless_browser_browsertest.cc",
322 "lib/headless_devtools_client_browsertest.cc", 330 "lib/headless_devtools_client_browsertest.cc",
323 "lib/headless_web_contents_browsertest.cc", 331 "lib/headless_web_contents_browsertest.cc",
324 "test/headless_browser_test.cc", 332 "test/headless_browser_test.cc",
325 "test/headless_browser_test.h", 333 "test/headless_browser_test.h",
326 "test/headless_test_launcher.cc", 334 "test/headless_test_launcher.cc",
327 ] 335 ]
328 336
329 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 337 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
330 338
331 deps = [ 339 deps = [
340 ":embedder_mojo_for_testing",
332 "//base", 341 "//base",
333 "//content/test:browsertest_base", 342 "//content/test:browsertest_base",
334 "//content/test:test_support", 343 "//content/test:test_support",
335 "//headless:headless_lib", 344 "//headless:headless_lib",
336 "//testing/gmock", 345 "//testing/gmock",
337 "//testing/gtest", 346 "//testing/gtest",
338 ] 347 ]
339 } 348 }
340 349
341 executable("headless_shell") { 350 executable("headless_shell") {
342 sources = [ 351 sources = [
343 "app/headless_shell.cc", 352 "app/headless_shell.cc",
344 "app/headless_shell_switches.cc", 353 "app/headless_shell_switches.cc",
345 "app/headless_shell_switches.h", 354 "app/headless_shell_switches.h",
346 ] 355 ]
347 356
348 deps = [ 357 deps = [
349 "//headless:headless_lib", 358 "//headless:headless_lib",
350 ] 359 ]
351 } 360 }
OLDNEW
« no previous file with comments | « no previous file | headless/DEPS » ('j') | headless/lib/browser/headless_web_contents_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698