--- /dev/null
+#include "androidarchiver.h"
+#include "androidtools.h"
+
+AndroidArchiver::AndroidArchiver(Builder &b, const Architecture &a, const AndroidNdk &ndk):
+ GnuArchiver(b, a)
+{
+ set_command((ndk.get_bin_dir()/command).str());
+}
--- /dev/null
+#ifndef ANDROIDARCHIVER_H_
+#define ANDROIDARCHIVER_H_
+
+#include "gnuarchiver.h"
+
+class AndroidNdk;
+
+class AndroidArchiver: public GnuArchiver
+{
+public:
+ AndroidArchiver(Builder &, const Architecture &, const AndroidNdk &);
+};
+
+#endif
#include <msp/strings/format.h>
#include <msp/strings/lexicalcast.h>
#include <msp/strings/utils.h>
+#include "androidarchiver.h"
#include "androidassetpackagingtool.h"
#include "androidccompiler.h"
#include "androidcxxcompiler.h"
add_tool(new AndroidCCompiler(builder, arch, ndk));
add_tool(new AndroidCxxCompiler(builder, arch, ndk));
add_tool(new AndroidLinker(builder, arch, ndk));
+ add_tool(new AndroidArchiver(builder, arch, ndk));
add_tool(new AndroidManifestGenerator(builder));
add_tool(new AndroidAssetPackagingTool(builder, sdk));
add_tool(new ApkBuilder(builder));