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

Unified Diff: webrtc/stats/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/sdk/BUILD.gn ('k') | webrtc/system_wrappers/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/stats/BUILD.gn
diff --git a/webrtc/stats/BUILD.gn b/webrtc/stats/BUILD.gn
index d1c08bdd5112666f8d501db4394afecc0fe41bd3..e1f5ea1b94e096843cd05bb6e40f7bdb80723f45 100644
--- a/webrtc/stats/BUILD.gn
+++ b/webrtc/stats/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("stats") {
deps = [
@@ -16,7 +15,7 @@ group("stats") {
}
# GYP version: webrtc/stats/stats.gyp:rtc_stats
-source_set("rtc_stats") {
+rtc_source_set("rtc_stats") {
cflags = []
sources = [
"rtcstats.cc",
@@ -31,7 +30,7 @@ source_set("rtc_stats") {
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" ]
}
deps = [
@@ -41,7 +40,7 @@ source_set("rtc_stats") {
if (rtc_include_tests) {
# GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
- test("rtc_stats_unittests") {
+ rtc_test("rtc_stats_unittests") {
testonly = true
sources = [
"rtcstats_unittest.cc",
@@ -54,7 +53,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" ]
}
deps = [
« no previous file with comments | « webrtc/sdk/BUILD.gn ('k') | webrtc/system_wrappers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698