OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 6 'includes': [ |
7 '../../build/win_precompile.gypi', | 7 '../../build/win_precompile.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'enabled_libjingle_device_manager%': 0, | 10 'enabled_libjingle_device_manager%': 0, |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 'type': 'static_library', | 567 'type': 'static_library', |
568 'sources': [ | 568 'sources': [ |
569 'overrides/init_webrtc.cc', | 569 'overrides/init_webrtc.cc', |
570 'overrides/init_webrtc.h', | 570 'overrides/init_webrtc.h', |
571 ], | 571 ], |
572 'dependencies': [ | 572 'dependencies': [ |
573 'libjingle_webrtc_common', | 573 'libjingle_webrtc_common', |
574 ], | 574 ], |
575 }, | 575 }, |
576 { | 576 { |
577 # GN version: //third_party/libjingle:libpeerconnection (shared with '
:libpeerconnection') | 577 # GN version: //third_party/libjingle:libpeerconnection |
578 'target_name': 'libjingle_mediaengine', | 578 'target_name': 'libpeerconnection', |
579 'type': 'static_library', | 579 'type': '<(libpeer_target_type)', |
580 'sources': [ | 580 'sources': [ |
581 # Note: sources list duplicated in GN build. | 581 # Note: sources list duplicated in GN build. |
582 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.cc', | 582 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.cc', |
583 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.h', | 583 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.h', |
584 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.cc', | 584 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.cc', |
585 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.h', | 585 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.h', |
586 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.cc', | 586 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.cc', |
587 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.h', | 587 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.h', |
588 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.cc', | 588 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.cc', |
589 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', | 589 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', |
590 ], | 590 ], |
591 'dependencies': [ | 591 'dependencies': [ |
592 'libjingle_webrtc_common', | 592 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.
gyp:system_wrappers', |
593 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
ine', | 593 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
ine', |
594 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', | 594 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', |
595 ], | |
596 }, | |
597 { | |
598 # GN version: //third_party/libjingle:libpeerconnection | |
599 'target_name': 'libpeerconnection', | |
600 'type': '<(libpeer_target_type)', | |
601 'dependencies': [ | |
602 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.
gyp:system_wrappers', | |
603 '<@(libjingle_peerconnection_additional_deps)', | 595 '<@(libjingle_peerconnection_additional_deps)', |
604 'libjingle_mediaengine', | 596 'libjingle_webrtc_common', |
605 ], | 597 ], |
606 'conditions': [ | 598 'conditions': [ |
607 ['libpeer_target_type=="static_library" and OS=="mac"', { | |
608 # TODO(serya): Temporary workaround for crbug.com/418915. Remove w
hen fixed. | |
609 'sources': [ | |
610 'overrides/empty.cc', | |
611 ] | |
612 }], | |
613 ['libpeer_target_type!="static_library"', { | 599 ['libpeer_target_type!="static_library"', { |
614 'sources': [ | 600 'sources': [ |
615 'overrides/initialize_module.cc', | 601 'overrides/initialize_module.cc', |
616 ], | 602 ], |
617 'conditions': [ | 603 'conditions': [ |
618 ['OS!="mac" and OS!="android"', { | 604 ['OS!="mac" and OS!="android"', { |
619 'sources': [ | 605 'sources': [ |
620 'overrides/allocator_shim/allocator_proxy.cc', | 606 'overrides/allocator_shim/allocator_proxy.cc', |
621 ], | 607 ], |
622 }], | 608 }], |
(...skipping 30 matching lines...) Expand all Loading... |
653 ['OS=="linux" and libpeer_target_type!="static_library"', { | 639 ['OS=="linux" and libpeer_target_type!="static_library"', { |
654 # The installer and various tools depend on finding the .so | 640 # The installer and various tools depend on finding the .so |
655 # in this directory and not lib.target as will otherwise be | 641 # in this directory and not lib.target as will otherwise be |
656 # the case with make builds. | 642 # the case with make builds. |
657 'product_dir': '<(PRODUCT_DIR)/lib', | 643 'product_dir': '<(PRODUCT_DIR)/lib', |
658 }], | 644 }], |
659 ], | 645 ], |
660 }, # target libpeerconnection | 646 }, # target libpeerconnection |
661 ], | 647 ], |
662 }], | 648 }], |
663 ['enable_webrtc==1 and OS=="android"', { | |
664 'targets': [ | |
665 { | |
666 # GN version: //third_party/libjingle:libjingle_peerconnection_so | |
667 'target_name': 'libjingle_peerconnection_so', | |
668 'type': 'shared_library', | |
669 'dependencies': [ | |
670 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | |
671 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.
gyp:field_trial_default', | |
672 'libjingle_mediaengine', | |
673 ], | |
674 'defines': [ 'LIBPEERCONNECTION_LIB=1' ], | |
675 'sources': [ | |
676 '<(libjingle_source)/talk/app/webrtc/java/jni/peerconnection_jni.cc'
, | |
677 ], | |
678 }, | |
679 { | |
680 # GN version: //third_party/libjingle:libjingle_peerconnection_java | |
681 'target_name': 'libjingle_peerconnection_javalib', | |
682 'type': 'none', | |
683 'variables': { | |
684 'java_in_dir': '<(libjingle_source)/talk/app/webrtc/java', | |
685 }, | |
686 'dependencies': [ | |
687 'libjingle_peerconnection_so', | |
688 ], | |
689 'includes': [ '../../build/java.gypi' ], | |
690 }, | |
691 ], | |
692 }], | |
693 ], | 649 ], |
694 } | 650 } |
OLD | NEW |