| OLD | NEW |
| 1 #!/usr/bin/python2.4 | 1 #!/usr/bin/python2.4 |
| 2 # Copyright 2008, Google Inc. | 2 # Copyright 2008, Google Inc. |
| 3 # All rights reserved. | 3 # All rights reserved. |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
| 7 # met: | 7 # met: |
| 8 # | 8 # |
| 9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 | 814 |
| 815 return 0 | 815 return 0 |
| 816 | 816 |
| 817 | 817 |
| 818 def ComponentVSSolution(self, solution_name, target_names, projects=None, | 818 def ComponentVSSolution(self, solution_name, target_names, projects=None, |
| 819 **kwargs): | 819 **kwargs): |
| 820 """Visual Studio solution pseudo-builder. | 820 """Visual Studio solution pseudo-builder. |
| 821 | 821 |
| 822 Args: | 822 Args: |
| 823 self: Environment context. | 823 self: Environment context. |
| 824 solution_name: Name of the target. | 824 solution_name: Name of the solution. |
| 825 target_names: Names of targets or target groups to include in the solution. | 825 target_names: Names of targets or target groups to include in the solution. |
| 826 This will automatically build projects for them. | 826 This will automatically build projects for them. |
| 827 projects: List of aditional projects not generated by this solution to | 827 projects: List of aditional projects not generated by this solution to |
| 828 include in the solution. | 828 include in the solution. |
| 829 kwargs: Optional keyword arguments override environment variables in the | 829 kwargs: Optional keyword arguments override environment variables in the |
| 830 derived environment used to create the solution. | 830 derived environment used to create the solution. |
| 831 | 831 |
| 832 Returns: | 832 Returns: |
| 833 The list of output nodes. | 833 The list of output nodes. |
| 834 """ | 834 """ |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 slnbuilder = SCons.Script.Builder( | 988 slnbuilder = SCons.Script.Builder( |
| 989 action=slnaction, | 989 action=slnaction, |
| 990 suffix='$COMPONENT_VS_SOLUTION_SUFFIX') | 990 suffix='$COMPONENT_VS_SOLUTION_SUFFIX') |
| 991 | 991 |
| 992 env.Append(BUILDERS={ | 992 env.Append(BUILDERS={ |
| 993 'ComponentVSDirProjectBuilder': dir_vcproj_builder, | 993 'ComponentVSDirProjectBuilder': dir_vcproj_builder, |
| 994 'ComponentVSProjectBuilder': vcprojbuilder, | 994 'ComponentVSProjectBuilder': vcprojbuilder, |
| 995 'ComponentVSSolutionBuilder': slnbuilder, | 995 'ComponentVSSolutionBuilder': slnbuilder, |
| 996 'ComponentVSSourceProjectBuilder': source_vcproj_builder, | 996 'ComponentVSSourceProjectBuilder': source_vcproj_builder, |
| 997 }) | 997 }) |
| OLD | NEW |