forked from rovo89/Xposed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
41 lines (33 loc) · 986 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
37
38
39
40
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
app_main.cpp \
xposed.cpp
LOCAL_SHARED_LIBRARIES := \
libcutils \
libutils \
libbinder \
libandroid_runtime \
libdvm \
libstlport
ifneq ($(PLATFORM_SDK_VERSION),15)
LOCAL_SHARED_LIBRARIES += libandroidfw
endif
LOCAL_C_INCLUDES += dalvik \
dalvik/vm \
external/stlport/stlport \
bionic \
bionic/libstdc++/include
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -DWITH_JIT -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
LOCAL_MODULE := xposed
LOCAL_MODULE_STEM := xposed_sdk$(PLATFORM_SDK_VERSION)
include $(BUILD_EXECUTABLE)
### binary compatibility test executable
include $(CLEAR_VARS)
LOCAL_SRC_FILES := xposedtest.cpp
LOCAL_MODULE := xposedtest
LOCAL_MODULE_STEM := xposedtest_sdk$(PLATFORM_SDK_VERSION)
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -O0 # no optimizations like inline etc.
include $(BUILD_EXECUTABLE)