OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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'], |
11 'variables': { | 11 'variables': { |
12 'rtc_pc_defines': [ | 12 'rtc_pc_defines': [ |
13 'SRTP_RELATIVE_PATH', | 13 'SRTP_RELATIVE_PATH', |
14 'HAVE_SCTP', | 14 'HAVE_SCTP', |
15 'HAVE_SRTP', | 15 'HAVE_SRTP', |
16 ], | 16 ], |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'rtc_pc', | 20 'target_name': 'rtc_pc', |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'dependencies': [ | 22 'dependencies': [ |
23 '<(webrtc_root)/base/base.gyp:rtc_base', | 23 '<(webrtc_root)/base/base.gyp:rtc_base', |
24 '<(webrtc_root)/media/media.gyp:rtc_media', | 24 '<(webrtc_root)/media/media.gyp:rtc_media', |
25 ], | 25 ], |
26 'conditions': [ | 26 'conditions': [ |
| 27 ['build_with_chromium==1', { |
| 28 'sources': [ |
| 29 'externalhmac.h', |
| 30 'externalhmac.cc', |
| 31 ], |
| 32 }], |
27 ['build_libsrtp==1', { | 33 ['build_libsrtp==1', { |
28 'dependencies': [ | 34 'dependencies': [ |
29 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | 35 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
30 ], | 36 ], |
31 }], | 37 }], |
32 ], | 38 ], |
33 'defines': [ | 39 'defines': [ |
34 '<@(rtc_pc_defines)', | 40 '<@(rtc_pc_defines)', |
35 ], | 41 ], |
36 'include_dirs': [ | 42 'include_dirs': [ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 'sources': [ | 136 'sources': [ |
131 'rtc_pc_unittests.isolate', | 137 'rtc_pc_unittests.isolate', |
132 ], | 138 ], |
133 }, | 139 }, |
134 ], | 140 ], |
135 }], | 141 }], |
136 ], # conditions | 142 ], # conditions |
137 }], # include_tests==1 | 143 }], # include_tests==1 |
138 ], # conditions | 144 ], # conditions |
139 } | 145 } |
OLD | NEW |