Index: webrtc/video/BUILD.gn |
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn |
index e97de6f2e56a24eef929d87347292d932c04bac3..ba5ba6b7e7fc925494e24e28e85bac1326b1c09c 100644 |
--- a/webrtc/video/BUILD.gn |
+++ b/webrtc/video/BUILD.gn |
@@ -143,6 +143,7 @@ if (rtc_include_tests) { |
# TODO(pbos): Rename test suite. |
rtc_source_set("video_tests") { |
testonly = true |
+ defines = [] |
sources = [ |
"call_stats_unittest.cc", |
"encoder_rtcp_feedback_unittest.cc", |
@@ -170,5 +171,8 @@ if (rtc_include_tests) { |
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
} |
+ if (rtc_use_h264) { |
+ defines += [ "WEBRTC_USE_H264" ] |
+ } |
} |
} |