-
Notifications
You must be signed in to change notification settings - Fork 31
/
Android.mk
37 lines (31 loc) · 821 Bytes
/
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
# File: Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ocgcore
LOCAL_MODULE_FILENAME := libocgcore
LOCAL_SRC_FILES := card.cpp \
duel.cpp \
effect.cpp \
field.cpp \
group.cpp \
interpreter.cpp \
libcard.cpp \
libdebug.cpp \
libduel.cpp \
libeffect.cpp \
libgroup.cpp \
ocgapi.cpp \
operations.cpp \
playerop.cpp \
processor.cpp \
processor_visit.cpp \
scriptlib.cpp
LOCAL_CFLAGS := -pedantic -Wextra -fvisibility=hidden -DOCGCORE_EXPORT_FUNCTIONS -DNDEBUG
LOCAL_CPPFLAGS := -fexceptions -fno-rtti
ifeq ($(TARGET_ARCH_ABI), arm64-v8a)
LOCAL_LDFLAGS += "-Wl,-z,max-page-size=16384"
endif
LOCAL_STATIC_LIBRARIES += liblua
include $(BUILD_SHARED_LIBRARY)
$(call import-add-path,$(LOCAL_PATH))
$(call import-module,lua)