From dd21474da5bd180d1692100045f9d6dbb9ee857f Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Tue, 17 Jul 2018 13:49:46 +0200 Subject: [PATCH] Replace accidental usages of source_set with rtc_source_set Bug: None Change-Id: I80c5ad9e1e9942eb51ace014cd7b9127959d601b Reviewed-on: https://webrtc-review.googlesource.com/89061 Reviewed-by: Mirko Bonadei Commit-Queue: Oleh Prypin Cr-Commit-Position: refs/heads/master@{#24004} --- modules/audio_processing/agc2/rnn_vad/BUILD.gn | 4 ++-- modules/desktop_capture/BUILD.gn | 4 ++-- rtc_base/BUILD.gn | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/audio_processing/agc2/rnn_vad/BUILD.gn b/modules/audio_processing/agc2/rnn_vad/BUILD.gn index 6bfec6dfe45..41521df73f5 100644 --- a/modules/audio_processing/agc2/rnn_vad/BUILD.gn +++ b/modules/audio_processing/agc2/rnn_vad/BUILD.gn @@ -14,7 +14,7 @@ group("rnn_vad") { ] } -source_set("lib") { +rtc_source_set("lib") { sources = [ "common.h", "features_extraction.cc", @@ -50,7 +50,7 @@ source_set("lib") { } if (rtc_include_tests) { - source_set("lib_test") { + rtc_source_set("lib_test") { testonly = true sources = [ "test_utils.cc", diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn index 8467f18b092..0860a962360 100644 --- a/modules/desktop_capture/BUILD.gn +++ b/modules/desktop_capture/BUILD.gn @@ -119,7 +119,7 @@ if (rtc_include_tests) { } } - source_set("screen_drawer") { + rtc_source_set("screen_drawer") { testonly = true public_deps = [ @@ -150,7 +150,7 @@ if (rtc_include_tests) { } } - source_set("desktop_capture_mock") { + rtc_source_set("desktop_capture_mock") { testonly = true public_deps = [ diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 18d6897e3cb..982d5c4bebc 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -60,7 +60,7 @@ if (!rtc_build_ssl) { } } -source_set("protobuf_utils") { +rtc_source_set("protobuf_utils") { visibility = [ "*" ] sources = [ "protobuf_utils.h", @@ -72,7 +72,7 @@ source_set("protobuf_utils") { } } -source_set("compile_assert_c") { +rtc_source_set("compile_assert_c") { sources = [ "compile_assert_c.h", ]