| 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
|
| + }
|
| + }
|
| + }
|
| +}
|
|
|