| Index: webrtc/base/BUILD.gn
|
| diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
|
| index e94169d0ce45e641557d876c33bf0056e6a4e432..af7f4c3dcf8b2e7d2335f0c726f5e9ea3cb3e83a 100644
|
| --- a/webrtc/base/BUILD.gn
|
| +++ b/webrtc/base/BUILD.gn
|
| @@ -730,9 +730,10 @@ rtc_source_set("rtc_base_tests_utils") {
|
| if (rtc_include_tests) {
|
| rtc_source_set("rtc_base_tests_main") {
|
| testonly = true
|
| - sources = [
|
| - "unittest_main.cc",
|
| - ]
|
| + sources = []
|
| + if (!is_ios) {
|
| + sources += [ "unittest_main.cc" ]
|
| + }
|
| public_configs = [ ":rtc_base_tests_utils_exported_config" ]
|
| deps = [
|
| ":rtc_base",
|
| @@ -741,6 +742,12 @@ if (rtc_include_tests) {
|
| "../test:field_trial",
|
| "../test:test_support",
|
| ]
|
| +
|
| + # TODO(oprypin): Bug 7758: integrate the iOS unittest support into WebRTC's
|
| + # unittest_main instead of replacing it with Chromium's main function.
|
| + if (is_ios) {
|
| + deps += [ "//base/test:run_all_unittests" ]
|
| + }
|
| public_deps = [
|
| "//testing/gmock",
|
| "//testing/gtest",
|
|
|