summaryrefslogtreecommitdiff
path: root/platform/android/src/asset_root.cpp
blob: 5720f5731c03bd49c788df5d3212fff3fe16b735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}

}
}