Index: base/test/android/javatests/src/org/chromium/base/test/library_loader/TestLibraryLoader.java |
diff --git a/base/test/android/javatests/src/org/chromium/base/test/library_loader/TestLibraryLoader.java b/base/test/android/javatests/src/org/chromium/base/test/library_loader/TestLibraryLoader.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1acefcccdfee47438b3813cf5830178403d3ccb5 |
--- /dev/null |
+++ b/base/test/android/javatests/src/org/chromium/base/test/library_loader/TestLibraryLoader.java |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.base.test.library_loader; |
+ |
+/** |
+ * Loads native test libraries. |
+ */ |
+public class TestLibraryLoader { |
+ |
+ public static void loadLibraries() { |
+ for (String library : NativeTestLibraries.LIBRARIES) { |
+ System.loadLibrary(library); |
+ } |
+ } |
+ |
+} |