flutter: android: Change libengine to libsanmill

This commit is contained in:
Calcitem 2021-03-21 00:52:11 +08:00
parent 835b4eb91d
commit 5a4fd29984
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.4.1)
add_definitions(-g -O2 -std=c++17 -D FLUTTER_UI)
add_library( # Sets the name of the library.
engine
sanmill
# Sets the library as a shared library.
SHARED
@ -45,7 +45,7 @@ find_library( # Sets the name of the path variable.
target_link_libraries( # Specifies the target library.
engine
sanmill
# Links the target library to the log library
# included in the NDK.

View File

@ -21,7 +21,7 @@ package com.calcitem.sanmill;
public class MillEngine {
static {
System.loadLibrary("engine");
System.loadLibrary("sanmill");
}
public native int startup();