| OLD | NEW |
| 1 # Copyright (C) 2011 Google Inc. All rights reserved. | 1 # Copyright (C) 2011 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 "win-xp": "WebKit XP (deps)", | 68 "win-xp": "WebKit XP (deps)", |
| 69 "win-win7": "WebKit XP (deps)", | 69 "win-win7": "WebKit XP (deps)", |
| 70 "mac-snowleopard": "WebKit Mac10.6 (deps)", | 70 "mac-snowleopard": "WebKit Mac10.6 (deps)", |
| 71 "mac-lion": "WebKit Mac10.6 (deps)", | 71 "mac-lion": "WebKit Mac10.6 (deps)", |
| 72 "mac-mountainlion": "WebKit Mac10.6 (deps)", | 72 "mac-mountainlion": "WebKit Mac10.6 (deps)", |
| 73 } | 73 } |
| 74 | 74 |
| 75 | 75 |
| 76 _ports_without_builders = [ | 76 _ports_without_builders = [ |
| 77 # FIXME: Move to _exact_matches. | 77 # FIXME: Move to _exact_matches. |
| 78 "chromium-android", | 78 "android", |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 | 81 |
| 82 def builder_path_from_name(builder_name): | 82 def builder_path_from_name(builder_name): |
| 83 return re.sub(r'[\s().]', '_', builder_name) | 83 return re.sub(r'[\s().]', '_', builder_name) |
| 84 | 84 |
| 85 | 85 |
| 86 def all_builder_names(): | 86 def all_builder_names(): |
| 87 return sorted(set(_exact_matches.keys())) | 87 return sorted(set(_exact_matches.keys())) |
| 88 | 88 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 113 return builder_name | 113 return builder_name |
| 114 return debug_builder_name | 114 return debug_builder_name |
| 115 | 115 |
| 116 | 116 |
| 117 def builder_path_for_port_name(port_name): | 117 def builder_path_for_port_name(port_name): |
| 118 builder_path_from_name(builder_name_for_port_name(port_name)) | 118 builder_path_from_name(builder_name_for_port_name(port_name)) |
| 119 | 119 |
| 120 | 120 |
| 121 def deps_builder_name_for_port_name(target_port_name): | 121 def deps_builder_name_for_port_name(target_port_name): |
| 122 return _deps_builders.get(target_port_name, None) | 122 return _deps_builders.get(target_port_name, None) |
| OLD | NEW |