* Add contrib sort functions to android rpc app.
* replaced tab with spaces oops.
APP_CPPFLAGS += -DTVM_VULKAN_RUNTIME=1
APP_LDFLAGS += -lvulkan
endif
+
+ifeq ($(USE_SORT), 1)
+ APP_CPPFLAGS += -DUSE_SORT=1
+endif
# whether to enable Vulkan during compile
USE_VULKAN = 0
+# whether to enable contrib sort functions during compile
+USE_SORT = 1
+
ifeq ($(USE_VULKAN), 1)
# Statically linking vulkan requires API Level 24 or higher
APP_PLATFORM = android-24
#include "../src/runtime/vulkan/vulkan_module.cc"
#endif
+#ifdef USE_SORT
+#include "../src/contrib/sort/sort.cc"
+#endif
+
#include <android/log.h>