Introduce libs/nnapi
Replace NeuralNetworksShims.h, NeuralNetworksExShims.h NeuralNetworksLoadHelpers.h to libs/nnapi
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
--- /dev/null
+add_subdirectories()
+
+add_library(nnfw_lib_nnapi ALIAS nnfw_lib_nnapi_1_1)
--- /dev/null
+add_library(nnfw_lib_nnapi_1_1 INTERFACE)
+
+target_include_directories(nnfw_lib_nnapi_1_1 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
+target_link_libraries(nnfw_lib_nnapi_1_1 INTERFACE nnfw-header)
add_library(nnfw_lib_rua_core INTERFACE)
target_include_directories(nnfw_lib_rua_core INTERFACE include)
-target_link_libraries(nnfw_lib_rua_core INTERFACE nnfw-header)
+target_link_libraries(nnfw_lib_rua_core INTERFACE nnfw_lib_nnapi)
elseif (BUILD_PURE_ARM_COMPUTE)
set(SKIPLIST_FILE_NAME ${RUNTIME_NNAPI_TEST}.skip.${TARGET_PLATFORM}.pacl)
endif()
-target_link_libraries(${RUNTIME_NNAPI_TEST} nnfw-header)
+target_link_libraries(${RUNTIME_NNAPI_TEST} nnfw_lib_nnapi)
target_link_libraries(${RUNTIME_NNAPI_TEST} gtest)
target_link_libraries(${RUNTIME_NNAPI_TEST} ${LIB_PTHREAD} dl)