Index: headless/BUILD.gn |
diff --git a/headless/BUILD.gn b/headless/BUILD.gn |
index 4c84fe3c95de5a6b0f2d59ac14e07e7018769e25..82e35955b3c04cacb03680eb83f5941eb4001e49 100644 |
--- a/headless/BUILD.gn |
+++ b/headless/BUILD.gn |
@@ -364,6 +364,7 @@ component("headless") { |
deps += [ |
"//components/crash/content/browser", |
"//components/security_state/content", |
+ "//third_party/WebKit/public:blink_headers", |
] |
if (enable_basic_printing) { |
@@ -570,6 +571,14 @@ if (is_win) { |
"lib/browser/headless_content_browser_client.h", |
"public/headless_shell.h", |
] |
+ deps = [ |
+ ":headless", |
+ "//content:sandbox_helper_win", |
+ "//content/public/browser", |
+ "//content/public/common", |
+ "//net", |
+ "//sandbox", |
+ ] |
if (is_multi_dll_chrome) { |
defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
@@ -579,20 +588,9 @@ if (is_win) { |
"lib/headless_content_main_delegate.cc", |
"lib/headless_content_main_delegate.h", |
] |
+ deps += [ "//third_party/WebKit/public:blink_headers" ] |
} |
- deps = [ |
- ":headless", |
- "//content/public/browser", |
- "//content/public/common", |
- "//net", |
- ] |
- |
- deps += [ |
- "//content:sandbox_helper_win", |
- "//sandbox", |
- ] |
- |
configs += [ ":headless_implementation" ] |
} |
@@ -608,6 +606,12 @@ if (is_win) { |
"app/shell_navigation_request.h", |
"public/headless_shell.h", |
] |
+ deps = [ |
+ ":headless_renderer", |
+ "//content/public/child:child", |
+ "//net", |
+ "//ui/base", |
+ ] |
if (is_multi_dll_chrome) { |
defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
@@ -617,15 +621,9 @@ if (is_win) { |
"lib/headless_content_main_delegate.cc", |
"lib/headless_content_main_delegate.h", |
] |
+ deps += [ "//third_party/WebKit/public:blink_headers" ] |
} |
- deps = [ |
- ":headless_renderer", |
- "//content/public/child:child", |
- "//net", |
- "//ui/base", |
- ] |
- |
configs += [ ":headless_implementation" ] |
} |
} |