[Common] move common c files to gst/nnstreamer
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Sat, 13 Oct 2018 07:04:22 +0000 (16:04 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 15 Oct 2018 04:23:41 +0000 (13:23 +0900)
Use /common/ for common utilities, not source files
Use /gst/nnstreamer/ for common source files.

This will make it easier to be upstreamed to GST communities later.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
CMakeLists.txt
gst/nnstreamer/tensor_common.c [moved from common/tensor_common.c with 100% similarity]
gst/nnstreamer/tensor_meta.c [moved from common/tensor_meta.c with 100% similarity]

index 3fec085..85d10c5 100644 (file)
@@ -84,7 +84,7 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -fPIC -g -std=
 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -Werror -fPIC -g -std=c++11")
 
 # Provide common data
-ADD_LIBRARY(common STATIC common/tensor_common.c common/tensor_meta.c)
+ADD_LIBRARY(common STATIC gst/nnstreamer/tensor_common.c gst/nnstreamer/tensor_meta.c)
 TARGET_LINK_LIBRARIES(common ${pkgs_LIBRARIES})
 TARGET_INCLUDE_DIRECTORIES(common PUBLIC ${pkgs_INCLUDE_DIRS})
 SET(pkgs_LIBRARIES ${pkgs_LIBRARIES} common)