Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | 8 |
| 9 'linux_link_kerberos%': 0, | 9 'linux_link_kerberos%': 0, |
| 10 'use_tracing_cache_backend%': 0, | 10 'use_tracing_cache_backend%': 0, |
| (...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1411 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', | 1411 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', |
| 1412 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', | 1412 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', |
| 1413 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', | 1413 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', |
| 1414 'third_party/mozilla_security_manager/nsPKCS12Blob.h', | 1414 'third_party/mozilla_security_manager/nsPKCS12Blob.h', |
| 1415 ], | 1415 ], |
| 1416 }, | 1416 }, |
| 1417 { # else !use_openssl: remove the unneeded files | 1417 { # else !use_openssl: remove the unneeded files |
| 1418 'sources!': [ | 1418 'sources!': [ |
| 1419 'base/crypto_module_openssl.cc', | 1419 'base/crypto_module_openssl.cc', |
| 1420 'base/keygen_handler_openssl.cc', | 1420 'base/keygen_handler_openssl.cc', |
| 1421 'base/openssl_private_key_store.h', | |
| 1422 'base/openssl_private_key_store_android.cc', | |
| 1423 'base/openssl_private_key_store_memory.cc', | |
| 1424 'cert/cert_database_openssl.cc', | |
| 1425 'cert/cert_verify_proc_openssl.cc', | |
| 1426 'cert/cert_verify_proc_openssl.h', | |
| 1427 'cert/ct_log_verifier_openssl.cc', | 1421 'cert/ct_log_verifier_openssl.cc', |
| 1428 'cert/ct_objects_extractor_openssl.cc', | 1422 'cert/ct_objects_extractor_openssl.cc', |
| 1429 'cert/jwk_serializer_openssl.cc', | 1423 'cert/jwk_serializer_openssl.cc', |
| 1430 'cert/test_root_certs_openssl.cc', | |
| 1431 'cert/x509_certificate_openssl.cc', | |
| 1432 'cert/x509_util_openssl.cc', | 1424 'cert/x509_util_openssl.cc', |
| 1433 'cert/x509_util_openssl.h', | 1425 'cert/x509_util_openssl.h', |
| 1434 'quic/crypto/aead_base_decrypter_openssl.cc', | 1426 'quic/crypto/aead_base_decrypter_openssl.cc', |
| 1435 'quic/crypto/aead_base_encrypter_openssl.cc', | 1427 'quic/crypto/aead_base_encrypter_openssl.cc', |
| 1436 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc', | 1428 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc', |
| 1437 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc', | 1429 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc', |
| 1438 'quic/crypto/chacha20_poly1305_decrypter_openssl.cc', | 1430 'quic/crypto/chacha20_poly1305_decrypter_openssl.cc', |
| 1439 'quic/crypto/chacha20_poly1305_encrypter_openssl.cc', | 1431 'quic/crypto/chacha20_poly1305_encrypter_openssl.cc', |
| 1440 'quic/crypto/channel_id_openssl.cc', | 1432 'quic/crypto/channel_id_openssl.cc', |
| 1441 'quic/crypto/p256_key_exchange_openssl.cc', | 1433 'quic/crypto/p256_key_exchange_openssl.cc', |
| 1442 'quic/crypto/scoped_evp_aead_ctx.cc', | 1434 'quic/crypto/scoped_evp_aead_ctx.cc', |
| 1443 'quic/crypto/scoped_evp_aead_ctx.h', | 1435 'quic/crypto/scoped_evp_aead_ctx.h', |
| 1444 'socket/ssl_client_socket_openssl.cc', | 1436 'socket/ssl_client_socket_openssl.cc', |
| 1445 'socket/ssl_client_socket_openssl.h', | 1437 'socket/ssl_client_socket_openssl.h', |
| 1446 'socket/ssl_server_socket_openssl.cc', | 1438 'socket/ssl_server_socket_openssl.cc', |
| 1447 'socket/ssl_session_cache_openssl.cc', | 1439 'socket/ssl_session_cache_openssl.cc', |
| 1448 'socket/ssl_session_cache_openssl.h', | 1440 'socket/ssl_session_cache_openssl.h', |
| 1441 ], | |
| 1442 }, | |
| 1443 ], | |
| 1444 [ 'use_openssl_certs == 0', { | |
| 1445 'sources!': [ | |
| 1446 'base/openssl_private_key_store.h', | |
| 1447 'base/openssl_private_key_store_android.cc', | |
| 1448 'base/openssl_private_key_store_memory.cc', | |
| 1449 'cert/cert_database_openssl.cc', | |
| 1450 'cert/cert_verify_proc_openssl.cc', | |
| 1451 'cert/cert_verify_proc_openssl.h', | |
| 1452 'cert/test_root_certs_openssl.cc', | |
| 1453 'cert/x509_certificate_openssl.cc', | |
| 1449 'ssl/openssl_client_key_store.cc', | 1454 'ssl/openssl_client_key_store.cc', |
| 1450 'ssl/openssl_client_key_store.h', | 1455 'ssl/openssl_client_key_store.h', |
| 1451 ], | 1456 ], |
| 1452 }, | 1457 }], |
| 1453 ], | |
| 1454 [ 'use_glib == 1', { | 1458 [ 'use_glib == 1', { |
| 1455 'dependencies': [ | 1459 'dependencies': [ |
| 1456 '../build/linux/system.gyp:gconf', | 1460 '../build/linux/system.gyp:gconf', |
| 1457 '../build/linux/system.gyp:gio', | 1461 '../build/linux/system.gyp:gio', |
| 1458 ], | 1462 ], |
| 1459 }], | 1463 }], |
| 1464 [ 'use_openssl == 1', { | |
|
wtc
2014/03/25 17:18:28
Merge this with the existing use_openssl==1 block
haavardm
2014/03/26 12:25:18
Done.
| |
| 1465 'dependencies': [ | |
| 1466 '../third_party/openssl/openssl.gyp:openssl', | |
| 1467 ], | |
| 1468 }], | |
| 1460 [ 'desktop_linux == 1 or chromeos == 1', { | 1469 [ 'desktop_linux == 1 or chromeos == 1', { |
| 1461 'conditions': [ | 1470 'conditions': [ |
| 1462 ['use_openssl==1', { | 1471 ['use_openssl == 0', { |
| 1463 'dependencies': [ | 1472 # use NSS |
| 1464 '../third_party/openssl/openssl.gyp:openssl', | |
| 1465 ], | |
| 1466 }, | |
| 1467 { # else use_openssl==0, use NSS | |
| 1468 'dependencies': [ | 1473 'dependencies': [ |
| 1469 '../build/linux/system.gyp:ssl', | 1474 '../build/linux/system.gyp:ssl', |
| 1470 ], | 1475 ], |
| 1471 }], | 1476 }], |
| 1472 ['os_bsd==1', { | 1477 ['os_bsd==1', { |
| 1473 'sources!': [ | 1478 'sources!': [ |
| 1474 'base/network_change_notifier_linux.cc', | 1479 'base/network_change_notifier_linux.cc', |
| 1475 'base/network_change_notifier_netlink_linux.cc', | 1480 'base/network_change_notifier_netlink_linux.cc', |
| 1476 'proxy/proxy_config_service_linux.cc', | 1481 'proxy/proxy_config_service_linux.cc', |
| 1477 ], | 1482 ], |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1566 'base/winsock_init.cc', | 1571 'base/winsock_init.cc', |
| 1567 'base/winsock_init.h', | 1572 'base/winsock_init.h', |
| 1568 'base/winsock_util.cc', | 1573 'base/winsock_util.cc', |
| 1569 'base/winsock_util.h', | 1574 'base/winsock_util.h', |
| 1570 'proxy/proxy_resolver_winhttp.cc', | 1575 'proxy/proxy_resolver_winhttp.cc', |
| 1571 'proxy/proxy_resolver_winhttp.h', | 1576 'proxy/proxy_resolver_winhttp.h', |
| 1572 ], | 1577 ], |
| 1573 }, | 1578 }, |
| 1574 ], | 1579 ], |
| 1575 [ 'OS == "mac"', { | 1580 [ 'OS == "mac"', { |
| 1576 'dependencies': [ | 1581 'conditions': [ |
| 1577 '../third_party/nss/nss.gyp:nspr', | 1582 [ 'use_openssl == 0', { |
| 1578 '../third_party/nss/nss.gyp:nss', | 1583 'dependencies': [ |
| 1579 'third_party/nss/ssl.gyp:libssl', | 1584 # defaults to nss |
| 1585 '../third_party/nss/nss.gyp:nspr', | |
| 1586 '../third_party/nss/nss.gyp:nss', | |
| 1587 'third_party/nss/ssl.gyp:libssl', | |
| 1588 ], | |
| 1589 }], | |
| 1580 ], | 1590 ], |
| 1581 'link_settings': { | 1591 'link_settings': { |
| 1582 'libraries': [ | 1592 'libraries': [ |
| 1583 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 1593 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 1584 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 1594 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 1585 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', | 1595 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', |
| 1586 '$(SDKROOT)/usr/lib/libresolv.dylib', | 1596 '$(SDKROOT)/usr/lib/libresolv.dylib', |
| 1587 ] | 1597 ] |
| 1588 }, | 1598 }, |
| 1589 }, | 1599 }, |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2259 'cert/nss_cert_database_unittest.cc', | 2269 'cert/nss_cert_database_unittest.cc', |
| 2260 'cert/x509_util_nss_unittest.cc', | 2270 'cert/x509_util_nss_unittest.cc', |
| 2261 'quic/test_tools/crypto_test_utils_nss.cc', | 2271 'quic/test_tools/crypto_test_utils_nss.cc', |
| 2262 ], | 2272 ], |
| 2263 }, { # else !use_openssl: remove the unneeded files | 2273 }, { # else !use_openssl: remove the unneeded files |
| 2264 'sources!': [ | 2274 'sources!': [ |
| 2265 'cert/x509_util_openssl_unittest.cc', | 2275 'cert/x509_util_openssl_unittest.cc', |
| 2266 'quic/test_tools/crypto_test_utils_openssl.cc', | 2276 'quic/test_tools/crypto_test_utils_openssl.cc', |
| 2267 'socket/ssl_client_socket_openssl_unittest.cc', | 2277 'socket/ssl_client_socket_openssl_unittest.cc', |
| 2268 'socket/ssl_session_cache_openssl_unittest.cc', | 2278 'socket/ssl_session_cache_openssl_unittest.cc', |
| 2269 'ssl/openssl_client_key_store_unittest.cc', | |
| 2270 ], | 2279 ], |
| 2271 }, | 2280 }, |
| 2272 ], | 2281 ], |
| 2282 [ 'use_openssl_certs == 0', { | |
| 2283 'sources!': [ | |
| 2284 'ssl/openssl_client_key_store_unittest.cc', | |
| 2285 ], | |
| 2286 }], | |
| 2273 [ 'enable_websockets != 1', { | 2287 [ 'enable_websockets != 1', { |
| 2274 'sources/': [ | 2288 'sources/': [ |
| 2275 ['exclude', '^socket_stream/'], | 2289 ['exclude', '^socket_stream/'], |
| 2276 ['exclude', '^websockets/'], | 2290 ['exclude', '^websockets/'], |
| 2277 ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'], | 2291 ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'], |
| 2278 ], | 2292 ], |
| 2279 }], | 2293 }], |
| 2280 [ 'disable_ftp_support==1', { | 2294 [ 'disable_ftp_support==1', { |
| 2281 'sources/': [ | 2295 'sources/': [ |
| 2282 ['exclude', '^ftp/'], | 2296 ['exclude', '^ftp/'], |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2330 # TODO(mark): Specifying this here shouldn't be necessary. | 2344 # TODO(mark): Specifying this here shouldn't be necessary. |
| 2331 'dependencies': [ | 2345 'dependencies': [ |
| 2332 '../third_party/icu/icu.gyp:icudata', | 2346 '../third_party/icu/icu.gyp:icudata', |
| 2333 ], | 2347 ], |
| 2334 }], | 2348 }], |
| 2335 ], | 2349 ], |
| 2336 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 2350 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 2337 'msvs_disabled_warnings': [4267, ], | 2351 'msvs_disabled_warnings': [4267, ], |
| 2338 }, | 2352 }, |
| 2339 ], | 2353 ], |
| 2340 [ 'OS == "mac"', { | 2354 [ 'OS == "mac" and use_openssl == 0', { |
| 2341 'dependencies': [ | 2355 'dependencies': [ |
| 2342 '../third_party/nss/nss.gyp:nspr', | 2356 '../third_party/nss/nss.gyp:nspr', |
| 2343 '../third_party/nss/nss.gyp:nss', | 2357 '../third_party/nss/nss.gyp:nss', |
| 2344 'third_party/nss/ssl.gyp:libssl', | 2358 'third_party/nss/ssl.gyp:libssl', |
| 2345 ], | 2359 ], |
| 2346 }, | 2360 }, |
| 2347 ], | 2361 ], |
| 2348 [ 'OS == "ios"', { | 2362 [ 'OS == "ios"', { |
| 2349 'dependencies': [ | 2363 'dependencies': [ |
| 2350 '../third_party/nss/nss.gyp:nss', | 2364 '../third_party/nss/nss.gyp:nss', |
| (...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3412 'java_in_dir': 'cronet/android/sample/javatests', | 3426 'java_in_dir': 'cronet/android/sample/javatests', |
| 3413 'resource_dir': 'cronet/android/sample/res', | 3427 'resource_dir': 'cronet/android/sample/res', |
| 3414 'is_test_apk': 1, | 3428 'is_test_apk': 1, |
| 3415 }, | 3429 }, |
| 3416 'includes': [ '../build/java_apk.gypi' ], | 3430 'includes': [ '../build/java_apk.gypi' ], |
| 3417 }, | 3431 }, |
| 3418 ], | 3432 ], |
| 3419 }], # OS=="android" | 3433 }], # OS=="android" |
| 3420 ], | 3434 ], |
| 3421 } | 3435 } |
| OLD | NEW |