diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index 79b483df14..d63f416790 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -462,6 +462,9 @@ if (is_ios || is_mac) { "OpenGL.framework", ] } + + # TODO(bugs.webrtc.org/12937): Remove OpenGL deprecation warning + # workaround. defines = [ "GLES_SILENCE_DEPRECATION" ] deps = [ @@ -500,6 +503,9 @@ if (is_ios || is_mac) { "objc/components/renderer/opengl/RTCEAGLVideoView.h", "objc/components/renderer/opengl/RTCEAGLVideoView.m", ] + + # TODO(bugs.webrtc.org/12937): Remove OpenGL deprecation warning + # workaround. defines = [ "GLES_SILENCE_DEPRECATION" ] } if (is_mac) { @@ -1039,6 +1045,10 @@ if (is_ios || is_mac) { "objc/unittests/nalu_rewriter_xctest.mm", ] + # TODO(bugs.webrtc.org/12937): Remove OpenGL deprecation warning + # workaround. + defines = [ "GLES_SILENCE_DEPRECATION" ] + # TODO(peterhanspers): Reenable these tests on simulator. # See bugs.webrtc.org/7812 if (target_environment != "simulator") {