aboutsummaryrefslogtreecommitdiff
path: root/webrtc.gni
diff options
context:
space:
mode:
authorJeremy Leconte <jleconte@webrtc.org>2022-02-18 10:16:32 +0100
committerWebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-02-18 12:57:42 +0000
commitd15f3e1220549d30cd2ab6063208ff022b67d3fd (patch)
tree032a74a6422d6819ce058c42422f5f636a5c2af4 /webrtc.gni
parent18454b772026745e0294ba64c202a19acec60cd1 (diff)
downloadwebrtc-d15f3e1220549d30cd2ab6063208ff022b67d3fd.tar.gz
Prepare the code to run ios tests with the standalone recipe.
The flags isolated-script-test-output and isolated-script-test-perf-output need to be consumed by the tests. The generated .app folder in added in the data list of the gni file. This will make it available in the runtime_deps file and thus will be populated to the swarming tasks. Bug: webrtc:13556 Change-Id: I2c75774b847d9f686c3abc00ba0400bbc3fcefae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/240520 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Christoffer Jansson <jansson@google.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#36029}
Diffstat (limited to 'webrtc.gni')
-rw-r--r--webrtc.gni9
1 files changed, 9 insertions, 0 deletions
diff --git a/webrtc.gni b/webrtc.gni
index 6e81fc4285..8040f628d9 100644
--- a/webrtc.gni
+++ b/webrtc.gni
@@ -530,6 +530,15 @@ template("rtc_test") {
[ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ]
}
}
+ # TODO(crbug.com/webrtc/13556): Adding the .app folder in the runtime_deps
+ # shoulnd't be necessary. this code should be removed and the same solution
+ # as Chromium should be used.
+ if (is_ios) {
+ if (!defined(invoker.data)) {
+ data = []
+ }
+ data += [ "${root_out_dir}/${target_name}.app" ]
+ }
}
}