-
Notifications
You must be signed in to change notification settings - Fork 78
/
Android.mk
96 lines (91 loc) · 3.41 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libprocess-cpp-minimal
LOCAL_SRC_FILES := \
external/process-cpp-minimal/src/core/posix/process.cpp \
external/process-cpp-minimal/src/core/posix/process_group.cpp \
external/process-cpp-minimal/src/core/posix/signal.cpp \
external/process-cpp-minimal/src/core/posix/signalable.cpp \
external/process-cpp-minimal/src/core/posix/standard_stream.cpp \
external/process-cpp-minimal/src/core/posix/wait.cpp \
external/process-cpp-minimal/src/core/posix/fork.cpp \
external/process-cpp-minimal/src/core/posix/exec.cpp \
external/process-cpp-minimal/src/core/posix/child_process.cpp
LOCAL_CFLAGS := \
-DANDROID \
-fexceptions
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/external/process-cpp-minimal/include
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE := openvmid
LOCAL_INIT_RC := android/openvmid.rc
LOCAL_SRC_FILES := \
android/service/main.cpp \
android/service/daemon.cpp \
android/service/host_connector.cpp \
android/service/local_socket_connection.cpp \
android/service/message_processor.cpp \
android/service/activity_manager_interface.cpp \
android/service/android_api_skeleton.cpp \
android/service/platform_service_interface.cpp \
android/service/platform_service.cpp \
android/service/platform_api_stub.cpp \
src/openvmi/common/fd.cpp \
src/openvmi/common/wait_handle.cpp \
src/openvmi/rpc/message_processor.cpp \
src/openvmi/rpc/pending_call_cache.cpp \
src/openvmi/rpc/channel.cpp \
src/openvmi/protobuf/openvmi_rpc.proto \
src/openvmi/protobuf/openvmi_bridge.proto
proto_header_dir := $(call local-generated-sources-dir)/proto/$(LOCAL_PATH)/src/openvmi/protobuf
LOCAL_C_INCLUDES += \
$(proto_header_dir) \
$(LOCAL_PATH)/external/process-cpp-minimal/include \
$(LOCAL_PATH)/src \
$(LOCAL_PATH)/android/service
LOCAL_EXPORT_C_INCLUDE_DIRS += $(proto_header_dir)
LOCAL_STATIC_LIBRARIES := \
libprocess-cpp-minimal
LOCAL_SHARED_LIBRARIES := \
liblog \
libprotobuf-cpp-lite \
libsysutils \
libbinder \
libcutils \
libutils
LOCAL_CFLAGS := \
-fexceptions \
-std=c++1y
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := \
liblog \
lib_renderControl_enc \
libOpenglSystemCommon
LOCAL_SRC_FILES := \
android/hwcomposer/hwcomposer.cpp
LOCAL_MODULE := hwcomposer.openvmi
LOCAL_CFLAGS:= -DLOG_TAG=\"hwcomposer\"
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/android/opengl/host/include/libOpenglRender \
$(LOCAL_PATH)/android/opengl/shared/OpenglCodecCommon \
$(LOCAL_PATH)/android/opengl/system/renderControl_enc \
$(LOCAL_PATH)/android/opengl/system/OpenglSystemCommon
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
# Include the Android.mk files below will override LOCAL_PATH so we
# have to take a copy of it here.
TMP_PATH := $(LOCAL_PATH)
include $(TMP_PATH)/android/fingerprint/Android.mk
include $(TMP_PATH)/android/power/Android.mk
include $(TMP_PATH)/android/qemu-props/Android.mk
include $(TMP_PATH)/android/qemud/Android.mk
include $(TMP_PATH)/android/sensors/Android.mk
include $(TMP_PATH)/android/opengl/Android.mk
include $(TMP_PATH)/android/gps/Android.mk
include $(TMP_PATH)/android/lights/Android.mk
include $(TMP_PATH)/android/camera/Android.mk
include $(TMP_PATH)/android/vibrator/Android.mk