Index: webrtc/BUILD.gn |
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn |
index 8ae54103f1884220a0808505624317e651e44edb..1e8508ac63332c1669159f8983593fe09c9bb2b6 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" ] |
} |