Commit cf1422a3 authored by fallenstardust's avatar fallenstardust

build lua as C

parent ca51960e
...@@ -38,8 +38,8 @@ LOCAL_SRC_FILES := lapi.c \ ...@@ -38,8 +38,8 @@ LOCAL_SRC_FILES := lapi.c \
lundump.c \ lundump.c \
lutf8lib.c \ lutf8lib.c \
lvm.c \ lvm.c \
lzio.c lzio.c
LOCAL_CFLAGS := -DLUA_USE_POSIX -O2 -Wall -DLUA_COMPAT_5_2 -D"getlocaledecpoint()='.'" -Wno-psabi -fexceptions
LOCAL_CFLAGS := -DLUA_USE_POSIX -O2 -Wall -DLUA_COMPAT_5_2 -D"getlocaledecpoint()='.'" -Wno-psabi LOCAL_CPP_EXTENSION := .c
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
applicationId "cn.garymb.ygomobile" applicationId "cn.garymb.ygomobile"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 22 targetSdkVersion 22
versionCode 330601002 versionCode 330701009
versionName "3.3.6" versionName "3.3.7"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
ndk { ndk {
...@@ -22,15 +22,15 @@ android { ...@@ -22,15 +22,15 @@ android {
} }
productFlavors { productFlavors {
cn { cn {
manifestPlaceholders=[PGYER_APPID:"dd147e8542b85a64111d98290892d8bd"] manifestPlaceholders = [PGYER_APPID: "dd147e8542b85a64111d98290892d8bd"]
} }
en { en {
applicationIdSuffix ".EN" applicationIdSuffix ".EN"
manifestPlaceholders=[PGYER_APPID:"242ad8311ed1c943f48cfc8238d06210"] manifestPlaceholders = [PGYER_APPID: "242ad8311ed1c943f48cfc8238d06210"]
} }
ko { ko {
applicationIdSuffix ".KO" applicationIdSuffix ".KO"
manifestPlaceholders=[PGYER_APPID:"8e985218b1f02bda5fa456557c886f54"] manifestPlaceholders = [PGYER_APPID: "8e985218b1f02bda5fa456557c886f54"]
} }
} }
buildTypes { buildTypes {
...@@ -67,16 +67,16 @@ android { ...@@ -67,16 +67,16 @@ android {
exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE'
} }
aaptOptions { aaptOptions {
noCompress 'dll',"config" noCompress 'dll', "config"
} }
buildToolsVersion '28.0.2' buildToolsVersion '28.0.2'
} }
repositories { repositories {
flatDir { flatDir {
dirs 'libs' dirs 'libs'
}
} }
}
dependencies { dependencies {
implementation 'junit:junit:4.12' implementation 'junit:junit:4.12'
implementation project(':libcore') 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