[Title] Remove device build configuration
authorho.namkoong <ho.namkoong@samsung.com>
Thu, 25 Apr 2013 08:58:18 +0000 (17:58 +0900)
committerho.namkoong <ho.namkoong@samsung.com>
Thu, 25 Apr 2013 08:58:18 +0000 (17:58 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#] 9184
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I825dbf97dffbf1504332111d725083e39c12ba4b

org.tizen.cli/src/org/tizen/cli/exec/gen/CLIProjectGenerator.java
org.tizen.cli/src/org/tizen/cli/exec/gen/NativeMain.java

index 7760d0a..224bf92 100644 (file)
@@ -184,15 +184,10 @@ public class CLIProjectGenerator extends AbstractProjectGenerator {
     @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) {
index 29f4ba7..40a1ae5 100644 (file)
@@ -235,14 +235,12 @@ public class NativeMain extends AbstractLauncher {
         
         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);