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 29 matching lines...) Expand all Loading... |
41 """SCons entry point for this tool.""" | 41 """SCons entry point for this tool.""" |
42 | 42 |
43 # Add in general options. | 43 # Add in general options. |
44 env['TARGET_DEBUG'] = False | 44 env['TARGET_DEBUG'] = False |
45 | 45 |
46 env.Append( | 46 env.Append( |
47 CPPDEFINES=['NDEBUG'] + env.get('CPPDEFINES_OPTIMIZED', []), | 47 CPPDEFINES=['NDEBUG'] + env.get('CPPDEFINES_OPTIMIZED', []), |
48 CCFLAGS=env.get('CCFLAGS_OPTIMIZED', []), | 48 CCFLAGS=env.get('CCFLAGS_OPTIMIZED', []), |
49 LINKFLAGS=env.get('LINKFLAGS_OPTIMIZED', []), | 49 LINKFLAGS=env.get('LINKFLAGS_OPTIMIZED', []), |
50 ) | 50 ) |
OLD | NEW |