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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 # Change the definition of Install if required by the platform. | 102 # Change the definition of Install if required by the platform. |
103 if env.get('COVERAGE_INSTALL'): | 103 if env.get('COVERAGE_INSTALL'): |
104 env['PRECOVERAGE_INSTALL'] = env['INSTALL'] | 104 env['PRECOVERAGE_INSTALL'] = env['INSTALL'] |
105 env['INSTALL'] = env['COVERAGE_INSTALL'] | 105 env['INSTALL'] = env['COVERAGE_INSTALL'] |
106 | 106 |
107 # Add any extra paths. | 107 # Add any extra paths. |
108 env.AppendENVPath('PATH', env.SubstList2('$COVERAGE_EXTRA_PATHS')) | 108 env.AppendENVPath('PATH', env.SubstList2('$COVERAGE_EXTRA_PATHS')) |
109 | 109 |
110 # Add coverage start/stop and processing in deferred steps. | 110 # Add coverage start/stop and processing in deferred steps. |
111 env.Defer(AddCoverageSetup) | 111 env.Defer(AddCoverageSetup) |
OLD | NEW |