Index: webrtc/BUILD.gn |
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn |
index a10b953cd7c7ca4fa5e85041932865064056f58e..0bc2eb321b574413163c61e0b11409db49dd2100 100644 |
--- a/webrtc/BUILD.gn |
+++ b/webrtc/BUILD.gn |
@@ -100,6 +100,12 @@ config("common_config") { |
cflags_cc = [] |
defines = [] |
+ if (rtc_enable_protobuf) { |
+ defines += [ "WEBRTC_ENABLE_PROTOBUF=1" ] |
+ } else { |
+ defines += [ "WEBRTC_ENABLE_PROTOBUF=0" ] |
+ } |
+ |
if (rtc_restrict_logging) { |
defines += [ "WEBRTC_RESTRICT_LOGGING" ] |
} |