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

Side by Side Diff: net/third_party/nss/ssl/BUILD.gn

Issue 246303005: Make GN's "check" run cleanly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("ssl_config") { 5 config("ssl_config") {
6 include_dirs = [ "." ] 6 include_dirs = [ "." ]
7 7
8 if (is_mac || is_win) { 8 if (is_mac || is_win) {
9 defines = [ "NSS_PLATFORM_CLIENT_AUTH" ] 9 defines = [ "NSS_PLATFORM_CLIENT_AUTH" ]
10 } 10 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 if (is_win) { 72 if (is_win) {
73 cflags += [ "/wd4267" ] # Disable warning: Conversion from size_t to 'type' . 73 cflags += [ "/wd4267" ] # Disable warning: Conversion from size_t to 'type' .
74 74
75 sources -= [ 75 sources -= [
76 "unix_err.c", 76 "unix_err.c",
77 "unix_err.h", 77 "unix_err.h",
78 ] 78 ]
79 sources += [ "exports_win.def" ] 79 sources += [ "exports_win.def" ]
80 } else if (is_linux) { 80 } else if (is_linux) {
81 #visibility hidden thing. 81 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
82 libs = [ "dl" ] 82 libs = [ "dl" ]
83 83
84 include_dirs = [ "bodge" ] 84 include_dirs = [ "bodge" ]
85 85
86 # Must be after ssl_config since we want our SSL headers to take 86 # Must be after ssl_config since we want our SSL headers to take
87 # precedence. 87 # precedence.
88 direct_dependent_configs += [ 88 direct_dependent_configs += [
89 "//third_party/nss:system_nss_no_ssl_config" 89 "//third_party/nss:system_nss_no_ssl_config"
90 ] 90 ]
91 } else if (is_mac) { 91 } else if (is_mac) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 # There is a broken header guard in /usr/include/nss/secmod.h: 131 # There is a broken header guard in /usr/include/nss/secmod.h:
132 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072 132 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072
133 "-Wno-header-guard", 133 "-Wno-header-guard",
134 ] 134 ]
135 } 135 }
136 136
137 if (is_debug) { 137 if (is_debug) {
138 defines += [ "DEBUG" ] 138 defines += [ "DEBUG" ]
139 } 139 }
140 } 140 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698