| Index: webrtc/voice_engine/BUILD.gn
|
| diff --git a/webrtc/voice_engine/BUILD.gn b/webrtc/voice_engine/BUILD.gn
|
| index ffa17ed26660195c59a68168ddd7f93700beb06f..02caffabad98daf3757266a356f9598fdac2d959 100644
|
| --- a/webrtc/voice_engine/BUILD.gn
|
| +++ b/webrtc/voice_engine/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("voice_engine") {
|
| +rtc_source_set("voice_engine") {
|
| sources = [
|
| "channel.cc",
|
| "channel.h",
|
| @@ -85,7 +84,7 @@ source_set("voice_engine") {
|
| 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 = [
|
| @@ -108,7 +107,7 @@ source_set("voice_engine") {
|
| ]
|
| }
|
|
|
| -source_set("level_indicator") {
|
| +rtc_source_set("level_indicator") {
|
| sources = [
|
| "level_indicator.cc",
|
| "level_indicator.h",
|
| @@ -125,7 +124,7 @@ source_set("level_indicator") {
|
| }
|
|
|
| if (rtc_include_tests) {
|
| - test("voice_engine_unittests") {
|
| + rtc_test("voice_engine_unittests") {
|
| deps = [
|
| ":voice_engine",
|
| "//testing/gmock",
|
| @@ -172,12 +171,12 @@ if (rtc_include_tests) {
|
| 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" ]
|
| }
|
| }
|
|
|
| if (!is_ios) {
|
| - executable("voe_auto_test") {
|
| + rtc_executable("voe_auto_test") {
|
| testonly = true
|
|
|
| deps = [
|
| @@ -266,7 +265,7 @@ if (rtc_include_tests) {
|
| 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" ]
|
| }
|
| }
|
| }
|
|
|