| Index: mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/Bootstrap.java
|
| diff --git a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/Bootstrap.java b/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/Bootstrap.java
|
| deleted file mode 100644
|
| index b74f03a30f16596bfebff012c36a55f9a2d88608..0000000000000000000000000000000000000000
|
| --- a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/Bootstrap.java
|
| +++ /dev/null
|
| @@ -1,46 +0,0 @@
|
| -// 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.mojo_shell_apk;
|
| -
|
| -import android.content.Context;
|
| -
|
| -import org.chromium.base.JNINamespace;
|
| -
|
| -import java.io.File;
|
| -
|
| -/**
|
| - * Runnable used to bootstrap execution of Android Mojo application. For the JNI to work, we need a
|
| - * Java class with the application classloader in the call stack. We load this class in the
|
| - * application classloader and call into native from it to achieve that.
|
| - */
|
| -@JNINamespace("mojo")
|
| -public class Bootstrap implements Runnable {
|
| -
|
| - private final Context mContext;
|
| - private final File mBootstrapNativeLibrary;
|
| - private final File mApplicationNativeLibrary;
|
| - private final int mHandle;
|
| - private final long mRunApplicationPtr;
|
| -
|
| - public Bootstrap(Context context, File bootstrapNativeLibrary, File applicationNativeLibrary,
|
| - Integer handle, Long runApplicationPtr) {
|
| - mContext = context;
|
| - mBootstrapNativeLibrary = bootstrapNativeLibrary;
|
| - mApplicationNativeLibrary = applicationNativeLibrary;
|
| - mHandle = handle;
|
| - mRunApplicationPtr = runApplicationPtr;
|
| - }
|
| -
|
| - @Override
|
| - public void run() {
|
| - System.load(mBootstrapNativeLibrary.getAbsolutePath());
|
| - System.load(mApplicationNativeLibrary.getAbsolutePath());
|
| - nativeBootstrap(mContext, mApplicationNativeLibrary.getAbsolutePath(), mHandle,
|
| - mRunApplicationPtr);
|
| - }
|
| -
|
| - native void nativeBootstrap(Context context, String libraryPath, int handle,
|
| - long runApplicationPtr);
|
| -}
|
|
|