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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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
« no previous file with comments | « net/base/registry_controlled_domains/BUILD.gn ('k') | pdf/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 if (component_mode == "shared_library") { 83 if (component_mode == "shared_library") {
84 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] 84 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
85 } 85 }
86 86
87 libs = [ "dl" ] 87 libs = [ "dl" ]
88 88
89 include_dirs = [ "bodge" ] 89 include_dirs = [ "bodge" ]
90 90
91 # Must be after ssl_config since we want our SSL headers to take 91 # Must be after ssl_config since we want our SSL headers to take
92 # precedence. 92 # precedence.
93 public_configs += [ 93 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
94 "//third_party/nss:system_nss_no_ssl_config"
95 ]
96 } else if (is_mac) { 94 } else if (is_mac) {
97 libs = [ "Security.framework" ] 95 libs = [ "Security.framework" ]
98 } 96 }
99 97
100 if (is_clang) { 98 if (is_clang) {
101 # SSL triggers some of these Clang warnings. 99 # SSL triggers some of these Clang warnings.
102 configs -= [ "//build/config/clang:extra_warnings" ] 100 configs -= [ "//build/config/clang:extra_warnings" ]
103 } 101 }
104 102
105 if (is_posix) { 103 if (is_posix) {
106 sources -= [ 104 sources -= [
107 "win32err.c", 105 "win32err.c",
108 "win32err.h", 106 "win32err.h",
109 ] 107 ]
110 } 108 }
111 109
112 if (is_mac || is_ios) { 110 if (is_mac || is_ios) {
113 defines += [ 111 defines += [
114 "XP_UNIX", 112 "XP_UNIX",
115 "DARWIN", 113 "DARWIN",
116 "XP_MACOSX", 114 "XP_MACOSX",
117 ] 115 ]
118 } 116 }
119 117
120 if (is_mac || is_ios || is_win) { 118 if (is_mac || is_ios || is_win) {
121 sources -= [ 119 sources -= [ "bodge/secitem_array.c" ]
122 "bodge/secitem_array.c",
123 ]
124 public_deps = [ 120 public_deps = [
125 "//third_party/nss:nspr", 121 "//third_party/nss:nspr",
126 "//third_party/nss:nss", 122 "//third_party/nss:nss",
127 ] 123 ]
128 } 124 }
129 125
130 if (is_debug) { 126 if (is_debug) {
131 defines += [ "DEBUG" ] 127 defines += [ "DEBUG" ]
132 } 128 }
133 } 129 }
OLDNEW
« no previous file with comments | « net/base/registry_controlled_domains/BUILD.gn ('k') | pdf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698