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") { |