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

Side by Side Diff: webrtc/pc/BUILD.gn

Issue 2593313002: Hook up new "rtc_enable_sctp" build argument to "HAVE_SCTP" define. (Closed)
Patch Set: Use a different variable (rtc_enable_sctp). Created 3 years, 12 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
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698