flutter: android: Change libengine to libsanmill
This commit is contained in:
parent
835b4eb91d
commit
5a4fd29984
|
@ -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.
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue