diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index ddd8431f76..ab6dc50d75 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -1097,7 +1097,7 @@ if (is_ios || is_mac) { # TODO(peterhanspers): Reenable these tests on simulator. # See bugs.webrtc.org/7812 - if (!use_ios_simulator) { + if (target_environment != "simulator") { sources += [ "objc/unittests/RTCAudioDeviceModule_xctest.mm", "objc/unittests/RTCAudioDevice_xctest.mm",