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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, | 45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']}, |
46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, | 46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug
']}, |
47 "WebKit Linux": {"port_name": "linux-x86_64", "specifiers": ['Linux', 'Relea
se']}, | 47 "WebKit Linux": {"port_name": "linux-x86_64", "specifiers": ['Linux', 'Relea
se']}, |
48 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux', 'Relea
se']}, | 48 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux', 'Relea
se']}, |
49 "WebKit Linux (dbg)": {"port_name": "linux-x86_64", "specifiers": ['Linux',
'Debug']}, | 49 "WebKit Linux (dbg)": {"port_name": "linux-x86_64", "specifiers": ['Linux',
'Debug']}, |
50 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, | 50 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopa
rd', 'Release']}, |
51 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, | 51 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['Sno
wLeopard', 'Debug']}, |
52 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, | 52 "WebKit Mac10.7": {"port_name": "mac-lion", "specifiers": ['Lion', 'Release'
]}, |
53 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, | 53 "WebKit Mac10.7 (dbg)": {"port_name": "mac-lion", "specifiers": ['Lion', 'De
bug']}, |
54 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, | 54 "WebKit Mac10.8": {"port_name": "mac-mountainlion", "specifiers": ['Mountain
Lion', 'Release']}, |
55 "WebKit Mac10.8 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, | 55 "WebKit Mac10.9 (retina)": {"port_name": "mac-retina", "specifiers": ['Retin
a', 'Release']}, |
56 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, | 56 "WebKit Mac10.9": {"port_name": "mac-mavericks", "specifiers": ['Mavericks',
'Release']}, |
57 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, | 57 "WebKit Android (Nexus4)": {"port_name": "android", "specifiers": ['Android'
, 'Release']}, |
58 } | 58 } |
59 | 59 |
60 | 60 |
61 # Mapping from port name to the deps builder of the same os: | 61 # Mapping from port name to the deps builder of the same os: |
62 _deps_builders = { | 62 _deps_builders = { |
63 "linux-x86": "WebKit Linux (deps)", | 63 "linux-x86": "WebKit Linux (deps)", |
64 "linux-x86_64": "WebKit Linux (deps)", | 64 "linux-x86_64": "WebKit Linux (deps)", |
65 "win-xp": "WebKit XP (deps)", | 65 "win-xp": "WebKit XP (deps)", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 return builder_name | 112 return builder_name |
113 return debug_builder_name | 113 return debug_builder_name |
114 | 114 |
115 | 115 |
116 def builder_path_for_port_name(port_name): | 116 def builder_path_for_port_name(port_name): |
117 builder_path_from_name(builder_name_for_port_name(port_name)) | 117 builder_path_from_name(builder_name_for_port_name(port_name)) |
118 | 118 |
119 | 119 |
120 def deps_builder_name_for_port_name(target_port_name): | 120 def deps_builder_name_for_port_name(target_port_name): |
121 return _deps_builders.get(target_port_name, None) | 121 return _deps_builders.get(target_port_name, None) |
OLD | NEW |