[android] Simplify structure for native files

This commit is contained in:
John Firebaugh
2015-12-16 15:24:37 -08:00
parent 989690c4af
commit 2b782308e5
11 changed files with 14 additions and 15 deletions

View File

@@ -0,0 +1,15 @@
#include <mbgl/platform/platform.hpp>
#include "jni.hpp"
#include <libgen.h>
namespace mbgl {
namespace platform {
// Returns the path to the root folder of the application.
const std::string &assetRoot() {
return mbgl::android::apkPath;
}
}
}