1 #include <msp/builder/builder.h>
2 #include <msp/builder/sourcepackage.h>
3 #include <msp/core/algorithm.h>
4 #include "androidapplicationcomponent.h"
5 #include "androidmanifestfile.h"
10 AndroidManifestFile::AndroidManifestFile(Builder &b, const AndroidApplicationComponent &a):
11 FileTarget(b, a.get_package(), a.get_package().get_temp_directory()/a.get_name()/"AndroidManifest.xml")
14 tool = &builder.get_toolchain().get_tool("AMG");
16 add_dependency(package->get_build_file());
19 void AndroidManifestFile::set_native_library(SharedLibrary *lib)
24 void AndroidManifestFile::set_orientation(const string &ori)
29 void AndroidManifestFile::add_permission(const string &perm)
31 if(!any_equals(permissions, perm))
32 permissions.push_back(perm);