As the DTLS flag was not defined for in sample application
Android.mk, secure message sending fails, as credentials
cannot be set.This patch fixes the issue
Change-Id: I3f44cb1b299c967855112f9f1c3981b8499815e2
Signed-off-by: jnashok <jn.ashok@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1177
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
include $(CLEAR_VARS)
LOCAL_PATH := $(APP_PATH)
-LOCAL_MODULE := CAInterface
-LOCAL_STATIC_LIBRARIES = CA
-include $(BUILD_SHARED_LIBRARY)
-
-include $(CLEAR_VARS)
-LOCAL_PATH := $(APP_PATH)
LOCAL_MODULE := RMInterface
LOCAL_SRC_FILES := ResourceModel.c
+LOCAL_CFLAGS = -D__WITH_DTLS__
+LOCAL_C_INCLUDES = $(PROJECT_ROOT_PATH)/api $(PROJECT_ROOT_PATH)/external/inc
LOCAL_STATIC_LIBRARIES := CA
LOCAL_LDLIBS := -llog
-LOCAL_C_INCLUDES := ../../../api
include $(BUILD_SHARED_LIBRARY)
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++