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

Unified Diff: webrtc/pc/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/p2p/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « webrtc/p2p/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698