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 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
11 group("pc") { | 11 group("pc") { |
12 public_deps = [ | 12 public_deps = [ |
13 ":rtc_pc", | 13 ":rtc_pc", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 config("rtc_pc_config") { | 17 config("rtc_pc_config") { |
18 defines = [ | 18 defines = [ "HAVE_SRTP" ] |
19 "HAVE_SCTP", | 19 if (rtc_enable_sctp) { |
20 "HAVE_SRTP", | 20 defines += [ "HAVE_SCTP" ] |
21 ] | 21 } |
22 } | 22 } |
23 | 23 |
24 rtc_static_library("rtc_pc") { | 24 rtc_static_library("rtc_pc") { |
25 defines = [] | 25 defines = [] |
26 sources = [ | 26 sources = [ |
27 "audiomonitor.cc", | 27 "audiomonitor.cc", |
28 "audiomonitor.h", | 28 "audiomonitor.h", |
29 "bundlefilter.cc", | 29 "bundlefilter.cc", |
30 "bundlefilter.h", | 30 "bundlefilter.h", |
31 "channel.cc", | 31 "channel.cc", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 if (rtc_build_libsrtp) { | 116 if (rtc_build_libsrtp) { |
117 deps += [ "//third_party/libsrtp" ] | 117 deps += [ "//third_party/libsrtp" ] |
118 } | 118 } |
119 | 119 |
120 if (is_android) { | 120 if (is_android) { |
121 deps += [ "//testing/android/native_test:native_test_support" ] | 121 deps += [ "//testing/android/native_test:native_test_support" ] |
122 } | 122 } |
123 } | 123 } |
124 } | 124 } |
OLD | NEW |