Commit cf1422a3 authored by fallenstardust's avatar fallenstardust

build lua as C

parent ca51960e
......@@ -38,8 +38,8 @@ LOCAL_SRC_FILES := lapi.c \
lundump.c \
lutf8lib.c \
lvm.c \
lzio.c
LOCAL_CFLAGS := -DLUA_USE_POSIX -O2 -Wall -DLUA_COMPAT_5_2 -D"getlocaledecpoint()='.'" -Wno-psabi
lzio.c
LOCAL_CFLAGS := -DLUA_USE_POSIX -O2 -Wall -DLUA_COMPAT_5_2 -D"getlocaledecpoint()='.'" -Wno-psabi -fexceptions
LOCAL_CPP_EXTENSION := .c
include $(BUILD_STATIC_LIBRARY)
......@@ -8,8 +8,8 @@ android {
applicationId "cn.garymb.ygomobile"
minSdkVersion 16
targetSdkVersion 22
versionCode 330601002
versionName "3.3.6"
versionCode 330701009
versionName "3.3.7"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
ndk {
......@@ -22,15 +22,15 @@ android {
}
productFlavors {
cn {
manifestPlaceholders=[PGYER_APPID:"dd147e8542b85a64111d98290892d8bd"]
manifestPlaceholders = [PGYER_APPID: "dd147e8542b85a64111d98290892d8bd"]
}
en {
applicationIdSuffix ".EN"
manifestPlaceholders=[PGYER_APPID:"242ad8311ed1c943f48cfc8238d06210"]
manifestPlaceholders = [PGYER_APPID: "242ad8311ed1c943f48cfc8238d06210"]
}
ko {
applicationIdSuffix ".KO"
manifestPlaceholders=[PGYER_APPID:"8e985218b1f02bda5fa456557c886f54"]
manifestPlaceholders = [PGYER_APPID: "8e985218b1f02bda5fa456557c886f54"]
}
}
buildTypes {
......@@ -67,16 +67,16 @@ android {
exclude 'META-INF/LICENSE'
}
aaptOptions {
noCompress 'dll',"config"
noCompress 'dll', "config"
}
buildToolsVersion '28.0.2'
}
repositories {
flatDir {
dirs 'libs'
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation 'junit:junit:4.12'
implementation project(':libcore')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment