diff options
author | hjk <[email protected]> | 2018-05-16 09:34:54 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2018-05-23 12:15:28 +0000 |
commit | 82fd4fa7176072d2b65b47bef371b83c655f928b (patch) | |
tree | acfbb135941b1fe5940bda48f3a7698e640c01a4 /src/plugins/android/androidplugin.cpp | |
parent | 59f864a758678449a6a1492d9967d1508fc79ecd (diff) |
QmakeAndroid: Move RunConfigurationFactory to Android base
The RunConfiguration does not depend on qmake anymore.
This makes the factory trigger in theory for non-qmake, too, but since
we still not support other build systems for android, it has no
practical consequences yet.
Change-Id: I95e4e5a81f5b405a52fa42723b25a0a1473e78c6
Reviewed-by: Vikas Pachdha <[email protected]>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index 6f44abbbbd3..3e5ace89e82 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -62,6 +62,17 @@ using namespace ProjectExplorer::Constants; namespace Android { namespace Internal { +class AndroidRunConfigurationFactory : public RunConfigurationFactory +{ +public: + AndroidRunConfigurationFactory() + { + registerRunConfiguration<Android::AndroidRunConfiguration> + ("Qt4ProjectManager.AndroidRunConfiguration:"); + addSupportedTargetDeviceType(Android::Constants::ANDROID_DEVICE_TYPE); + } +}; + class AndroidPluginPrivate { public: @@ -76,6 +87,7 @@ public: JavaEditorFactory javaEditorFactory; AndroidPackageInstallationFactory packackeInstallationFactory; AndroidManifestEditorFactory manifestEditorFactory; + AndroidRunConfigurationFactory runConfigFactory; }; AndroidPlugin::~AndroidPlugin() |