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

Unified Diff: chrome/utility/BUILD.gn

Issue 945663004: Make wininet.dll delay load (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 5 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 | « chrome/chrome_utility.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/BUILD.gn
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index a4ca50e18e41c4eef0629517d4b35e53fb80edb4..a99d954117adab9d129b5e3b3ffaaff21de81c0b 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -48,6 +48,11 @@ static_library("utility") {
sources +=
rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..")
+ # Prevent wininet from loading in the renderer. http://crbug.com/460679
+ if (is_win) {
+ ldflags = [ "/DELAYLOAD:wininet.dll" ]
scottmg 2015/02/25 18:04:56 I'm not sure why this doesn't work. I suspect beca
jschuh 2015/02/25 18:07:44 Excellent. I place the entire burden on you. :)
brettw 2015/02/25 23:35:05 See "gn help ldflags" for how this works and what
+ }
+
if (is_win || is_mac) {
sources +=
rebase_path(gypi_values.chrome_utility_win_mac_media_gallery_sources,
« no previous file with comments | « chrome/chrome_utility.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698