-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAndroid.mk
54 lines (48 loc) · 1.51 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := godot-prebuilt
ifeq ($(TARGET_ARCH_ABI),x86)
LOCAL_SRC_FILES := ../godot-cpp/bin/libgodot-cpp.android.release.x86.a
endif
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_SRC_FILES := ../godot-cpp/bin/libgodot-cpp.android.release.armv7.a
endif
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
LOCAL_SRC_FILES := ../godot-cpp/bin/libgodot-cpp.android.release.arm64v8.a
endif
include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libGodotIsoMapEditor.android.release.$(TARGET_ARCH_ABI)
LOCAL_CPPFLAGS := -std=c++14
LOCAL_CPP_FEATURES := rtti exceptions
LOCAL_LDLIBS := -llog
LOCAL_SRC_FILES := \
src/gdlibrary.cpp \
src/IsometricServer.cpp \
src/IsometricWorld.cpp \
src/_IsometricServer.cpp \
src/positionable/IsometricPositionable.cpp \
src/positionable/IsometricMap.cpp \
src/positionable/IsometricTile.cpp \
src/positionable/IsometricPlaceholder.cpp \
src/positionable/StaticIsometricElement.cpp \
src/positionable/DynamicIsometricElement.cpp \
src/positionable/PlaceholderType.cpp \
src/positionable/physics/DefaultStaticBody.cpp \
src/positionable/physics/DefaultKinematicBody.cpp \
src/containers/Grid3D.cpp \
src/editor/OutlineDrawer.cpp \
LOCAL_C_INCLUDES := \
../godot-cpp/godot_headers \
../godot-cpp/include/ \
../godot-cpp/include/core \
../godot-cpp/include/gen \
src \
src/containers \
src/helpers \
src/positionable \
src/positionable/physics \
src/editor \
LOCAL_STATIC_LIBRARIES := godot-prebuilt
include $(BUILD_SHARED_LIBRARY)