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

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: Fine, no console logging Mr. Presubmit. Created 4 years, 9 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 | « BUILD.gn ('k') | headless/DEPS » ('j') | no next file with comments »
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("//testing/test.gni")
6 import("//tools/grit/repack.gni")
7
5 group("headless") { 8 group("headless") {
6 deps = [ 9 deps = [
7 "//headless:headless_lib", 10 "//headless:headless_lib",
8 ] 11 ]
9 } 12 }
10 13
14 repack("pak") {
15 sources = [
16 "$root_gen_dir/blink/devtools_resources.pak",
17 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
18 "$root_gen_dir/blink/public/resources/blink_resources.pak",
19 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
20 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
21 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
22 "$root_gen_dir/content/content_resources.pak",
23 "$root_gen_dir/net/net_resources.pak",
24 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
25 "$root_gen_dir/ui/resources/webui_resources.pak",
26 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
27 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
28 ]
29
30 deps = [
31 "//content:resources",
32 "//content/app/resources",
33 "//content/app/strings",
34 "//content/browser/devtools:resources",
35 "//content/browser/tracing:resources",
36 "//net:net_resources",
37 "//third_party/WebKit/public:image_resources",
38 "//third_party/WebKit/public:resources",
39 "//ui/resources",
40 "//ui/strings",
41 ]
42
43 output = "$root_out_dir/headless_lib.pak"
44 }
45
11 static_library("headless_lib") { 46 static_library("headless_lib") {
12 sources = [ 47 sources = [
48 "lib/browser/headless_browser_context.cc",
49 "lib/browser/headless_browser_context.h",
50 "lib/browser/headless_browser_impl.cc",
51 "lib/browser/headless_browser_impl.h",
52 "lib/browser/headless_browser_main_parts.cc",
53 "lib/browser/headless_browser_main_parts.h",
54 "lib/browser/headless_content_browser_client.cc",
55 "lib/browser/headless_content_browser_client.h",
56 "lib/browser/headless_devtools.cc",
57 "lib/browser/headless_devtools.h",
58 "lib/browser/headless_screen.cc",
59 "lib/browser/headless_screen.h",
60 "lib/browser/headless_url_request_context_getter.cc",
61 "lib/browser/headless_url_request_context_getter.h",
62 "lib/browser/headless_web_contents_impl.cc",
63 "lib/browser/headless_web_contents_impl.h",
64 "lib/headless_content_client.cc",
65 "lib/headless_content_client.h",
66 "lib/headless_content_main_delegate.cc",
67 "lib/headless_content_main_delegate.h",
68 "lib/renderer/headless_content_renderer_client.cc",
69 "lib/renderer/headless_content_renderer_client.h",
70 "lib/utility/headless_content_utility_client.cc",
71 "lib/utility/headless_content_utility_client.h",
13 "public/headless_browser.cc", 72 "public/headless_browser.cc",
14 "public/headless_browser.h", 73 "public/headless_browser.h",
15 "public/headless_export.h", 74 "public/headless_export.h",
16 "public/network.h", 75 "public/headless_web_contents.h",
17 "public/web_contents.h",
18 "public/web_frame.h",
19 ] 76 ]
20 77
21 deps = [ 78 deps = [
79 ":pak",
22 "//base", 80 "//base",
81 "//components/devtools_http_handler",
82 "//content/public/browser",
83 "//content/public/common",
84 "//content/public/renderer",
85 "//content/public/utility",
86 "//net",
87 "//ui/aura",
88 "//ui/base",
89 "//ui/compositor",
90 "//ui/ozone",
91 "//url",
23 ] 92 ]
24 } 93 }
94
95 group("headless_tests") {
96 testonly = true
97
98 deps = [
99 ":headless_browsertests",
100 ]
101 }
102
103 test("headless_browsertests") {
104 sources = [
105 "lib/headless_browser_browsertest.cc",
106 "lib/headless_web_contents_browsertest.cc",
107 "test/headless_browser_test.cc",
108 "test/headless_browser_test.h",
109 "test/headless_test_launcher.cc",
110 ]
111
112 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
113
114 deps = [
115 "//base",
116 "//content/test:browsertest_base",
117 "//content/test:test_support",
118 "//headless:headless_lib",
119 "//testing/gmock",
120 "//testing/gtest",
121 ]
122 }
123
124 executable("headless_shell") {
125 testonly = true
126
127 sources = [
128 "app/headless_shell.cc",
129 ]
130
131 deps = [
132 "//headless:headless_lib",
133 ]
134 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | headless/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698