OLD | NEW |
1 #!/usr/bin/python2.4 | 1 #!/usr/bin/env python |
2 # Copyright 2009, Google Inc. | 2 # Copyright 2009, 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. |
11 # * Redistributions in binary form must reproduce the above | 11 # * Redistributions in binary form must reproduce the above |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 def generate(env): | 248 def generate(env): |
249 # NOTE: SCons requires the use of this name, which fails gpylint. | 249 # NOTE: SCons requires the use of this name, which fails gpylint. |
250 """SCons entry point for this tool.""" | 250 """SCons entry point for this tool.""" |
251 | 251 |
252 # Add methods to environment | 252 # Add methods to environment |
253 env.AddMethod(ApplySConscript) | 253 env.AddMethod(ApplySConscript) |
254 env.AddMethod(BuildSConscript) | 254 env.AddMethod(BuildSConscript) |
255 env.AddMethod(FilterOut) | 255 env.AddMethod(FilterOut) |
256 env.AddMethod(RelativePath) | 256 env.AddMethod(RelativePath) |
257 env.AddMethod(SubstList2) | 257 env.AddMethod(SubstList2) |
OLD | NEW |