Fork //base/test/google_test_runner

(Used to run gtests on iOS, but we don't want to depend on //base.)

Optimistically try to use the existing partial fork

Bug: webrtc:13402
Change-Id: I10528670862f2db67e77adb73b8a71b19642666d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260328
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36703}
This commit is contained in:
Björn Terelius 2022-04-28 19:18:02 +02:00 committed by WebRTC LUCI CQ
parent b45d4deb3b
commit 166650ada7

View file

@ -498,10 +498,10 @@ template("rtc_test") {
] ]
} }
# Build //base/test:google_test_runner when the test is not a real XCTest. # Build //test:test_support when the test is not a real XCTest.
if (is_ios && rtc_include_tests) { if (is_ios && rtc_include_tests) {
if (!defined(invoker.is_xctest) || !invoker.is_xctest) { if (!defined(invoker.is_xctest) || !invoker.is_xctest) {
xctest_module_target = "//base/test:google_test_runner" xctest_module_target = "//test:test_support"
} }
} }