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

Side by Side Diff: net/net.gyp

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing header ordering. Created 4 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'linux_link_kerberos%': 0, 8 'linux_link_kerberos%': 0,
9 'conditions': [ 9 'conditions': [
10 ['chromeos==1 or embedded==1 or OS=="ios"', { 10 ['chromeos==1 or embedded==1 or OS=="ios"', {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'target_name': 'net_unittests', 126 'target_name': 'net_unittests',
127 'type': '<(gtest_target_type)', 127 'type': '<(gtest_target_type)',
128 'dependencies': [ 128 'dependencies': [
129 '../base/base.gyp:base', 129 '../base/base.gyp:base',
130 '../base/base.gyp:base_i18n', 130 '../base/base.gyp:base_i18n',
131 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 131 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
132 '../crypto/crypto.gyp:crypto', 132 '../crypto/crypto.gyp:crypto',
133 '../crypto/crypto.gyp:crypto_test_support', 133 '../crypto/crypto.gyp:crypto_test_support',
134 '../testing/gmock.gyp:gmock', 134 '../testing/gmock.gyp:gmock',
135 '../testing/gtest.gyp:gtest', 135 '../testing/gtest.gyp:gtest',
136 '../third_party/boringssl/boringssl.gyp:boringssl',
136 '../third_party/zlib/zlib.gyp:zlib', 137 '../third_party/zlib/zlib.gyp:zlib',
137 '../url/url.gyp:url_lib', 138 '../url/url.gyp:url_lib',
138 'balsa', 139 'balsa',
139 'net', 140 'net',
140 'net_quic_proto', 141 'net_quic_proto',
141 'net_derived_sources', 142 'net_derived_sources',
142 'net_extras', 143 'net_extras',
143 'net_test_support', 144 'net_test_support',
144 'simple_quic_tools', 145 'simple_quic_tools',
145 'stale_while_revalidate_experiment_domains', 146 'stale_while_revalidate_experiment_domains',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ], 179 ],
179 }], 180 }],
180 [ 'use_nss_certs != 1', { 181 [ 'use_nss_certs != 1', {
181 'sources!': [ 182 'sources!': [
182 'cert/nss_cert_database_unittest.cc', 183 'cert/nss_cert_database_unittest.cc',
183 'cert/nss_cert_database_chromeos_unittest.cc', 184 'cert/nss_cert_database_chromeos_unittest.cc',
184 'cert/nss_profile_filter_chromeos_unittest.cc', 185 'cert/nss_profile_filter_chromeos_unittest.cc',
185 'ssl/client_cert_store_nss_unittest.cc', 186 'ssl/client_cert_store_nss_unittest.cc',
186 ], 187 ],
187 }], 188 }],
188 [ 'use_openssl == 1', { 189 [ 'use_nss_certs == 1', {
189 # Avoid compiling/linking with the system library.
190 'dependencies': [
191 '../third_party/boringssl/boringssl.gyp:boringssl',
192 ],
193 }],
194 [ 'use_nss_verifier == 1', {
195 'conditions': [ 190 'conditions': [
196 [ 'desktop_linux == 1 or chromeos == 1', { 191 [ 'desktop_linux == 1 or chromeos == 1', {
197 'dependencies': [ 192 'dependencies': [
198 '../build/linux/system.gyp:ssl', 193 '../build/linux/system.gyp:ssl',
199 ], 194 ],
200 }, { # desktop_linux == 0 and chromeos == 0 195 }, { # desktop_linux == 0 and chromeos == 0
201 'dependencies': [ 196 'dependencies': [
202 '../third_party/nss/nss.gyp:nspr', 197 '../third_party/nss/nss.gyp:nspr',
203 '../third_party/nss/nss.gyp:nss', 198 '../third_party/nss/nss.gyp:nss',
204 'third_party/nss/ssl.gyp:libssl', 199 'third_party/nss/ssl.gyp:libssl',
(...skipping 13 matching lines...) Expand all
218 'http/http_auth_gssapi_posix_unittest.cc', 213 'http/http_auth_gssapi_posix_unittest.cc',
219 'http/mock_gssapi_library_posix.cc', 214 'http/mock_gssapi_library_posix.cc',
220 'http/mock_gssapi_library_posix.h', 215 'http/mock_gssapi_library_posix.h',
221 ], 216 ],
222 }], 217 }],
223 [ 'use_kerberos==0', { 218 [ 'use_kerberos==0', {
224 'sources!': [ 219 'sources!': [
225 'http/http_auth_handler_negotiate_unittest.cc', 220 'http/http_auth_handler_negotiate_unittest.cc',
226 ], 221 ],
227 }], 222 }],
228 [ 'use_nss_verifier == 0', { 223 [ 'use_nss_certs == 0', {
229 # Only include this test when using NSS for cert verification. 224 # Only include this test when using NSS for cert verification.
230 'sources!': [ 225 'sources!': [
231 'cert_net/nss_ocsp_unittest.cc', 226 'cert_net/nss_ocsp_unittest.cc',
232 ], 227 ],
233 }], 228 }],
234 [ 'use_nss_verifier == 0 and OS == "ios"', { 229 [ 'OS == "ios"', {
235 # Only include these files on iOS when using NSS for cert 230 # Only include these files on iOS when using NSS for cert
236 # verification. 231 # verification.
237 'sources!': [ 232 'sources!': [
238 'cert/x509_util_ios.cc', 233 'cert/x509_util_ios.cc',
239 'cert/x509_util_ios.h', 234 'cert/x509_util_ios.h',
240 ], 235 ],
241 }], 236 }],
242 [ 'use_nss_verifier == 1 and OS == "ios"', {
243 'sources!': [
244 'cert/cert_verify_proc_ios.cc',
245 'cert/cert_verify_proc_ios.h',
246 'cert/x509_certificate_openssl_ios.cc',
247 ],
248 }],
249 [ 'use_openssl==1', {
250 'sources!': [
251 'quic/test_tools/crypto_test_utils_nss.cc',
252 ],
253 }, { # else !use_openssl: remove the unneeded files and pull in NSS.
254 'sources!': [
255 'quic/test_tools/crypto_test_utils_openssl.cc',
256 'ssl/ssl_client_session_cache_openssl_unittest.cc',
257 ],
258 },
259 ],
260 [ 'use_openssl_certs == 0', { 237 [ 'use_openssl_certs == 0', {
261 'sources!': [ 238 'sources!': [
262 'ssl/openssl_client_key_store_unittest.cc', 239 'ssl/openssl_client_key_store_unittest.cc',
263 ], 240 ],
264 }], 241 }],
265 [ 'enable_websockets == 1', { 242 [ 'enable_websockets == 1', {
266 'sources': [ 243 'sources': [
267 '<@(net_websockets_test_sources)', 244 '<@(net_websockets_test_sources)',
268 ], 245 ],
269 'dependencies': [ 246 'dependencies': [
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 'sources!': [ 591 'sources!': [
615 'test/spawned_test_server/base_test_server.cc', 592 'test/spawned_test_server/base_test_server.cc',
616 'test/spawned_test_server/base_test_server.h', 593 'test/spawned_test_server/base_test_server.h',
617 'test/spawned_test_server/local_test_server.cc', 594 'test/spawned_test_server/local_test_server.cc',
618 'test/spawned_test_server/local_test_server.h', 595 'test/spawned_test_server/local_test_server.h',
619 'test/spawned_test_server/local_test_server_posix.cc', 596 'test/spawned_test_server/local_test_server_posix.cc',
620 'test/spawned_test_server/local_test_server_win.cc', 597 'test/spawned_test_server/local_test_server_win.cc',
621 'test/spawned_test_server/spawned_test_server.h', 598 'test/spawned_test_server/spawned_test_server.h',
622 ], 599 ],
623 }], 600 }],
624 ['use_nss_verifier == 1', { 601 ['use_nss_certs == 1', {
625 'conditions': [ 602 'conditions': [
626 [ 'desktop_linux == 1 or chromeos == 1', { 603 [ 'desktop_linux == 1 or chromeos == 1', {
627 'dependencies': [ 604 'dependencies': [
628 '../build/linux/system.gyp:ssl', 605 '../build/linux/system.gyp:ssl',
629 ], 606 ],
630 }, { # desktop_linux == 0 and chromeos == 0 607 }, { # desktop_linux == 0 and chromeos == 0
631 'dependencies': [ 608 'dependencies': [
632 '../third_party/nss/nss.gyp:nspr', 609 '../third_party/nss/nss.gyp:nspr',
633 '../third_party/nss/nss.gyp:nss', 610 '../third_party/nss/nss.gyp:nss',
634 'third_party/nss/ssl.gyp:libssl', 611 'third_party/nss/ssl.gyp:libssl',
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 '../build/isolate.gypi', 1678 '../build/isolate.gypi',
1702 ], 1679 ],
1703 'sources': [ 1680 'sources': [
1704 'net_unittests.isolate', 1681 'net_unittests.isolate',
1705 ], 1682 ],
1706 }, 1683 },
1707 ], 1684 ],
1708 }], 1685 }],
1709 ], 1686 ],
1710 } 1687 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698