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

Unified 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 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/BUILD.gn
diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn
index fe8711fa26485c4cb422d24b5d7d3b129c00347f..f2bdbc3568ad800af5af95a296a6613bf6ff7800 100644
--- a/webrtc/pc/BUILD.gn
+++ b/webrtc/pc/BUILD.gn
@@ -15,10 +15,10 @@ group("pc") {
}
config("rtc_pc_config") {
- defines = [
- "HAVE_SCTP",
- "HAVE_SRTP",
- ]
+ defines = [ "HAVE_SRTP" ]
+ if (rtc_enable_sctp) {
+ defines += [ "HAVE_SCTP" ]
+ }
}
rtc_static_library("rtc_pc") {
« 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