plop
This commit is contained in:
parent
e43c14f261
commit
e5bafc52e8
2
Application.mk
Normal file
2
Application.mk
Normal file
@ -0,0 +1,2 @@
|
||||
APP_BUILD_SCRIPT=$PROJECT/Sources/Android.mk
|
||||
|
6
Makefile
6
Makefile
@ -4,8 +4,14 @@
|
||||
###############################################################################
|
||||
|
||||
PROJECT_PATH=$(shell pwd)
|
||||
ifeq ($(PLATFORM), Linux)
|
||||
#PROJECT_NDK?=$(PROJECT_PATH)/../ewol/
|
||||
PROJECT_NDK?=$(PROJECT_PATH)/../android/ldk/
|
||||
else ifeq ($(PLATFORM), Android)
|
||||
PROJECT_NDK?=$(PROJECT_PATH)/../android/ndk-r7/
|
||||
PROJECT_SDK?=$(PROJECT_PATH)/../android/sdk-r15/
|
||||
endif
|
||||
|
||||
|
||||
PROJECT_MODULE?=$(PROJECT_PATH)/../
|
||||
|
||||
|
@ -16,4 +16,10 @@ include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
NDK_MODULE_PATH := $(LOCAL_PATH)/../../
|
||||
|
||||
$(call import-module,ewol/jni)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
######################################################### ==> Remove the /jni ....
|
||||
$(call import-module,ewol/Sources)
|
||||
|
23
jni/Linux.mk
Normal file
23
jni/Linux.mk
Normal file
@ -0,0 +1,23 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := ewoldrawerpackage
|
||||
LOCAL_STATIC_LIBRARIES := ewol
|
||||
|
||||
LOCAL_SRC_FILES := ewolAndroidAbstraction.cpp \
|
||||
Main.cpp
|
||||
LOCAL_LDLIBS := -llog -landroid
|
||||
|
||||
#LOCAL_STATIC_JAVA_LIBRARIES := ewol
|
||||
#LOCAL_JAVA_RESOURCE_DIRS := $(LOCAL_PATH)/../ewol
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
NDK_MODULE_PATH := $(LOCAL_PATH)/../../
|
||||
|
||||
|
||||
|
||||
|
||||
######################################################### ==> Remove the /jni ....
|
||||
$(call import-module,ewol/Sources)
|
Loading…
Reference in New Issue
Block a user