mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Move android port code to servoshell (#32533)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
6f64a5afad
commit
24906e1c21
17 changed files with 156 additions and 241 deletions
|
@ -8,13 +8,13 @@ package org.mozilla.servoview;
|
|||
import android.app.Activity;
|
||||
import android.view.Surface;
|
||||
/**
|
||||
* Maps /ports/libsimpleservo API
|
||||
* Maps /ports/libservoshell API
|
||||
*/
|
||||
@SuppressWarnings("JniMissingFunction")
|
||||
public class JNIServo {
|
||||
JNIServo() {
|
||||
System.loadLibrary("c++_shared");
|
||||
System.loadLibrary("simpleservo");
|
||||
System.loadLibrary("servoshell");
|
||||
}
|
||||
|
||||
public native String version();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue