]> git.tdb.fi Git - builder.git/blobdiff - source/apkbuilder.h
A bunch of new tools and targets to build Android packages
[builder.git] / source / apkbuilder.h
diff --git a/source/apkbuilder.h b/source/apkbuilder.h
new file mode 100644 (file)
index 0000000..7b73aa7
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef APKBUILDER_H_
+#define APKBUILDER_H_
+
+#include "tool.h"
+
+class ApkBuilder: public Tool
+{
+private:
+       Tool *jarsigner;
+
+public:
+       ApkBuilder(Builder &);
+
+       virtual Target *create_target(const std::list<Target *> &, const std::string &);
+protected:
+       virtual void do_prepare();
+public:
+       virtual Task *run(const Target &) const;
+};
+
+#endif