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

Side by Side Diff: webrtc/api/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/BUILD.gn ('k') | webrtc/api/peerconnection_unittest.cc » ('j') | 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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 if (is_android) { 10 if (is_android) {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "test/peerconnectiontestwrapper.cc", 255 "test/peerconnectiontestwrapper.cc",
256 "test/peerconnectiontestwrapper.h", 256 "test/peerconnectiontestwrapper.h",
257 "test/rtcstatsobtainer.h", 257 "test/rtcstatsobtainer.h",
258 "test/testsdpstrings.h", 258 "test/testsdpstrings.h",
259 "videocapturertracksource_unittest.cc", 259 "videocapturertracksource_unittest.cc",
260 "videotrack_unittest.cc", 260 "videotrack_unittest.cc",
261 "webrtcsdp_unittest.cc", 261 "webrtcsdp_unittest.cc",
262 "webrtcsession_unittest.cc", 262 "webrtcsession_unittest.cc",
263 ] 263 ]
264 264
265 defines = [ "HAVE_SCTP" ] 265 if (rtc_enable_sctp) {
266 defines = [ "HAVE_SCTP" ]
267 }
266 268
267 configs += [ ":peerconnection_unittests_config" ] 269 configs += [ ":peerconnection_unittests_config" ]
268 270
269 if (!build_with_chromium && is_clang) { 271 if (!build_with_chromium && is_clang) {
270 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 272 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
271 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 273 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
272 } 274 }
273 275
274 # TODO(jschuh): Bug 1348: fix this warning. 276 # TODO(jschuh): Bug 1348: fix this warning.
275 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 277 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 public_deps = [ 332 public_deps = [
331 ":audio_mixer_api", 333 ":audio_mixer_api",
332 ] 334 ]
333 335
334 deps = [ 336 deps = [
335 "//testing/gmock", 337 "//testing/gmock",
336 "//webrtc/test:test_support", 338 "//webrtc/test:test_support",
337 ] 339 ]
338 } 340 }
339 } 341 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698