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

Unified Diff: net/third_party/nss/ssl/BUILD.gn

Issue 603143002: gn: Fix more build issues on Win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: += instead of = Created 6 years, 3 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 | « gpu/config/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/BUILD.gn
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn
index 67c5851d5b0fd499e176fda610814d19fa2b84d1..c6bd7167605d529113618fe1e99cb15bcf34219f 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" ]
« no previous file with comments | « gpu/config/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698