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

Unified Diff: headless/BUILD.gn

Issue 2897503002: Eliminate remaining ../ header includes (Closed)
Patch Set: Add more deps Created 3 years, 7 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
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" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698