Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
c8a28cf1
Commit
c8a28cf1
authored
Oct 04, 2019
by
kenan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lua and libygo
parent
2ef38969
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
6 deletions
+38
-6
.gitignore
.gitignore
+2
-0
Classes/lua/Android.mk
Classes/lua/Android.mk
+2
-2
Classes/ocgcore/interpreter.h
Classes/ocgcore/interpreter.h
+1
-3
libygo/build.gradle
libygo/build.gradle
+26
-0
libygo/src/main/AndroidManifest.xml
libygo/src/main/AndroidManifest.xml
+6
-0
settings.gradle
settings.gradle
+1
-1
No files found.
.gitignore
View file @
c8a28cf1
...
@@ -56,3 +56,5 @@ libYGOMobile.so
...
@@ -56,3 +56,5 @@ libYGOMobile.so
Thumbs.db
Thumbs.db
output.json
output.json
/libcore/.cxx
/libygo/.cxx
Classes/lua/Android.mk
View file @
c8a28cf1
...
@@ -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
-fexceptions
LOCAL_CPP_EXTENSION
:=
.c
#
LOCAL_CPP_EXTENSION := .c
include
$(BUILD_STATIC_LIBRARY)
include
$(BUILD_STATIC_LIBRARY)
Classes/ocgcore/interpreter.h
View file @
c8a28cf1
...
@@ -8,9 +8,7 @@
...
@@ -8,9 +8,7 @@
#ifndef INTERPRETER_H_
#ifndef INTERPRETER_H_
#define INTERPRETER_H_
#define INTERPRETER_H_
#include "lua.h"
#include "lua.hpp"
#include "lauxlib.h"
#include "lualib.h"
#include "common.h"
#include "common.h"
#include <unordered_map>
#include <unordered_map>
#include <list>
#include <list>
...
...
libygo/build.gradle
0 → 100644
View file @
c8a28cf1
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
rootProject
.
ext
.
compileSdkVersion
defaultConfig
{
minSdkVersion
16
targetSdkVersion
22
ndk
{
moduleName
"YGOMobile"
abiFilters
"armeabi-v7a"
//,"x86"
}
}
externalNativeBuild
{
ndkBuild
{
path
"../libcore/jni/Android.mk"
}
}
}
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
}
libygo/src/main/AndroidManifest.xml
0 → 100644
View file @
c8a28cf1
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
package=
"cn.garymb.ygomobile.so"
>
<application
/>
</manifest>
settings.gradle
View file @
c8a28cf1
include
':libcore'
,
':mobile'
include
':libcore'
,
':mobile'
,
':libygo'
//include ':app'
//include ':app'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment