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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 def generate(env): | 313 def generate(env): |
314 # NOTE: SCons requires the use of this name, which fails gpylint. | 314 # NOTE: SCons requires the use of this name, which fails gpylint. |
315 """SCons entry point for this tool.""" | 315 """SCons entry point for this tool.""" |
316 env.Append(_DEFER_GROUPS={}) | 316 env.Append(_DEFER_GROUPS={}) |
317 | 317 |
318 env.AddMethod(Defer) | 318 env.AddMethod(Defer) |
319 env.AddMethod(ExecuteDefer) | 319 env.AddMethod(ExecuteDefer) |
320 env.AddMethod(GetDeferRoot) | 320 env.AddMethod(GetDeferRoot) |
321 env.AddMethod(PrintDefer) | 321 env.AddMethod(PrintDefer) |
322 env.AddMethod(SetDeferRoot) | 322 env.AddMethod(SetDeferRoot) |
OLD | NEW |