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

Unified Diff: headless/BUILD.gn

Issue 1991953002: Implement a runtime headless mode for Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add headless platform event source Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 5a59eac783a44911681a4958d5505a5076f33533..dc9fbf99fe5b9a0f90ee96ab6e947b6557920272 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -167,6 +167,8 @@ static_library("headless_lib") {
"lib/browser/headless_devtools_client_impl.h",
"lib/browser/headless_devtools_manager_delegate.cc",
"lib/browser/headless_devtools_manager_delegate.h",
+ "lib/browser/headless_platform_event_source.cc",
+ "lib/browser/headless_platform_event_source.h",
"lib/browser/headless_screen.cc",
"lib/browser/headless_screen.h",
"lib/browser/headless_url_request_context_getter.cc",
@@ -175,6 +177,8 @@ static_library("headless_lib") {
"lib/browser/headless_web_contents_impl.h",
"lib/browser/headless_window_parenting_client.cc",
"lib/browser/headless_window_parenting_client.h",
+ "lib/browser/headless_window_tree_host.cc",
+ "lib/browser/headless_window_tree_host.h",
"lib/headless_content_client.cc",
"lib/headless_content_client.h",
"lib/headless_content_main_delegate.cc",
@@ -244,10 +248,14 @@ static_library("headless_lib") {
"//ui/base",
"//ui/compositor",
"//ui/display",
- "//ui/ozone",
+ "//ui/events/devices",
"//url",
]
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
+
configs += [ ":headless_implementation" ]
}

Powered by Google App Engine
This is Rietveld 408576698