Index: webrtc/webrtc.gyp |
diff --git a/webrtc/webrtc.gyp b/webrtc/webrtc.gyp |
index 283aa462087dce91eb78730d6082aec04ab090d6..4368dd4c7ef5934a3da7869a4193dea5ade0da13 100644 |
--- a/webrtc/webrtc.gyp |
+++ b/webrtc/webrtc.gyp |
@@ -133,6 +133,8 @@ |
'conditions': [ |
# If enable_protobuf is defined, we want to compile the protobuf |
# and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. |
+ # We also want to compile the parsing functions (which do not make |
+ # sense without the protobuf). |
['enable_protobuf==1', { |
'dependencies': [ |
'rtc_event_log_proto', |
@@ -140,6 +142,10 @@ |
'defines': [ |
'ENABLE_RTC_EVENT_LOG', |
], |
+ 'sources': [ |
+ 'video/rtc_event_log_parser.cc', |
+ 'video/rtc_event_log_parser.h', |
+ ], |
}], |
], |
}, |