summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorckocagil <ckocagil@chromium.org>2014-09-30 12:31:43 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-30 19:32:02 +0000
commitfc8d7f23b2f20a93c5d987d0c073e892d09f0ade (patch)
treea2f52ea1ccbb7b3e08e2d18a8c5e0e024c078b0b /net
parent6fd679025ec1e7288c05e15e610de42f45f39ee9 (diff)
downloadchromium_src-fc8d7f23b2f20a93c5d987d0c073e892d09f0ade.zip
chromium_src-fc8d7f23b2f20a93c5d987d0c073e892d09f0ade.tar.gz
chromium_src-fc8d7f23b2f20a93c5d987d0c073e892d09f0ade.tar.bz2
gn: Fix more build issues on Win
BUG=354261 R=brettw TBR=piman,wtc NOTRY=true Review URL: https://codereview.chromium.org/603143002 Cr-Commit-Position: refs/heads/master@{#297481}
Diffstat (limited to 'net')
-rw-r--r--net/third_party/nss/ssl/BUILD.gn4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn
index 67c5851..c6bd716 100644
--- a/net/third_party/nss/ssl/BUILD.gn
+++ b/net/third_party/nss/ssl/BUILD.gn
@@ -76,7 +76,9 @@ component("libssl") {
"unix_err.c",
"unix_err.h",
]
- sources += [ "exports_win.def" ]
+ if (component_mode == "shared_library") {
+ ldflags = [ "/DEF:" + rebase_path("exports_win.def", root_build_dir) ]
+ }
} else if (is_linux) {
if (component_mode == "shared_library") {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]