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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 ) | 429 ) |
430 | 430 |
431 # TODO: mslink.py creates a shlibLinkAction which doesn't specify | 431 # TODO: mslink.py creates a shlibLinkAction which doesn't specify |
432 # '$SHLINKCOMSTR' as its command string. This breaks --brief. For now, | 432 # '$SHLINKCOMSTR' as its command string. This breaks --brief. For now, |
433 # hack into the existing action and override its command string. | 433 # hack into the existing action and override its command string. |
434 if use_msvc_tools: | 434 if use_msvc_tools: |
435 env['SHLINKCOM'].list[0].cmdstr = '$SHLINKCOMSTR' | 435 env['SHLINKCOM'].list[0].cmdstr = '$SHLINKCOMSTR' |
436 | 436 |
437 # Restore saved flags. | 437 # Restore saved flags. |
438 env.Append(**saved) | 438 env.Append(**saved) |
OLD | NEW |