| Index: webrtc/modules/BUILD.gn
|
| diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
|
| index 6c19b072aed0d302e5b043970bf8e839fe0dc9aa..367c8eed09a6d6a374a6f30590cf96e62e716737 100644
|
| --- a/webrtc/modules/BUILD.gn
|
| +++ b/webrtc/modules/BUILD.gn
|
| @@ -8,7 +8,6 @@
|
|
|
| import("../build/webrtc.gni")
|
| import("audio_coding/audio_coding.gni")
|
| -import("//testing/test.gni")
|
|
|
| declare_args() {
|
| # Desktop capturer is supported only on Windows, OSX and Linux.
|
| @@ -52,7 +51,7 @@ if (rtc_include_tests) {
|
| }
|
| }
|
|
|
| - test("modules_tests") {
|
| + rtc_test("modules_tests") {
|
| testonly = true
|
|
|
| configs += [ "..:common_config" ]
|
| @@ -113,7 +112,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) {
|
| cflags = [
|
| @@ -240,7 +239,7 @@ if (rtc_include_tests) {
|
| }
|
| }
|
|
|
| - test("modules_unittests") {
|
| + rtc_test("modules_unittests") {
|
| testonly = true
|
|
|
| defines = audio_coding_defines
|
| @@ -574,7 +573,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) {
|
|
|