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

Unified Diff: webrtc/modules/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/media/BUILD.gn ('k') | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/BUILD.gn
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
index 6c19b072aed0d302e5b043970bf8e839fe0dc9aa..367c8eed09a6d6a374a6f30590cf96e62e716737 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -8,7 +8,6 @@
import("../build/webrtc.gni")
import("audio_coding/audio_coding.gni")
-import("//testing/test.gni")
declare_args() {
# Desktop capturer is supported only on Windows, OSX and Linux.
@@ -52,7 +51,7 @@ if (rtc_include_tests) {
}
}
- test("modules_tests") {
+ rtc_test("modules_tests") {
testonly = true
configs += [ "..:common_config" ]
@@ -113,7 +112,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) {
cflags = [
@@ -240,7 +239,7 @@ if (rtc_include_tests) {
}
}
- test("modules_unittests") {
+ rtc_test("modules_unittests") {
testonly = true
defines = audio_coding_defines
@@ -574,7 +573,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/media/BUILD.gn ('k') | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698