Skip to content

Commit ebffd24

Browse files
committed
[REFACTOR][APP] android_rpc: fix stale tvm-ffi and minrpc include paths
Two pre-existing stale includes in apps/android_rpc/app/src/main/jni/tvm_runtime.h: 1. Drop the include of "../src/runtime/minrpc/minrpc_logger.cc". This file has not existed in the tree for some time; the include was silently broken. 2. Drop "../3rdparty/tvm-ffi/src/ffi/extra/testing.cc" entirely. The tvm-ffi testing translation unit is test-only and not needed by the android runtime amalgamation; removing it rather than following the path rename. 3. Update sort.cc and random.cc paths to src/runtime/extra/contrib/ following the src/runtime/extra/ reorganization in this series.
1 parent 467cf05 commit ebffd24

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

apps/android_rpc/app/src/main/jni/tvm_runtime.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "../3rdparty/tvm-ffi/src/ffi/extra/library_module_dynamic_lib.cc"
4141
#include "../3rdparty/tvm-ffi/src/ffi/extra/library_module_system_lib.cc"
4242
#include "../3rdparty/tvm-ffi/src/ffi/extra/module.cc"
43-
#include "../3rdparty/tvm-ffi/src/ffi/extra/testing.cc"
4443
#include "../3rdparty/tvm-ffi/src/ffi/function.cc"
4544
#include "../3rdparty/tvm-ffi/src/ffi/object.cc"
4645
#include "../3rdparty/tvm-ffi/src/ffi/tensor.cc"
@@ -49,7 +48,6 @@
4948
#include "../src/runtime/file_utils.cc"
5049
#include "../src/runtime/logging.cc"
5150
#include "../src/runtime/memory/memory_manager.cc"
52-
#include "../src/runtime/minrpc/minrpc_logger.cc"
5351
#include "../src/runtime/registry.cc"
5452
#include "../src/runtime/rpc/rpc_channel.cc"
5553
#include "../src/runtime/rpc/rpc_endpoint.cc"
@@ -85,11 +83,11 @@
8583
#endif
8684

8785
#ifdef USE_SORT
88-
#include "../src/runtime/contrib/sort/sort.cc"
86+
#include "../src/runtime/extra/contrib/sort/sort.cc"
8987
#endif
9088

9189
#ifdef USE_RANDOM
92-
#include "../src/runtime/contrib/random/random.cc"
90+
#include "../src/runtime/extra/contrib/random/random.cc"
9391
#endif
9492

9593
#include <android/log.h>

0 commit comments

Comments
 (0)