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

Unified Diff: headless/BUILD.gn

Issue 2669693002: Minimize headless code that refers to aura. (Closed)
Patch Set: Remove GetTopWindowContainingPoint Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | headless/lib/browser/headless_browser_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 5fd0de8a4732594d67332ab9900ed221502524a0..f57c63262098640062cd57ffbc01bbb2d8b66e93 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -207,16 +207,10 @@ static_library("headless_lib") {
"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",
"lib/browser/headless_url_request_context_getter.h",
"lib/browser/headless_web_contents_impl.cc",
"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",
@@ -265,6 +259,18 @@ static_library("headless_lib") {
"public/util/user_agent.h",
]
+ if (use_aura) {
+ sources += [
+ "lib/browser/headless_browser_impl_aura.cc",
+ "lib/browser/headless_screen.cc",
+ "lib/browser/headless_screen.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",
+ ]
+ }
+
deps = [
":gen_devtools_client_api",
"//base",
« no previous file with comments | « no previous file | headless/lib/browser/headless_browser_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698