| Index: webrtc/pc/BUILD.gn
|
| diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn
|
| index 906d99575b05c9bc1983e4f6dd96fcd7aade0be2..3b4611b3a88aabc81302228f16dbaebe4e7ee0d5 100644
|
| --- a/webrtc/pc/BUILD.gn
|
| +++ b/webrtc/pc/BUILD.gn
|
| @@ -7,7 +7,6 @@
|
| # be found in the AUTHORS file in the root of the source tree.
|
|
|
| import("../build/webrtc.gni")
|
| -import("//testing/test.gni")
|
|
|
| group("pc") {
|
| deps = [
|
| @@ -23,7 +22,7 @@ config("rtc_pc_config") {
|
| ]
|
| }
|
|
|
| -source_set("rtc_pc") {
|
| +rtc_source_set("rtc_pc") {
|
| defines = []
|
| sources = [
|
| "audiomonitor.cc",
|
| @@ -72,7 +71,7 @@ source_set("rtc_pc") {
|
|
|
| if (is_clang) {
|
| # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| - configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| }
|
|
|
| @@ -86,7 +85,7 @@ if (rtc_include_tests) {
|
| }
|
| }
|
|
|
| - test("rtc_pc_unittests") {
|
| + rtc_test("rtc_pc_unittests") {
|
| testonly = true
|
|
|
| sources = [
|
| @@ -109,7 +108,7 @@ if (rtc_include_tests) {
|
|
|
| if (is_clang) {
|
| # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| - configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| if (is_win) {
|
|
|