gltfio: remove locale.cpp dependency

For Android and wasm we do not use the filesystem and therefore do not
need `utils::Path`.

```
libgltfio-jni.so BEFORE 1.9 MB (693 KB gzipped)
libgltfio-jni.so AFTER  1.4 MB (542 KB gzipped)
```
This commit is contained in:
Philip Rideout
2020-02-11 14:56:44 -08:00
parent d2287f584a
commit 02b377c244
6 changed files with 17 additions and 22 deletions

View File

@@ -37,7 +37,7 @@ extern "C" JNIEXPORT jlong JNICALL
Java_com_google_android_filament_gltfio_ResourceLoader_nCreateResourceLoader(JNIEnv*, jclass,
jlong nativeEngine) {
Engine* engine = (Engine*) nativeEngine;
return (jlong) new ResourceLoader({ engine, utils::Path(), true, true });
return (jlong) new ResourceLoader({ engine, {}, true, true });
}
extern "C" JNIEXPORT void JNICALL