Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / resource / csdk / stack / test / android / README
1 //---------------------------------------------------------------------
2 //  NOTICE - Transition to SCONS
3 //---------------------------------------------------------------------
4
5 The IoTivity build system is transitioning to SCONS. Although the
6 makefiles are still available (until v1.0) and some developers are
7 still using them, they are currently no longer supported. To learn more
8 about building using SCONS see Readme.scons.txt in the repository root
9 directory. The build steps used in continuous integration can be found
10 in auto_build.sh which is also in the the repository root directory.
11
12 //---------------------------------------------------------------------
13
14 stacktests.cpp contain several stack tests that can be used in an Android JNI app.
15
16 Note:  to enable the logger for Android, TB_LOG should be defined in the ./jni/Android.mk file as
17 LOCAL_CFLAGS    := -DTB_LOG
18
19 Note: add the following to the ./jni/Android.mk file
20 LOCAL_SRC_FILES += logger.c
21 LOCAL_SRC_FILES += loggertests.cpp
22 LOCAL_SRC_FILES += ocstack.c
23 LOCAL_SRC_FILES += stacktests.cpp
24
25
26