AndroidArchiver::AndroidArchiver(Builder &b, const Architecture &a, const AndroidNdk &ndk):
CustomizedTool(b, "AR", a)
{
+ set_command("ar", true);
if(ndk.get_root_dir().empty())
problems.push_back("Android NDK not found");
else if(ndk.get_bin_dir().empty())
CustomizedTool(b, t, a),
ndk(n)
{
+ set_command((tag=="CXX" ? "g++" : "gcc"), true);
if(ndk.get_root_dir().empty())
problems.push_back("Android NDK not found");
else if(ndk.get_bin_dir().empty())
CustomizedTool(b, "LINK", a)
{
build_info.sysroot = ndk.get_platform_sysroot();
+
+ set_command("gcc", true);
+ set_command((ndk.get_bin_dir()/command).str());
}
Target *AndroidLinker::create_target(const vector<Target *> &sources, const string &)