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_definitions(-g -O2 -std=c++17 -D FLUTTER_UI)
add_library( # Sets the name of the library. add_library( # Sets the name of the library.
engine sanmill
# Sets the library as a shared library. # Sets the library as a shared library.
SHARED SHARED
@ -45,7 +45,7 @@ find_library( # Sets the name of the path variable.
target_link_libraries( # Specifies the target library. target_link_libraries( # Specifies the target library.
engine sanmill
# Links the target library to the log library # Links the target library to the log library
# included in the NDK. # included in the NDK.

View File

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