import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tizen.nativecommon.build.CommonBuildTargetManager;
+import org.tizen.nativecommon.build.exception.SBIException;
import org.tizen.sbilib.ide.PluginManager;
import org.tizen.sbilib.ide.Rootstrap;
.getLogger(PlatformBuildTargetManager.class);
/* (non-Javadoc)
- * @see org.tizen.nativecommon.build.CommonBuildTargetManager#getDefaultToolchainId(java.lang.String, java.lang.String)
+ * @see org.tizen.nativecommon.build.CommonBuildTargetManager#getDefaultToolchainId(java.lang.String, java.lang.String[])
*/
@Override
- public String getDefaultToolchainId(String rootstrapId, String projectType) {
+ public String getDefaultToolchainId(String rootstrapId) {
- String toolchainID = PlatformConfigurationManager.getToolChainId(rootstrapId, projectType);
+ String toolchainID = PlatformConfigurationManager.getToolChainId(rootstrapId);
if (toolchainID != null) {
return toolchainID;
} else {
- logger.warn("Cannot find toolchain from projectType : " + projectType);
+ logger.warn("Cannot find toolchain from rootstrapId : " + rootstrapId);
return null;
}
}
* @return If null, caller notify warn message.
* @throws SBIException
*/
- public static String getToolChainId(String rootstrapId, String projectType) {
+ public static String getToolChainId(String rootstrapId) {
try {
- List<String> availableToolchain = getToolchainList(rootstrapId, projectType);
+ List<String> availableToolchain = getToolchainList(rootstrapId);
// In case of tizen.platform type there is only one toolchain per rootstrap
if (availableToolchain != null && availableToolchain.size() > 0) {
return availableToolchain.get(0);