OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 ['build_ssl==1', { | 521 ['build_ssl==1', { |
522 'dependencies': [ | 522 'dependencies': [ |
523 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 523 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
524 ], | 524 ], |
525 }, { | 525 }, { |
526 'include_dirs': [ | 526 'include_dirs': [ |
527 '<(ssl_root)', | 527 '<(ssl_root)', |
528 ], | 528 ], |
529 }], | 529 }], |
530 ], | 530 ], |
531 }, { | |
532 'sources': [ | |
533 'nssidentity.cc', | |
534 'nssidentity.h', | |
535 'nssstreamadapter.cc', | |
536 'nssstreamadapter.h', | |
537 ], | |
538 'conditions': [ | |
539 ['use_legacy_ssl_defaults!=1', { | |
540 'defines': [ | |
541 'SSL_USE_NSS', | |
542 'HAVE_NSS_SSL_H', | |
543 'SSL_USE_NSS_RNG', | |
544 ], | |
545 'direct_dependent_settings': { | |
546 'defines': [ | |
547 'SSL_USE_NSS', | |
548 'HAVE_NSS_SSL_H', | |
549 'SSL_USE_NSS_RNG', | |
550 ], | |
551 }, | |
552 }], | |
553 ['build_ssl==1', { | |
554 'conditions': [ | |
555 # On some platforms, the rest of NSS is bundled. On others, | |
556 # it's pulled from the system. | |
557 ['OS == "mac" or OS == "ios"', { | |
558 'dependencies': [ | |
559 '<(DEPTH)/net/third_party/nss/ssl.gyp:libssl', | |
560 '<(DEPTH)/third_party/nss/nss.gyp:nspr', | |
561 '<(DEPTH)/third_party/nss/nss.gyp:nss', | |
562 ], | |
563 }], | |
564 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "andro
id"', { | |
565 'dependencies': [ | |
566 '<(DEPTH)/build/linux/system.gyp:ssl', | |
567 ], | |
568 }], | |
569 ], | |
570 }, { | |
571 'include_dirs': [ | |
572 '<(ssl_root)', | |
573 ], | |
574 }], | |
575 ], | |
576 }], | 531 }], |
577 ['OS == "android"', { | 532 ['OS == "android"', { |
578 'link_settings': { | 533 'link_settings': { |
579 'libraries': [ | 534 'libraries': [ |
580 '-llog', | 535 '-llog', |
581 '-lGLESv2', | 536 '-lGLESv2', |
582 ], | 537 ], |
583 }, | 538 }, |
584 }, { | 539 }, { |
585 'sources!': [ | 540 'sources!': [ |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 ['OS!="linux" and OS!="android"', { | 694 ['OS!="linux" and OS!="android"', { |
740 'sources!': [ | 695 'sources!': [ |
741 'linux.cc', | 696 'linux.cc', |
742 'linux.h', | 697 'linux.h', |
743 ], | 698 ], |
744 }], | 699 }], |
745 ], | 700 ], |
746 }, | 701 }, |
747 ], | 702 ], |
748 } | 703 } |
OLD | NEW |