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

Unified Diff: webrtc/modules/remote_bitrate_estimator/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/modules/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/BUILD.gn
diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
index bbf74aba7ccbcb06d55eb56275443291df7c9add..ea4f38e88f1938c252a290a6c82f0cbc2b505d07 100644
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
@@ -7,14 +7,13 @@
# be found in the AUTHORS file in the root of the source tree.
import("../../build/webrtc.gni")
-import("//testing/test.gni")
declare_args() {
# Set this to true to enable BWE test logging.
rtc_enable_bwe_test_logging = false
}
-source_set("remote_bitrate_estimator") {
+rtc_source_set("remote_bitrate_estimator") {
sources = [
"aimd_rate_control.cc",
"aimd_rate_control.h",
@@ -52,7 +51,7 @@ source_set("remote_bitrate_estimator") {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
- configs -= [ "//build/config/clang:find_bad_constructs" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
deps = [
@@ -63,7 +62,7 @@ source_set("remote_bitrate_estimator") {
}
if (rtc_include_tests) {
- source_set("bwe_simulator") {
+ rtc_source_set("bwe_simulator") {
testonly = true
sources = [
"test/bwe.cc",
@@ -106,7 +105,7 @@ if (rtc_include_tests) {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugins (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/modules/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698