-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAndroid.mk
43 lines (32 loc) · 818 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
41
42
43
LOCAL_PATH := $(call my-dir)
#
# Frida core dependency
#
include $(CLEAR_VARS)
LOCAL_MODULE := frida-core
LOCAL_EXPORT_C_INCLUDES := $(FRIDA_EXT_PATH)/android-$(TARGET_ARCH)
LOCAL_SRC_FILES := $(FRIDA_EXT_PATH)/android-$(TARGET_ARCH)/libfrida-core.a
include $(PREBUILT_STATIC_LIBRARY)
#
# Build the injector
#
include $(CLEAR_VARS)
LOCAL_MODULE := injector-$(TARGET_ARCH)
LOCAL_SRC_FILES := injector.c
LOCAL_C_INCLUDES += $(FRIDA_EXT_PATH)/android-$(TARGET_ARCH)
LOCAL_STATIC_LIBRARIES := frida-core
include $(BUILD_EXECUTABLE)
#
# Build the victim
#
include $(CLEAR_VARS)
LOCAL_MODULE := victim-$(TARGET_ARCH)
LOCAL_SRC_FILES := victim.c
include $(BUILD_EXECUTABLE)
#
# Build the agent
#
include $(CLEAR_VARS)
LOCAL_MODULE := agent-$(TARGET_ARCH)
LOCAL_SRC_FILES := agent.c
include $(BUILD_SHARED_LIBRARY)