summaryrefslogtreecommitdiff
path: root/platform/android/asset_root.cpp
blob: 4069211f61cdb1b701ca576090f67ef6a439efb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <mbgl/platform/platform.hpp>
#include <mbgl/android/jni.hpp>

#include <uv.h>
#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;
}

}
}