OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.mojo_shell_apk; | 5 package org.chromium.mojo_shell_apk; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 import org.chromium.base.JNINamespace; | 9 import org.chromium.base.JNINamespace; |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 public void run() { | 37 public void run() { |
38 System.load(mBootstrapNativeLibrary.getAbsolutePath()); | 38 System.load(mBootstrapNativeLibrary.getAbsolutePath()); |
39 System.load(mApplicationNativeLibrary.getAbsolutePath()); | 39 System.load(mApplicationNativeLibrary.getAbsolutePath()); |
40 nativeBootstrap(mContext, mApplicationNativeLibrary.getAbsolutePath(), m
Handle, | 40 nativeBootstrap(mContext, mApplicationNativeLibrary.getAbsolutePath(), m
Handle, |
41 mRunApplicationPtr); | 41 mRunApplicationPtr); |
42 } | 42 } |
43 | 43 |
44 native void nativeBootstrap(Context context, String libraryPath, int handle, | 44 native void nativeBootstrap(Context context, String libraryPath, int handle, |
45 long runApplicationPtr); | 45 long runApplicationPtr); |
46 } | 46 } |
OLD | NEW |