Skip to content

Commit

Permalink
Added native library
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarolus committed Aug 25, 2014
1 parent df4fa71 commit 14830b1
Show file tree
Hide file tree
Showing 20 changed files with 24,859 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Android.gitignore

# emacs
*.*~

# Built application files
*.apk
*.ap_
Expand Down
2 changes: 2 additions & 0 deletions native/Application.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
APP_PROJECT_PATH := $(call my-dir)/project
APP_MODULES := chess-jni
16 changes: 16 additions & 0 deletions native/project/jni/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_DEFAULT_CPP_EXTENSION := cpp

LOCAL_MODULE := chess-jni
LOCAL_SRC_FILES := chess-jni.cpp\
Pos.cpp\
Move.cpp\
ChessBoard.cpp\
Game.cpp

LOCAL_LDLIBS := -llog

include $(BUILD_SHARED_LIBRARY)
Loading

0 comments on commit 14830b1

Please sign in to comment.