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

Side by Side Diff: third_party/libjingle/libjingle.gyp

Issue 17569006: Support using loadable module for libpeerconnection on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: code review Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', 891 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h',
892 ], 892 ],
893 'dependencies': [ 893 'dependencies': [
894 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers. gyp:system_wrappers', 894 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers. gyp:system_wrappers',
895 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng ine_core', 895 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng ine_core',
896 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine', 896 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine',
897 '<@(libjingle_peerconnection_additional_deps)', 897 '<@(libjingle_peerconnection_additional_deps)',
898 'libjingle_webrtc_common', 898 'libjingle_webrtc_common',
899 ], 899 ],
900 'conditions': [ 900 'conditions': [
901 ['libpeer_allocator_shim==1 and ' 901 ['libpeer_target_type!="static_library"', {
902 'libpeer_target_type!="static_library"', {
903 'sources': [ 902 'sources': [
904 'overrides/initialize_module.cc', 903 'overrides/initialize_module.cc',
905 ], 904 ],
906 'conditions': [ 905 'conditions': [
907 ['OS!="mac"', { 906 ['OS!="mac" and OS!="android"', {
908 'sources': [ 907 'sources': [
909 'overrides/allocator_shim/allocator_proxy.cc', 908 'overrides/allocator_shim/allocator_proxy.cc',
910 ], 909 ],
911 }], 910 }],
912 ], 911 ],
913 }], 912 }],
914 ['"<(libpeer_target_type)"!="static_library"', { 913 ['"<(libpeer_target_type)"!="static_library"', {
915 # Used to control symbol export/import. 914 # Used to control symbol export/import.
916 'defines': [ 'LIBPEERCONNECTION_IMPLEMENTATION=1' ], 915 'defines': [ 'LIBPEERCONNECTION_IMPLEMENTATION=1' ],
917 }], 916 }],
(...skipping 11 matching lines...) Expand all
929 # For compatibility with how we export symbols from this 928 # For compatibility with how we export symbols from this
930 # target on Windows. This also prevents the linker from 929 # target on Windows. This also prevents the linker from
931 # picking up symbols from this target that should be linked 930 # picking up symbols from this target that should be linked
932 # in from other libjingle libs. 931 # in from other libjingle libs.
933 '-fvisibility=hidden', 932 '-fvisibility=hidden',
934 ], 933 ],
935 }], 934 }],
936 ['OS=="mac" and libpeer_target_type!="static_library"', { 935 ['OS=="mac" and libpeer_target_type!="static_library"', {
937 'product_name': 'libpeerconnection', 936 'product_name': 'libpeerconnection',
938 }], 937 }],
939 ['OS=="android"', { 938 ['OS=="android" and "<(libpeer_target_type)"=="static_library"', {
940 'standalone_static_library': 1, 939 'standalone_static_library': 1,
941 }], 940 }],
942 ['OS=="linux" and libpeer_target_type!="static_library"', { 941 ['OS=="linux" and libpeer_target_type!="static_library"', {
943 # The installer and various tools depend on finding the .so 942 # The installer and various tools depend on finding the .so
944 # in this directory and not lib.target as will otherwise be 943 # in this directory and not lib.target as will otherwise be
945 # the case with make builds. 944 # the case with make builds.
946 'product_dir': '<(PRODUCT_DIR)/lib', 945 'product_dir': '<(PRODUCT_DIR)/lib',
947 }], 946 }],
948 ], 947 ],
949 }, # target libpeerconnection 948 }, # target libpeerconnection
950 ], 949 ],
951 }], 950 }],
952 ], 951 ],
953 } 952 }
OLDNEW
« no previous file with comments | « build/android/finalize_apk_action.gypi ('k') | third_party/libjingle/overrides/allocator_shim/allocator_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698