Initial support of tinyobjloader on Android NDK platform(NDK r10 confirmed to be able to compile).

This commit is contained in:
Syoyo Fujita
2015-08-04 14:27:40 +09:00
parent aa07206fc1
commit 870ead273e
5 changed files with 18 additions and 0 deletions

12
jni/Android.mk Normal file
View File

@@ -0,0 +1,12 @@
# A simple test for the minimal standard C++ library
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := tinyobjloader
LOCAL_SRC_FILES := ../tiny_obj_loader.cc ../test.cc
LOCAL_C_INCLUDES := ../
include $(BUILD_EXECUTABLE)

2
jni/Application.mk Normal file
View File

@@ -0,0 +1,2 @@
APP_ABI := all
APP_STL := stlport_static

2
jni/Makefile Normal file
View File

@@ -0,0 +1,2 @@
all:
ndk-build

1
jni/README Normal file
View File

@@ -0,0 +1 @@
Just tests compilation with Android NDK r10.

View File

@@ -29,6 +29,7 @@
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cctype>
#include <string>
#include <vector>