Chromium Code Reviews| 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 | 577 # GN version: //third_party/libjingle:libpeerconnection (shared with ' :libpeerconnection') |
| 578 'target_name': 'libpeerconnection', | 578 'target_name': 'libjingle_mediaengine', |
| 579 'type': '<(libpeer_target_type)', | 579 'type': 'static_library', |
| 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 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers. gyp:system_wrappers', | 592 'libjingle_webrtc_common', |
| 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', | |
| 595 '<@(libjingle_peerconnection_additional_deps)', | 603 '<@(libjingle_peerconnection_additional_deps)', |
| 596 'libjingle_webrtc_common', | 604 'libjingle_mediaengine', |
| 597 ], | 605 ], |
| 598 'conditions': [ | 606 'conditions': [ |
| 607 ['libpeer_target_type=="static_library" and OS=="mac"', { | |
| 608 # TODO(serya): Termpraty workaround for crbug.com/418915. Remove w hen fixed. | |
|
kjellander_chromium
2014/10/01 18:44:10
nit: Termpraty -> Temporary.
SeRya
2014/10/01 21:05:16
Done.
| |
| 609 'sources': [ | |
| 610 'overrides/empty.cc', | |
| 611 ] | |
| 612 }], | |
| 599 ['libpeer_target_type!="static_library"', { | 613 ['libpeer_target_type!="static_library"', { |
| 600 'sources': [ | 614 'sources': [ |
| 601 'overrides/initialize_module.cc', | 615 'overrides/initialize_module.cc', |
| 602 ], | 616 ], |
| 603 'conditions': [ | 617 'conditions': [ |
| 604 ['OS!="mac" and OS!="android"', { | 618 ['OS!="mac" and OS!="android"', { |
| 605 'sources': [ | 619 'sources': [ |
| 606 'overrides/allocator_shim/allocator_proxy.cc', | 620 'overrides/allocator_shim/allocator_proxy.cc', |
| 607 ], | 621 ], |
| 608 }], | 622 }], |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 639 ['OS=="linux" and libpeer_target_type!="static_library"', { | 653 ['OS=="linux" and libpeer_target_type!="static_library"', { |
| 640 # The installer and various tools depend on finding the .so | 654 # The installer and various tools depend on finding the .so |
| 641 # in this directory and not lib.target as will otherwise be | 655 # in this directory and not lib.target as will otherwise be |
| 642 # the case with make builds. | 656 # the case with make builds. |
| 643 'product_dir': '<(PRODUCT_DIR)/lib', | 657 'product_dir': '<(PRODUCT_DIR)/lib', |
| 644 }], | 658 }], |
| 645 ], | 659 ], |
| 646 }, # target libpeerconnection | 660 }, # target libpeerconnection |
| 647 ], | 661 ], |
| 648 }], | 662 }], |
| 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 'include_dirs': [ | |
| 679 '<(DEPTH)/third_party/libyuv/include', | |
|
kjellander_chromium
2014/10/01 18:44:10
Is this really needed?
SeRya
2014/10/01 21:05:16
Done.
| |
| 680 ], | |
| 681 }, | |
| 682 { | |
| 683 # GN version: //third_party/libjingle:libjingle_peerconnection_java | |
| 684 'target_name': 'libjingle_peerconnection_javalib', | |
| 685 'type': 'none', | |
| 686 'variables': { | |
| 687 'java_in_dir': '<(libjingle_source)/talk/app/webrtc/java', | |
| 688 }, | |
| 689 'dependencies': [ | |
| 690 'libjingle_peerconnection_so', | |
| 691 ], | |
| 692 'includes': [ '../../build/java.gypi' ], | |
| 693 }, | |
| 694 ], | |
| 695 }], | |
| 649 ], | 696 ], |
| 650 } | 697 } |
| OLD | NEW |