forked from rovo89/Xposed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dalvik.mk
42 lines (33 loc) · 966 Bytes
/
Dalvik.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
##########################################################
# Library for Dalvik-specific functions
##########################################################
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
libxposed_common.cpp \
libxposed_dalvik.cpp
LOCAL_C_INCLUDES += \
dalvik \
dalvik/vm \
external/stlport/stlport \
bionic \
bionic/libstdc++/include \
libcore/include
LOCAL_SHARED_LIBRARIES := \
libdvm \
liblog \
libdl \
libnativehelper
ifeq ($(PLATFORM_SDK_VERSION),15)
LOCAL_SHARED_LIBRARIES += libutils
else
LOCAL_SHARED_LIBRARIES += libandroidfw
endif
LOCAL_CFLAGS := -Wall -Werror -Wextra -Wunused -Wno-unused-parameter
LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 17)))
LOCAL_CFLAGS += -DXPOSED_WITH_SELINUX=1
endif
LOCAL_MODULE := libxposed_dalvik
LOCAL_MODULE_TAGS := optional
LOCAL_STRIP_MODULE := keep_symbols
include $(BUILD_SHARED_LIBRARY)