@Override
public void pressPostValueStoreFromDevPkg(Map<String, String> valueStore, TizenTemplate template) {
BuildProperty emulBuildProperty = (BuildProperty) template.getProperty(TizenTemplate.PROPERTY_KEY_EMUL_BUILD_PROPERTY);
- BuildProperty devBuildProperty = (BuildProperty) template.getProperty(TizenTemplate.PROPERTY_KEY_DEV_BUILD_PROPERTY);
pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_EMULINC, emulBuildProperty.getIncludePathList(), "-I");
pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_EMULCF, emulBuildProperty.getcFlagList(), StringUtil.EMPTY_STRING);
pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_EMULLF, emulBuildProperty.getlFlagList(), StringUtil.EMPTY_STRING);
-
- pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_DEVINC, devBuildProperty.getIncludePathList(), "-I");
- pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_DEVCF, devBuildProperty.getcFlagList(), StringUtil.EMPTY_STRING);
- pressValueStoreForFlag(valueStore, TizenTemplateEngine.MACRO_DEVLF, devBuildProperty.getlFlagList(), StringUtil.EMPTY_STRING);
}
private static void pressValueStoreForFlag(Map<String, String> valueStore, String macro, List<String> flagList, String pre) {
template.setProperty(TizenTemplate.PROPERTY_KEY_PROJECTTYPE, projectId);
template.setProperty(TizenTemplate.PROPERTY_KEY_EMUL_TARGET, target);
- template.setProperty(TizenTemplate.PROPERTY_KEY_DEV_TARGET, target);
CLIProjectGenerator generator = new CLIProjectGenerator();
generator.setTemplate(template);
BuildProperty buildProperty = BuildPluginManagerForCLI.getBuildPropertyFromDevPkgs(devPkgList, template, target, new CLIProjectGenerator());
template.setProperty(TizenTemplate.PROPERTY_KEY_EMUL_BUILD_PROPERTY, buildProperty);
- template.setProperty(TizenTemplate.PROPERTY_KEY_DEV_BUILD_PROPERTY, buildProperty);
generator.doRemainingJob(devPkgList, template, target);