Disabling openmax_dl

Bug: webrtc:9071
Change-Id: I858d78f8121193186828fb75f625d4738d4913eb
Reviewed-on: https://webrtc-review.googlesource.com/69641
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23001}
diff --git a/webrtc.gni b/webrtc.gni
index b3f06ae..20a5727 100644
--- a/webrtc.gni
+++ b/webrtc.gni
@@ -167,11 +167,13 @@
   rtc_build_libsrtp = !build_with_mozilla
   rtc_build_libvpx = !build_with_mozilla
   rtc_libvpx_build_vp9 = !build_with_mozilla
-  rtc_build_openmax_dl = !build_with_mozilla
   rtc_build_opus = !build_with_mozilla
   rtc_build_ssl = !build_with_mozilla
   rtc_build_usrsctp = !build_with_mozilla
 
+  # TODO(http://bugs.webrtc.org/9071): Remove flag when openmax_dl is deleted.
+  rtc_build_openmax_dl = false
+
   # Enable libevent task queues on platforms that support it.
   # rtc_link_task_queue_impl must be set to true for this to
   # have an effect.
@@ -183,12 +185,8 @@
     rtc_build_libevent = !build_with_mozilla
   }
 
-  if (!is_ios && (current_cpu != "arm" || arm_version >= 7) &&
-      current_cpu != "mips64el" && !build_with_mozilla) {
-    rtc_use_openmax_dl = true
-  } else {
-    rtc_use_openmax_dl = false
-  }
+  # TODO(http://bugs.webrtc.org/9071): Remove flag when openmax_dl is deleted.
+  rtc_use_openmax_dl = false
 
   # Build sources requiring GTK. NOTICE: This is not present in Chrome OS
   # build environments, even if available for Chromium builds.