| Index: webrtc/video/BUILD.gn
|
| diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn
|
| index 76c2ea64e953541b0fb1f78841e26e1fcf455aa9..1d3f55c4b9ebb8e5aec1efcfa2be174182df5409 100644
|
| --- a/webrtc/video/BUILD.gn
|
| +++ b/webrtc/video/BUILD.gn
|
| @@ -7,9 +7,8 @@
|
| # be found in the AUTHORS file in the root of the source tree.
|
|
|
| import("../build/webrtc.gni")
|
| -import("//testing/test.gni")
|
|
|
| -source_set("video") {
|
| +rtc_source_set("video") {
|
| sources = [
|
| "call_stats.cc",
|
| "call_stats.h",
|
| @@ -55,7 +54,7 @@ source_set("video") {
|
| if (is_clang) {
|
| # Suppress warnings from Chrome's Clang plugins.
|
| # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| - configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| deps = [
|
| @@ -80,7 +79,7 @@ source_set("video") {
|
|
|
| if (rtc_include_tests) {
|
| # TODO(pbos): Rename test suite.
|
| - source_set("video_tests") {
|
| + rtc_source_set("video_tests") {
|
| testonly = true
|
| sources = [
|
| "call_stats_unittest.cc",
|
| @@ -108,7 +107,7 @@ if (rtc_include_tests) {
|
| if (is_clang) {
|
| # Suppress warnings from the Chromium Clang plugin.
|
| # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| - configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| }
|
| }
|
|
|