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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 DeclareBit('posix', 'Target platform is posix.') | 276 DeclareBit('posix', 'Target platform is posix.') |
277 | 277 |
278 # Set the appropriate host platform bit | 278 # Set the appropriate host platform bit |
279 host_platform_to_bit = { | 279 host_platform_to_bit = { |
280 'MAC': 'host_mac', | 280 'MAC': 'host_mac', |
281 'LINUX': 'host_linux', | 281 'LINUX': 'host_linux', |
282 'WINDOWS': 'host_windows', | 282 'WINDOWS': 'host_windows', |
283 } | 283 } |
284 if HOST_PLATFORM in host_platform_to_bit: | 284 if HOST_PLATFORM in host_platform_to_bit: |
285 env.SetBits(host_platform_to_bit[HOST_PLATFORM]) | 285 env.SetBits(host_platform_to_bit[HOST_PLATFORM]) |
OLD | NEW |