Index: headless/BUILD.gn |
diff --git a/headless/BUILD.gn b/headless/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e053908348a289e31ddaf97ee5225ca96f9131c7 |
--- /dev/null |
+++ b/headless/BUILD.gn |
@@ -0,0 +1,79 @@ |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+group("headless") { |
+ testonly = true |
+ |
+ deps = [ |
+ "//headless:headless_lib", |
+ "//headless:headless_shell", |
+ ] |
+} |
+ |
+executable("headless_shell") { |
+ testonly = true |
+ |
+ sources = [ |
+ "app/headless_shell.cc", |
+ ] |
+ |
+ deps = [ |
+ "//headless:headless_lib", |
+ "//skia", |
+ ] |
+} |
+ |
+static_library("headless_lib") { |
+ testonly = true |
+ |
+ sources = [ |
+ "lib/browser/headless_browser_context.cc", |
+ "lib/browser/headless_browser_context.h", |
+ "lib/browser/headless_browser_main_parts.cc", |
+ "lib/browser/headless_browser_main_parts.h", |
+ "lib/browser/headless_content_browser_client.cc", |
+ "lib/browser/headless_content_browser_client.h", |
+ "lib/browser/headless_devtools.cc", |
+ "lib/browser/headless_devtools.h", |
+ "lib/browser/headless_network_delegate.cc", |
+ "lib/browser/headless_network_delegate.h", |
+ "lib/browser/headless_url_request_context_getter.cc", |
+ "lib/browser/headless_url_request_context_getter.h", |
+ "lib/renderer/headless_content_renderer_client.cc", |
+ "lib/renderer/headless_content_renderer_client.h", |
+ "lib/utility/headless_content_utility_client.cc", |
+ "lib/utility/headless_content_utility_client.h", |
+ "lib/headless_browser_impl.cc", |
+ "lib/headless_browser_impl.h", |
+ "lib/headless_shell_main_delegate.cc", |
+ "lib/headless_shell_main_delegate.h", |
+ "lib/headless_content_client.h", |
+ "lib/headless_content_client.cc", |
+ "lib/web_contents_impl.cc", |
+ "lib/web_contents_impl.h", |
+ "lib/web_document.cc", |
+ "lib/web_element.cc", |
+ "lib/web_frame_impl.cc", |
+ "lib/web_frame_impl.h", |
+ "lib/web_node.cc", |
+ "public/headless_browser.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//components/devtools_http_handler", |
+ "//content/public/browser", |
+ "//content/public/common", |
+ "//content/public/renderer", |
+ "//content/public/utility", |
+ "//net", |
+ "//skia", |
+ "//third_party/WebKit/public:blink", |
+ "//url", |
+ "//ui/base", |
+ "//ui/aura", |
+ "//ui/aura:test_support", |
+ "//ui/compositor", |
+ "//cc" |
+ ] |
+} |