droidVncServer/nativeMethods/flinger/Android.mk

32 lines
1.0 KiB
Makefile
Raw Normal View History

2012-06-11 15:04:16 -04:00
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES = \
flinger.cpp
#LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
$(LOCAL_PATH)/..
LOCAL_PRELINK_MODULE:=false #override prelink map
LOCAL_MODULE:= libdvnc_flinger_sdk$(PLATFORM_SDK_VERSION)
LOCAL_MODULE_TAGS:= optional
2012-06-13 16:15:43 -04:00
LOCAL_MODULE_PATH := $(LOCAL_PATH)/../libs/$(TARGET_CPU_ABI)
2012-06-11 15:04:16 -04:00
ifeq ($(PLATFORM_SDK_VERSION),9)
LOCAL_SHARED_LIBRARIES := libsurfaceflinger_client libui libbinder libutils libcutils #libcrypto libssl libhardware
else ifeq ($(PLATFORM_SDK_VERSION),10)
LOCAL_SHARED_LIBRARIES := libsurfaceflinger_client libui libbinder libutils libcutils #libcrypto libssl libhardware
2012-06-11 23:11:34 -04:00
else ifeq ($(PLATFORM_SDK_VERSION),14)
LOCAL_SHARED_LIBRARIES := libgui libui libbinder libcutils
2012-06-11 15:04:16 -04:00
else ifeq ($(PLATFORM_SDK_VERSION),15)
LOCAL_SHARED_LIBRARIES := libgui libui libbinder libcutils
else
#add here more sdk versions
LOCAL_SHARED_LIBRARIES := libgui libui libbinder libcutils
endif
include $(BUILD_SHARED_LIBRARY)