1 #include "androidarchiver.h"
2 #include "androidtools.h"
4 AndroidArchiver::AndroidArchiver(Builder &b, const Architecture &a, const AndroidNdk &ndk):
5 CustomizedTool(b, "AR", a)
7 set_command("ar", true);
8 if(ndk.get_root_dir().empty())
9 problems.push_back("Android NDK not found");
10 else if(ndk.get_bin_dir().empty())
11 problems.push_back("Android NDK toolchain not found");
13 set_command((ndk.get_bin_dir()/command).str());