Chromium Code Reviews| Index: visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/XamlParser.cs |
| diff --git a/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/XamlParser.cs b/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/XamlParser.cs |
| index 776fa8b1694bb8b009ad4132d63a83aa61c8e113..85cda9d85407f40c9d69739a2bec4359dee59de3 100644 |
| --- a/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/XamlParser.cs |
| +++ b/visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/XamlParser.cs |
| @@ -39,7 +39,7 @@ namespace NaCl.Build.CPPTasks |
| { |
| { typeof(StringListProperty), GenerateArgumentStringList }, |
| { typeof(StringProperty), GenerateArgumentString }, |
| - { typeof(IntProperty), GenerateArgumentString }, |
| + { typeof(IntProperty), GenerateArgumentInt }, |
| { typeof(BoolProperty), GenerateArgumentBool }, |
| { typeof(EnumProperty), GenerateArgumentEnum } |
| }; |
| @@ -126,6 +126,14 @@ namespace NaCl.Build.CPPTasks |
| AppendStringValue(builder, property, casted.Subtype, value); |
| } |
| + private void GenerateArgumentInt(CommandLineBuilder builder, BaseProperty property, string value) |
| + { |
| + // Currently we only have one Int property and it doesn't correspond to a |
| + // command line arm (ProcessorNumber) |
| + //IntProperty casted = (IntProperty)property; |
| + //AppendStringValue(builder, property, String.Empty, value); |
|
binji
2012/10/03 22:52:13
remove unused code
Sam Clegg
2012/10/04 22:57:57
Done.
|
| + } |
| + |
| private void GenerateArgumentBool(CommandLineBuilder builder, BaseProperty property, string value) |
| { |
| if (value == "true") |