7 Star 24 Fork 10

Gitee 极速下载/xposed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/rovo89/Xposed
克隆/下载
Android.mk 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
rovo89 提交于 2016-10-24 21:19 . Adjust for Nougat
##########################################################
# Customized app_process executable
##########################################################
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 21)))
LOCAL_SRC_FILES := app_main2.cpp
LOCAL_MULTILIB := both
LOCAL_MODULE_STEM_32 := app_process32_xposed
LOCAL_MODULE_STEM_64 := app_process64_xposed
else
LOCAL_SRC_FILES := app_main.cpp
LOCAL_MODULE_STEM := app_process_xposed
endif
LOCAL_SRC_FILES += \
xposed.cpp \
xposed_logcat.cpp \
xposed_service.cpp \
xposed_safemode.cpp
LOCAL_SHARED_LIBRARIES := \
libcutils \
libutils \
liblog \
libbinder \
libandroid_runtime \
libdl
LOCAL_CFLAGS += -Wall -Werror -Wextra -Wunused
LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 17)))
LOCAL_SHARED_LIBRARIES += libselinux
LOCAL_CFLAGS += -DXPOSED_WITH_SELINUX=1
endif
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 22)))
LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain
LOCAL_LDFLAGS := -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
endif
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 23)))
LOCAL_SHARED_LIBRARIES += libwilhelm
endif
LOCAL_MODULE := xposed
LOCAL_MODULE_TAGS := optional
LOCAL_STRIP_MODULE := keep_symbols
# Always build both architectures (if applicable)
ifeq ($(TARGET_IS_64_BIT),true)
$(LOCAL_MODULE): $(LOCAL_MODULE)$(TARGET_2ND_ARCH_MODULE_SUFFIX)
endif
include $(BUILD_EXECUTABLE)
##########################################################
# Library for Dalvik-/ART-specific functions
##########################################################
ifeq (1,$(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 21)))
include frameworks/base/cmds/xposed/ART.mk
else
include frameworks/base/cmds/xposed/Dalvik.mk
endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/xposed.git
git@gitee.com:mirrors/xposed.git
mirrors
xposed
xposed
master

搜索帮助