Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: media/blink/run_all_unittests.cc

Issue 1938263002: Get media_blink_unittests running on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/run_all_unittests.cc
diff --git a/media/blink/run_all_unittests.cc b/media/blink/run_all_unittests.cc
index 8873803f5de39c697ad5cb8bd84d5d879c211e87..38ca6aa60357e5f878a3fda8f6a66861e14790a1 100644
--- a/media/blink/run_all_unittests.cc
+++ b/media/blink/run_all_unittests.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
-#include "base/rand_util.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
@@ -25,7 +24,6 @@
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
#include "media/base/android/media_jni_registrar.h"
-#include "ui/gl/android/gl_jni_registrar.h"
#endif
#ifdef V8_USE_EXTERNAL_STARTUP_DATA
@@ -107,11 +105,7 @@ void BlinkMediaTestSuite::Initialize() {
base::TestSuite::Initialize();
#if defined(OS_ANDROID)
- // Register JNI bindings for android.
- JNIEnv* env = base::android::AttachCurrentThread();
- // Needed for surface texture support.
- ui::gl::android::RegisterJni(env);
- media::RegisterJni(env);
+ media::RegisterJni(base::android::AttachCurrentThread());
#endif
// Run this here instead of main() to ensure an AtExitManager is already
« no previous file with comments | « media/blink/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698