[DEV] compilation for andoid
This commit is contained in:
parent
bc74b19b5c
commit
5ff4e46576
56
config/Android.config
Normal file
56
config/Android.config
Normal file
@ -0,0 +1,56 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
#
|
||||
|
||||
#
|
||||
# Modules
|
||||
#
|
||||
# BUILD_AGG is not set
|
||||
# BUILD_BULLET is not set
|
||||
# BUILD_ETK is not set
|
||||
# BUILD_FREETYPE is not set
|
||||
# BUILD_LUA is not set
|
||||
# BUILD_OGG is not set
|
||||
# BUILD_PARSERSVG is not set
|
||||
# BUILD_LIBPNG is not set
|
||||
# BUILD_TINYXML is not set
|
||||
# BUILD_ZLIB is not set
|
||||
# BUILD_LIBZIP is not set
|
||||
# BUILD_EWOL is not set
|
||||
BUILD_HUMAN=y
|
||||
|
||||
#
|
||||
# ewol
|
||||
#
|
||||
|
||||
#
|
||||
# General
|
||||
#
|
||||
__EWOL_APPL_BASIC_TITLE__="Ewol Basic Title"
|
||||
__EWOL_INTEGRATED_FONT__=y
|
||||
|
||||
#
|
||||
# Android
|
||||
#
|
||||
__EWOL_ANDROID_MINIMUM_SDK_VERSION__=9
|
||||
# __EWOL_ANDROID_SHOW_TITLE__ is not set
|
||||
__EWOL_ANDROID_ORIENTATION_AUTO__=y
|
||||
# __EWOL_ANDROID_ORIENTATION_LANDSCAPE__ is not set
|
||||
# __EWOL_ANDROID_ORIENTATION_PORTRAIT__ is not set
|
||||
|
||||
#
|
||||
# Permissions
|
||||
#
|
||||
# __ANDROID_PERMISSION__WRITE_EXTERNAL_STORAGE__ is not set
|
||||
# __ANDROID_PERMISSION__CAMERA__ is not set
|
||||
# __ANDROID_PERMISSION__INTERNET__ is not set
|
||||
# __ANDROID_PERMISSION__MODIFY_AUDIO_SETTINGS__ is not set
|
||||
# __ANDROID_PERMISSION__READ_CALENDAR__ is not set
|
||||
# __ANDROID_PERMISSION__READ_CONTACTS__ is not set
|
||||
# __ANDROID_PERMISSION__READ_FRAME_BUFFER__ is not set
|
||||
# __ANDROID_PERMISSION__READ_PROFILE__ is not set
|
||||
# __ANDROID_PERMISSION__RECORD_AUDIO__ is not set
|
||||
# __ANDROID_PERMISSION__SET_ORIENTATION__ is not set
|
||||
# __ANDROID_PERMISSION__VIBRATE__ is not set
|
||||
# __ANDROID_PERMISSION__ACCESS_COARSE_LOCATION__ is not set
|
||||
# __ANDROID_PERMISSION__ACCESS_FINE_LOCATION__ is not set
|
@ -8,6 +8,7 @@
|
||||
#
|
||||
BUILD_HUMAN=y
|
||||
# BUILD_AGG is not set
|
||||
# BUILD_BULLET is not set
|
||||
# BUILD_ETK is not set
|
||||
# BUILD_EWOL is not set
|
||||
# BUILD_FREETYPE is not set
|
||||
@ -20,10 +21,6 @@ BUILD_HUMAN=y
|
||||
# BUILD_ZLIB is not set
|
||||
# BUILD_LIBZIP is not set
|
||||
|
||||
#
|
||||
# edn
|
||||
#
|
||||
|
||||
#
|
||||
# General
|
||||
#
|
||||
|
38
config/Windows.config
Normal file
38
config/Windows.config
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
#
|
||||
|
||||
#
|
||||
# Modules
|
||||
#
|
||||
BUILD_HUMAN=y
|
||||
# BUILD_AGG is not set
|
||||
# BUILD_BULLET is not set
|
||||
# BUILD_ETK is not set
|
||||
# BUILD_EWOL is not set
|
||||
# BUILD_FREETYPE is not set
|
||||
BUILD_GLEW=y
|
||||
# BUILD_LUA is not set
|
||||
# BUILD_OGG is not set
|
||||
# BUILD_PARSERSVG is not set
|
||||
# BUILD_LIBPNG is not set
|
||||
# BUILD_PORTAUDIO is not set
|
||||
# BUILD_TINYXML is not set
|
||||
# BUILD_ZLIB is not set
|
||||
# BUILD_LIBZIP is not set
|
||||
|
||||
#
|
||||
# General
|
||||
#
|
||||
APPL_BUFFER_FONT_NORMAL=y
|
||||
# APPL_BUFFER_FONT_DISTANCE_FIELD is not set
|
||||
|
||||
#
|
||||
# ewol
|
||||
#
|
||||
|
||||
#
|
||||
# General
|
||||
#
|
||||
__EWOL_APPL_BASIC_TITLE__="Ewol Basic Title"
|
||||
__EWOL_INTEGRATED_FONT__=y
|
BIN
data/FreeSerif.ttf
Normal file
BIN
data/FreeSerif.ttf
Normal file
Binary file not shown.
BIN
data/FreeSerifBold.ttf
Normal file
BIN
data/FreeSerifBold.ttf
Normal file
Binary file not shown.
BIN
data/FreeSerifBoldItalic.ttf
Normal file
BIN
data/FreeSerifBoldItalic.ttf
Normal file
Binary file not shown.
BIN
data/FreeSerifItalic.ttf
Normal file
BIN
data/FreeSerifItalic.ttf
Normal file
Binary file not shown.
24
sources/Android.mk
Normal file
24
sources/Android.mk
Normal file
@ -0,0 +1,24 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := human
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_LIBRARIES := ewol freetype libpng parsersvg tinyxml lua etk libzip
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
|
||||
LOCAL_LDLIBS := -llog -landroid
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\""
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
@ -5,8 +5,6 @@ include $(CLEAR_VARS)
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
LOCAL_CONFIG_FILES := Config.in
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := human
|
||||
|
23
sources/Windows.mk
Normal file
23
sources/Windows.mk
Normal file
@ -0,0 +1,23 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := human
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_STATIC_LIBRARIES := ewol
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
|
||||
LOCAL_LDLIBS :=
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\""
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
@ -19,3 +19,7 @@ LOCAL_COPY_FOLDERS := ../data/icon.*: \
|
||||
../data/stone*: \
|
||||
../data/sphere.png: \
|
||||
../data/sphere.obj:
|
||||
|
||||
ifneq ($(__EWOL_INTEGRATED_FONT__),$(empty))
|
||||
LOCAL_COPY_FILES := ../data/FreeSerif*:fonts/FreeSerif.ttf
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user