Index: components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java |
diff --git a/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java b/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1fa2220616251e9524d9571f7797028a2027c956 |
--- /dev/null |
+++ b/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 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.components.devtools_bridge.tests; |
+ |
+import android.app.Application; |
+ |
+import org.chromium.components.devtools_bridge.SessionDependencyFactory; |
+import org.chromium.components.devtools_bridge.SessionDependencyFactoryNative; |
+ |
+/** |
+ * Performs initialization for DevTools Bridge test APK. |
+ */ |
+public class TestApplication extends Application { |
+ static { |
+ System.loadLibrary("devtools_bridge_natives_so"); |
+ SessionDependencyFactory.init(SessionDependencyFactoryNative.class); |
+ } |
+} |