forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid.mk
More file actions
30 lines (20 loc) · 993 Bytes
/
Android.mk
File metadata and controls
30 lines (20 loc) · 993 Bytes
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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
TARGET_PLATFORM=android-8
LOCAL_MODULE := revxml
LOCAL_SRC_FILES := $(addprefix src/,revxml.cpp xmlattribute.cpp xmldoc.cpp xmlelement.cpp)
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/include \
$(LOCAL_PATH)/../libexternal/include \
$(LOCAL_PATH)/../thirdparty/libxml/include \
$(LOCAL_PATH)/../thirdparty/libxslt/include \
$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/include \
$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(TARGET_ARCH_ABI)/include
LOCAL_CPPFLAGS += -frtti -fexceptions
LOCAL_STATIC_LIBRARIES := libexternal libxslt libxml
LOCAL_LDLIBS += -lz \
$(call host-path,$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(TARGET_ARCH_ABI)/libstdc++.a)
# SN-2015-03-25: [[ Bug 14326 ]] Add the symbol to allow the mobile externals to access
# the external interface version setting function
LOCAL_LDFLAGS += -Wl,-u,getXtable -Wl,-u,setExternalInterfaceVersion -Wl,-u,configureSecurity
include $(BUILD_SHARED_LIBRARY)