-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAndroid.mk
executable file
·63 lines (45 loc) · 1.51 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# file: vendor/intel/PREBUILT/SG/Android.mk
#
# This makefile is to generate the final version of the source
# ISA libraries. It only does so if the prebuilt ARM libraries
# were already copied to the libs_prebuilt folder. Otherwise it
# does nothing.
#
LOCAL_PATH := $(call my-dir)
HOUDINI_BASE_PATH := $(LOCAL_PATH)
ifeq ($(INTEL_HOUDINI),true)
include $(CLEAR_VARS)
product_path := $(TARGET_OUT_SHARED_LIBRARIES)
# Houdini prebuilt binaries
include $(CLEAR_VARS)
LOCAL_MODULE := libhoudini
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
include $(BUILD_SYSTEM)/dynamic_binary.mk
$(linked_module):
$(HOUDINI_BASE_PATH)/copy_libhoudini.sh $(HOUDINI_BASE_PATH) $(PRODUCT_OUT)
# Houdini hook libraries for different module
include $(CLEAR_VARS)
LOCAL_MODULE := libhoudini_hook
LOCAL_SRC_FILES := hooks/libhoudini_hook.cpp
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := houdini_hook
LOCAL_SRC_FILES := hooks/houdini_hook.c
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := check.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/arm
LOCAL_SRC_FILES := system/lib/arm/$(LOCAL_MODULE)
include $(BUILD_PREBUILT)
endif