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

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: Rebase. 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
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/net.gypi » ('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 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'target_name': 'net_unittests', 163 'target_name': 'net_unittests',
164 'type': '<(gtest_target_type)', 164 'type': '<(gtest_target_type)',
165 'dependencies': [ 165 'dependencies': [
166 '../base/base.gyp:base', 166 '../base/base.gyp:base',
167 '../base/base.gyp:base_i18n', 167 '../base/base.gyp:base_i18n',
168 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 168 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
169 '../crypto/crypto.gyp:crypto', 169 '../crypto/crypto.gyp:crypto',
170 '../crypto/crypto.gyp:crypto_test_support', 170 '../crypto/crypto.gyp:crypto_test_support',
171 '../testing/gmock.gyp:gmock', 171 '../testing/gmock.gyp:gmock',
172 '../testing/gtest.gyp:gtest', 172 '../testing/gtest.gyp:gtest',
173 '../third_party/boringssl/boringssl.gyp:boringssl',
173 '../third_party/zlib/zlib.gyp:zlib', 174 '../third_party/zlib/zlib.gyp:zlib',
174 '../url/url.gyp:url_url_features', 175 '../url/url.gyp:url_url_features',
175 '../url/url.gyp:url_lib', 176 '../url/url.gyp:url_lib',
176 'balsa', 177 'balsa',
177 'net', 178 'net',
178 'net_quic_proto', 179 'net_quic_proto',
179 'net_derived_sources', 180 'net_derived_sources',
180 'net_extras', 181 'net_extras',
181 'net_test_support', 182 'net_test_support',
182 'simple_quic_tools', 183 'simple_quic_tools',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ], 217 ],
217 }], 218 }],
218 [ 'use_nss_certs != 1', { 219 [ 'use_nss_certs != 1', {
219 'sources!': [ 220 'sources!': [
220 'cert/nss_cert_database_unittest.cc', 221 'cert/nss_cert_database_unittest.cc',
221 'cert/nss_cert_database_chromeos_unittest.cc', 222 'cert/nss_cert_database_chromeos_unittest.cc',
222 'cert/nss_profile_filter_chromeos_unittest.cc', 223 'cert/nss_profile_filter_chromeos_unittest.cc',
223 'ssl/client_cert_store_nss_unittest.cc', 224 'ssl/client_cert_store_nss_unittest.cc',
224 ], 225 ],
225 }], 226 }],
226 [ 'use_openssl == 1', { 227 [ 'use_nss_certs == 1', {
227 # Avoid compiling/linking with the system library.
228 'dependencies': [
229 '../third_party/boringssl/boringssl.gyp:boringssl',
230 ],
231 }],
232 [ 'use_nss_verifier == 1', {
233 'conditions': [ 228 'conditions': [
234 [ 'desktop_linux == 1 or chromeos == 1', { 229 [ 'desktop_linux == 1 or chromeos == 1', {
235 'dependencies': [ 230 'dependencies': [
236 '../build/linux/system.gyp:ssl', 231 '../build/linux/system.gyp:ssl',
237 ], 232 ],
238 }, { # desktop_linux == 0 and chromeos == 0 233 }, { # desktop_linux == 0 and chromeos == 0
239 'dependencies': [ 234 'dependencies': [
240 '../third_party/nss/nss.gyp:nspr', 235 '../third_party/nss/nss.gyp:nspr',
241 '../third_party/nss/nss.gyp:nss', 236 '../third_party/nss/nss.gyp:nss',
242 'third_party/nss/ssl.gyp:libssl', 237 'third_party/nss/ssl.gyp:libssl',
(...skipping 13 matching lines...) Expand all
256 'http/http_auth_gssapi_posix_unittest.cc', 251 'http/http_auth_gssapi_posix_unittest.cc',
257 'http/mock_gssapi_library_posix.cc', 252 'http/mock_gssapi_library_posix.cc',
258 'http/mock_gssapi_library_posix.h', 253 'http/mock_gssapi_library_posix.h',
259 ], 254 ],
260 }], 255 }],
261 [ 'use_kerberos==0', { 256 [ 'use_kerberos==0', {
262 'sources!': [ 257 'sources!': [
263 'http/http_auth_handler_negotiate_unittest.cc', 258 'http/http_auth_handler_negotiate_unittest.cc',
264 ], 259 ],
265 }], 260 }],
266 [ 'use_nss_verifier == 0', { 261 [ 'use_nss_certs == 0', {
267 # Only include this test when using NSS for cert verification. 262 # Only include this test when using NSS for cert verification.
268 'sources!': [ 263 'sources!': [
269 'cert_net/nss_ocsp_unittest.cc', 264 'cert_net/nss_ocsp_unittest.cc',
270 ], 265 ],
271 }], 266 }],
272 [ 'use_nss_verifier == 0 and OS == "ios"', { 267 [ 'OS == "ios"', {
273 # Only include these files on iOS when using NSS for cert 268 # Only include these files on iOS when using NSS for cert
274 # verification. 269 # verification.
275 'sources!': [ 270 'sources!': [
276 'cert/x509_util_ios.cc', 271 'cert/x509_util_ios.cc',
277 'cert/x509_util_ios.h', 272 'cert/x509_util_ios.h',
278 ], 273 ],
279 }], 274 }],
280 [ 'use_nss_verifier == 1 and OS == "ios"', {
281 'sources!': [
282 'cert/cert_verify_proc_ios.cc',
283 'cert/cert_verify_proc_ios.h',
284 'cert/x509_certificate_openssl_ios.cc',
285 ],
286 }],
287 [ 'use_openssl==1', {
288 'sources!': [
289 'quic/test_tools/crypto_test_utils_nss.cc',
290 ],
291 }, { # else !use_openssl: remove the unneeded files and pull in NSS.
292 'sources!': [
293 'quic/test_tools/crypto_test_utils_openssl.cc',
294 'ssl/ssl_client_session_cache_openssl_unittest.cc',
295 ],
296 },
297 ],
298 [ 'use_openssl_certs == 0', { 275 [ 'use_openssl_certs == 0', {
299 'sources!': [ 276 'sources!': [
300 'ssl/openssl_client_key_store_unittest.cc', 277 'ssl/openssl_client_key_store_unittest.cc',
301 ], 278 ],
302 }], 279 }],
303 [ 'enable_websockets == 1', { 280 [ 'enable_websockets == 1', {
304 'sources': [ 281 'sources': [
305 '<@(net_websockets_test_sources)', 282 '<@(net_websockets_test_sources)',
306 ], 283 ],
307 'dependencies': [ 284 'dependencies': [
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 'sources!': [ 662 'sources!': [
686 'test/spawned_test_server/base_test_server.cc', 663 'test/spawned_test_server/base_test_server.cc',
687 'test/spawned_test_server/base_test_server.h', 664 'test/spawned_test_server/base_test_server.h',
688 'test/spawned_test_server/local_test_server.cc', 665 'test/spawned_test_server/local_test_server.cc',
689 'test/spawned_test_server/local_test_server.h', 666 'test/spawned_test_server/local_test_server.h',
690 'test/spawned_test_server/local_test_server_posix.cc', 667 'test/spawned_test_server/local_test_server_posix.cc',
691 'test/spawned_test_server/local_test_server_win.cc', 668 'test/spawned_test_server/local_test_server_win.cc',
692 'test/spawned_test_server/spawned_test_server.h', 669 'test/spawned_test_server/spawned_test_server.h',
693 ], 670 ],
694 }], 671 }],
695 ['use_nss_verifier == 1', { 672 ['use_nss_certs == 1', {
696 'conditions': [ 673 'conditions': [
697 [ 'desktop_linux == 1 or chromeos == 1', { 674 [ 'desktop_linux == 1 or chromeos == 1', {
698 'dependencies': [ 675 'dependencies': [
699 '../build/linux/system.gyp:ssl', 676 '../build/linux/system.gyp:ssl',
700 ], 677 ],
701 }, { # desktop_linux == 0 and chromeos == 0 678 }, { # desktop_linux == 0 and chromeos == 0
702 'dependencies': [ 679 'dependencies': [
703 '../third_party/nss/nss.gyp:nspr', 680 '../third_party/nss/nss.gyp:nspr',
704 '../third_party/nss/nss.gyp:nss', 681 '../third_party/nss/nss.gyp:nss',
705 'third_party/nss/ssl.gyp:libssl', 682 'third_party/nss/ssl.gyp:libssl',
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 '../build/isolate.gypi', 1726 '../build/isolate.gypi',
1750 ], 1727 ],
1751 'sources': [ 1728 'sources': [
1752 'net_unittests.isolate', 1729 'net_unittests.isolate',
1753 ], 1730 ],
1754 }, 1731 },
1755 ], 1732 ],
1756 }], 1733 }],
1757 ], 1734 ],
1758 } 1735 }
OLDNEW
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698