-
Notifications
You must be signed in to change notification settings - Fork 12
/
Android.mk
51 lines (38 loc) · 1008 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
49
50
51
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_SRC_FILES += \
# aidl/org/chemlab/IVNCService.aidl
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/src \
external/tigervnc/common \
LOCAL_SHARED_LIBRARIES := \
libbinder \
libcrypto \
libcutils \
libgui \
libjpeg \
libssl \
libui \
libutils \
libz
LOCAL_STATIC_LIBRARIES += \
libtigervnc
LOCAL_CFLAGS := -DVNCFLINGER_VERSION="1.0"
LOCAL_CFLAGS += -Ofast -Werror -std=c++11 -fexceptions
#LOCAL_CFLAGS += -DLOG_NDEBUG=0
#LOCAL_CXX := /usr/bin/include-what-you-use
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)