From 910cd7774c40dfb9870d9a4648b1f2a11471ddbe Mon Sep 17 00:00:00 2001 From: liuruilong Date: Tue, 16 Oct 2018 15:51:29 +0800 Subject: [PATCH] move jni and ios_io to io --- CMakeLists.txt | 10 +++++----- src/{ => io}/ios_io/PaddleMobileCPU.h | 0 src/{ => io}/ios_io/PaddleMobileCPU.mm | 0 src/{ => io}/ios_io/op_symbols.h | 0 src/{ => io}/jni/PML.java | 0 src/{ => io}/jni/paddle_mobile_jni.cpp | 0 src/{ => io}/jni/paddle_mobile_jni.h | 0 7 files changed, 5 insertions(+), 5 deletions(-) rename src/{ => io}/ios_io/PaddleMobileCPU.h (100%) rename src/{ => io}/ios_io/PaddleMobileCPU.mm (100%) rename src/{ => io}/ios_io/op_symbols.h (100%) rename src/{ => io}/jni/PML.java (100%) rename src/{ => io}/jni/paddle_mobile_jni.cpp (100%) rename src/{ => io}/jni/paddle_mobile_jni.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index a80c50067e..54f724df79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,16 +145,16 @@ endif() if (ANDROID_NDK_TOOLCHAIN_INCLUDED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -llog") else() - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/jni/paddle_mobile_jni.h) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/jni/paddle_mobile_jni.cpp) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/jni/paddle_mobile_jni.h) + list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/io/jni/paddle_mobile_jni.cpp) list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/operators/math/math_func_neon.h) endif () if (IS_IOS) else() - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/PaddleMobileCPU.h) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/PaddleMobileCPU.mm) - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/op_symbols.h) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/PaddleMobileCPU.h) + list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/PaddleMobileCPU.mm) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/op_symbols.h) endif () set(CMAKE_VERBOSE_MAKEFILE ON) diff --git a/src/ios_io/PaddleMobileCPU.h b/src/io/ios_io/PaddleMobileCPU.h similarity index 100% rename from src/ios_io/PaddleMobileCPU.h rename to src/io/ios_io/PaddleMobileCPU.h diff --git a/src/ios_io/PaddleMobileCPU.mm b/src/io/ios_io/PaddleMobileCPU.mm similarity index 100% rename from src/ios_io/PaddleMobileCPU.mm rename to src/io/ios_io/PaddleMobileCPU.mm diff --git a/src/ios_io/op_symbols.h b/src/io/ios_io/op_symbols.h similarity index 100% rename from src/ios_io/op_symbols.h rename to src/io/ios_io/op_symbols.h diff --git a/src/jni/PML.java b/src/io/jni/PML.java similarity index 100% rename from src/jni/PML.java rename to src/io/jni/PML.java diff --git a/src/jni/paddle_mobile_jni.cpp b/src/io/jni/paddle_mobile_jni.cpp similarity index 100% rename from src/jni/paddle_mobile_jni.cpp rename to src/io/jni/paddle_mobile_jni.cpp diff --git a/src/jni/paddle_mobile_jni.h b/src/io/jni/paddle_mobile_jni.h similarity index 100% rename from src/jni/paddle_mobile_jni.h rename to src/io/jni/paddle_mobile_jni.h -- GitLab