forked from hyperb1iss/vncflinger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.mk
48 lines (36 loc) · 930 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
44
45
46
47
48
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
src/AndroidDesktop.cpp \
src/AndroidPixelBuffer.cpp \
src/AndroidSocket.cpp \
src/InputDevice.cpp \
src/VirtualDisplay.cpp \
src/main.cpp
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/src \
external/tigervnc/common \
LOCAL_SHARED_LIBRARIES := \
libbinder \
libcrypto \
libcutils \
libgui \
libjpeg \
liblog \
libssl \
libui \
libutils \
libz
LOCAL_STATIC_LIBRARIES += \
libtigervnc
LOCAL_CFLAGS := -DVNCFLINGER_VERSION="1.0"
LOCAL_CFLAGS += -Ofast -Werror -fexceptions -Wno-implicit-fallthrough
#LOCAL_CFLAGS += -DLOG_NDEBUG=0
LOCAL_INIT_RC := etc/vncflinger.rc
LOCAL_MODULE := vncflinger
LOCAL_MODULE_TAGS := optional
# Mason product builds only
ifneq ($(VNCFLINGER_DESKTOP_NAME),)
LOCAL_CFLAGS += -DDESKTOP_NAME=\"$(VNCFLINGER_DESKTOP_NAME)\"
endif
include $(BUILD_EXECUTABLE)