| Index: headless/BUILD.gn
|
| diff --git a/headless/BUILD.gn b/headless/BUILD.gn
|
| index 5a59eac783a44911681a4958d5505a5076f33533..0c6c41f2a2b89719bcf372f95e8d98906cdc2dda 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,14 +177,12 @@ 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",
|
| "lib/headless_content_main_delegate.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",
|
| "public/headless_browser.cc",
|
| "public/headless_browser.h",
|
| "public/headless_browser_context.h",
|
| @@ -232,11 +232,8 @@ static_library("headless_lib") {
|
| "//components/security_state/core",
|
| "//content/public/app:both",
|
| "//content/public/browser",
|
| - "//content/public/child",
|
| "//content/public/common",
|
| "//content/public/common:service_names",
|
| - "//content/public/renderer",
|
| - "//content/public/utility",
|
| "//net",
|
| "//services/service_manager/public/cpp",
|
| "//third_party/mesa:osmesa",
|
| @@ -244,10 +241,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" ]
|
| }
|
|
|
|
|