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

Side by Side Diff: headless/BUILD.gn

Issue 1674263002: headless: Initial headless embedder API implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove provisional client API for now. Created 4 years, 10 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
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("//testing/test.gni")
6
5 group("headless") { 7 group("headless") {
6 deps = [ 8 deps = [
7 "//headless:headless_lib", 9 "//headless:headless_lib",
8 ] 10 ]
9 } 11 }
10 12
11 static_library("headless_lib") { 13 static_library("headless_lib") {
12 sources = [ 14 sources = [
15 "lib/browser/headless_browser_context.cc",
16 "lib/browser/headless_browser_context.h",
17 "lib/browser/headless_browser_main_parts.cc",
18 "lib/browser/headless_browser_main_parts.h",
19 "lib/browser/headless_content_browser_client.cc",
20 "lib/browser/headless_content_browser_client.h",
21 "lib/browser/headless_devtools.cc",
22 "lib/browser/headless_devtools.h",
23 "lib/browser/headless_network_delegate.cc",
24 "lib/browser/headless_network_delegate.h",
25 "lib/browser/headless_screen.cc",
26 "lib/browser/headless_screen.h",
27 "lib/browser/headless_url_request_context_getter.cc",
28 "lib/browser/headless_url_request_context_getter.h",
29 "lib/headless_browser_impl.cc",
30 "lib/headless_browser_impl.h",
31 "lib/headless_content_client.cc",
32 "lib/headless_content_client.h",
33 "lib/headless_content_main_delegate.cc",
34 "lib/headless_content_main_delegate.h",
35 "lib/headless_web_contents_impl.cc",
36 "lib/headless_web_contents_impl.h",
37 "lib/renderer/headless_content_renderer_client.cc",
38 "lib/renderer/headless_content_renderer_client.h",
39 "lib/utility/headless_content_utility_client.cc",
40 "lib/utility/headless_content_utility_client.h",
13 "public/headless_browser.cc", 41 "public/headless_browser.cc",
14 "public/headless_browser.h", 42 "public/headless_browser.h",
15 "public/headless_export.h", 43 "public/headless_export.h",
16 "public/network.h", 44 "public/headless_network.h",
17 "public/web_contents.h", 45 "public/headless_web_contents.h",
18 "public/web_frame.h",
19 ] 46 ]
20 47
21 deps = [ 48 deps = [
22 "//base", 49 "//base",
50 "//components/devtools_http_handler",
51 "//content/public/browser",
52 "//content/public/common",
53 "//content/public/renderer",
54 "//content/public/utility",
55 "//net",
56 "//ui/aura",
57 "//ui/base",
58 "//ui/compositor",
59 "//ui/ozone:ozone_base",
60 "//url",
23 ] 61 ]
24 } 62 }
63
64 group("headless_tests") {
65 testonly = true
66
67 deps = [
68 ":headless_browsertests",
69 ]
70 }
71
72 test("headless_browsertests") {
73 sources = [
74 "lib/headless_browser_browsertest.cc",
75 "lib/headless_web_contents_browsertest.cc",
76 "test/headless_browser_test.cc",
77 "test/headless_browser_test.h",
78 "test/headless_test_launcher.cc",
79 ]
80
81 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
82
83 deps = [
84 "//base",
85 "//content/test:browsertest_base",
86 "//content/test:test_support",
87 "//headless:headless_lib",
88 "//testing/gmock",
89 "//testing/gtest",
90 ]
91 }
92
93 executable("headless_shell") {
94 testonly = true
95
96 sources = [
97 "app/headless_shell.cc",
98 ]
99
100 deps = [
101 "//headless:headless_lib",
102 ]
103 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | headless/DEPS » ('j') | headless/app/headless_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698