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

Unified Diff: headless/BUILD.gn

Issue 2666503002: Make headless_shell target compile for Windows (Closed)
Patch Set: Fix initlogging placing, always enable logging in Windows 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/app/headless_shell.h » ('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 84049c5df8172a51c961187b1131799e2b571d07..5fd0de8a4732594d67332ab9900ed221502524a0 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -285,6 +285,14 @@ static_library("headless_lib") {
"//url",
]
+ if (is_win) {
+ deps += [
+ "//build/win:default_exe_manifest",
+ "//content:sandbox_helper_win",
+ "//sandbox",
+ ]
+ }
+
if (headless_use_embedded_resources) {
deps += [ ":embed_resources" ]
sources += [
@@ -419,6 +427,8 @@ static_library("headless_shell_lib") {
deps = [
"//headless:headless_lib",
]
+
+ configs += [ ":headless_implementation" ]
}
executable("headless_shell") {
@@ -429,4 +439,6 @@ executable("headless_shell") {
deps = [
"//headless:headless_shell_lib",
]
+
+ configs += [ ":headless_implementation" ]
}
« no previous file with comments | « no previous file | headless/app/headless_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698