| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'includes': [ | |
| 7 '../../build/win_precompile.gypi', | |
| 8 ], | |
| 9 # Most of these settings have been split according to their scope into | |
| 10 # :jingle_unexported_configs and :jingle_public_config in the GN build. | |
| 11 'target_defaults': { | |
| 12 'include_dirs': [ | |
| 13 '../../third_party/webrtc_overrides', | |
| 14 '../..', | |
| 15 '../../testing/gtest/include', | |
| 16 '../../third_party', | |
| 17 '../../third_party/libyuv/include', | |
| 18 '../../third_party/usrsctp/usrsctplib', | |
| 19 ], | |
| 20 # These dependencies have been translated into :jingle_deps in the GN build. | |
| 21 'dependencies': [ | |
| 22 '<(DEPTH)/base/base.gyp:base', | |
| 23 '<(DEPTH)/net/net.gyp:net', | |
| 24 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | |
| 25 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
| 26 ], | |
| 27 'export_dependent_settings': [ | |
| 28 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
| 29 ], | |
| 30 'direct_dependent_settings': { | |
| 31 'include_dirs': [ | |
| 32 '../../third_party/webrtc_overrides', | |
| 33 '../..', | |
| 34 '../../testing/gtest/include', | |
| 35 '../../third_party', | |
| 36 ], | |
| 37 'conditions': [ | |
| 38 ['OS=="win"', { | |
| 39 'link_settings': { | |
| 40 'libraries': [ | |
| 41 '-lsecur32.lib', | |
| 42 '-lcrypt32.lib', | |
| 43 '-liphlpapi.lib', | |
| 44 ], | |
| 45 }, | |
| 46 }], | |
| 47 ['OS=="win"', { | |
| 48 'include_dirs': [ | |
| 49 '../third_party/platformsdk_win7/files/Include', | |
| 50 ], | |
| 51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 52 'msvs_disabled_warnings': [ 4267 ], | |
| 53 }], | |
| 54 ], | |
| 55 }, | |
| 56 'variables': { | |
| 57 'clang_warning_flags_unset': [ | |
| 58 # Don't warn about string->bool used in asserts. | |
| 59 '-Wstring-conversion', | |
| 60 ], | |
| 61 }, | |
| 62 'conditions': [ | |
| 63 ['OS=="win"', { | |
| 64 'include_dirs': [ | |
| 65 '../third_party/platformsdk_win7/files/Include', | |
| 66 ], | |
| 67 }], | |
| 68 ], | |
| 69 }, | |
| 70 'targets': [ | |
| 71 # GN version: //third_party/libjingle | |
| 72 { | |
| 73 'target_name': 'libjingle', | |
| 74 'type': 'static_library', | |
| 75 'includes': [ 'libjingle_common.gypi' ], | |
| 76 'dependencies': [ | |
| 77 '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', | |
| 78 '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', | |
| 79 ], | |
| 80 # TODO(kjellander): Start cleaning up this target as soon as | |
| 81 # https://codereview.chromium.org/2022833002/ is landed. The target should | |
| 82 # be removed entirely if possible. | |
| 83 'export_dependent_settings': [ | |
| 84 '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', | |
| 85 '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', | |
| 86 ], | |
| 87 }, # target libjingle | |
| 88 ], | |
| 89 'conditions': [ | |
| 90 ['enable_webrtc==1', { | |
| 91 'targets': [ | |
| 92 { | |
| 93 # GN version: //third_party/libjingle:libjingle_webrtc_common | |
| 94 'target_name': 'libjingle_webrtc_common', | |
| 95 'type': 'static_library', | |
| 96 'dependencies': [ | |
| 97 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | |
| 98 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', | |
| 99 '<(DEPTH)/third_party/webrtc/api/api.gyp:libjingle_peerconnection', | |
| 100 '<(DEPTH)/third_party/webrtc/media/media.gyp:rtc_media', | |
| 101 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', | |
| 102 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', | |
| 103 '<(DEPTH)/third_party/webrtc/pc/pc.gyp:rtc_pc', | |
| 104 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
ine', | |
| 105 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', | |
| 106 'libjingle', | |
| 107 ], | |
| 108 }, # target libjingle_webrtc_common | |
| 109 { | |
| 110 # TODO(kjellander): Move this target into | |
| 111 # //third_party/webrtc_overrides as soon as the work in | |
| 112 # bugs.webrtc.org/4256 has gotten rid of the duplicated source | |
| 113 # listings above. | |
| 114 # GN version: //third_party/libjingle:libjingle_webrtc | |
| 115 'target_name': 'libjingle_webrtc', | |
| 116 'type': 'static_library', | |
| 117 'sources': [ | |
| 118 '../webrtc_overrides/init_webrtc.cc', | |
| 119 '../webrtc_overrides/init_webrtc.h', | |
| 120 ], | |
| 121 'dependencies': [ | |
| 122 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', | |
| 123 'libjingle_webrtc_common', | |
| 124 ], | |
| 125 }, | |
| 126 ], | |
| 127 }], | |
| 128 ], | |
| 129 } | |
| OLD | NEW |