1 Star 0 Fork 0

章勇/Xposed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Android.mk 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
zy 提交于 2019-09-11 09:31 . custom
##########################################################
# 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_2019
LOCAL_MODULE_STEM_64 := app_process64_2019
else
LOCAL_SRC_FILES := app_main.cpp
LOCAL_MODULE_STEM := app_process_2019
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++
1
https://gitee.com/zyygl/Xposed.git
git@gitee.com:zyygl/Xposed.git
zyygl
Xposed
Xposed
master

搜索帮助