Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: webrtc/voice_engine/BUILD.gn

Issue 2301053002: GN: Introduce templates. (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
}
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698