AndroidPlugin::AndroidPlugin(Builder &b):
Plugin(b)
{
+ required_plugins.push_back("gnutools");
builder.get_component_registry().register_type<AndroidApplicationComponent>("android_application");
}
#include "clangplugin.h"
#include "clangtools.h"
+ClangPlugin::ClangPlugin(Builder &b):
+ Plugin(b)
+{
+ required_plugins.push_back("gnutools");
+}
+
void ClangPlugin::add_tools(Toolchain &toolchain, const Architecture &arch) const
{
toolchain.add_toolchain(new ClangTools(builder, arch));
class ClangPlugin: public Plugin
{
public:
- ClangPlugin(Builder &b): Plugin(b) { }
+ ClangPlugin(Builder &);
void add_tools(Toolchain &, const Architecture &) const override;
};