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

Unified Diff: webrtc/webrtc.gni

Issue 2697603002: Move iOS tests to XCTest from gtest. (Closed)
Patch Set: fix nits Created 3 years, 10 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/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/webrtc.gni
diff --git a/webrtc/webrtc.gni b/webrtc/webrtc.gni
index e6d746a49ea0df20adab7850a18ee875b7fe0afe..96975fae9a4227568632a0fc50932d487cd134ac 100644
--- a/webrtc/webrtc.gni
+++ b/webrtc/webrtc.gni
@@ -13,6 +13,9 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build_overrides/build.gni")
import("//testing/test.gni")
+if (is_ios) {
+ import("//build/config/ios/rules.gni")
+}
declare_args() {
# Disable this to avoid building the Opus audio codec.
@@ -328,3 +331,29 @@ template("rtc_shared_library") {
}
}
}
+
+if (is_ios) {
+ set_defaults("rtc_ios_xctest_test") {
+ configs = rtc_add_configs
+ suppressed_configs = []
+ }
+
+ template("rtc_ios_xctest_test") {
+ ios_xctest_test(target_name) {
+ forward_variables_from(invoker,
+ "*",
+ [
+ "configs",
+ "public_configs",
+ "suppressed_configs",
+ ])
+ configs += invoker.configs
+ configs -= rtc_remove_configs
+ configs -= invoker.suppressed_configs
+ public_configs = [ rtc_common_inherited_config ]
+ if (defined(invoker.public_configs)) {
+ public_configs += invoker.public_configs
+ }
+ }
+ }
+}
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698