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

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: Added navigation test. 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", 46 "public/headless_web_frame.h",
19 ] 47 ]
20 48
21 deps = [ 49 deps = [
22 "//base", 50 "//base",
51 "//components/devtools_http_handler",
52 "//content/public/browser",
53 "//content/public/common",
54 "//content/public/renderer",
55 "//content/public/utility",
56 "//net",
57 "//ui/aura",
58 "//ui/base",
59 "//ui/compositor",
60 "//ui/ozone:ozone_base",
61 "//url",
23 ] 62 ]
24 } 63 }
64
65 group("headless_tests") {
66 testonly = true
67
68 deps = [
69 ":headless_browsertests",
70 ]
71 }
72
73 test("headless_browsertests") {
74 sources = [
75 "lib/headless_browser_browsertest.cc",
76 "lib/headless_web_contents_browsertest.cc",
77 "test/headless_browser_test.cc",
78 "test/headless_browser_test.h",
79 "test/headless_test_launcher.cc",
80 ]
81
82 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
83
84 deps = [
85 "//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/public/headless_network.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698