Chromium Code Reviews| Index: Tools/Scripts/webkitpy/layout_tests/port/factory.py |
| diff --git a/Tools/Scripts/webkitpy/layout_tests/port/factory.py b/Tools/Scripts/webkitpy/layout_tests/port/factory.py |
| index fd6c7867c71f6d7f4fe367290b5afbae8ed443aa..ea3d9d15513277c7db6427d74c7586e51bc82319 100644 |
| --- a/Tools/Scripts/webkitpy/layout_tests/port/factory.py |
| +++ b/Tools/Scripts/webkitpy/layout_tests/port/factory.py |
| @@ -72,7 +72,7 @@ def _builder_options(builder_name): |
| class PortFactory(object): |
| PORT_CLASSES = ( |
| - 'chromium_android.ChromiumAndroidPort', |
| + 'android.AndroidPort', |
| 'linux.LinuxPort', |
| 'mac.MacPort', |
| 'win.WinPort', |
| @@ -103,16 +103,7 @@ class PortFactory(object): |
| # with '--platform mac' and '--platform linux' properly (we |
| # can't look at the port_name prefix in this case). |
|
ojan
2013/06/30 18:23:27
While you're here, this no longer accurate. I'm no
|
| if port_name == 'chromium': |
| - # FIXME(steveblock): This hack will go away once all ports have |
| - # been renamed to remove the 'chromium-' part. |
| - if self._host.platform.os_name == 'win': |
| - port_name = 'win' |
| - elif self._host.platform.os_name == 'linux': |
| - port_name = 'linux' |
| - elif self._host.platform.os_name == 'mac': |
| - port_name = 'mac' |
| - else: |
| - port_name = 'chromium-' + self._host.platform.os_name |
| + port_name = self._host.platform.os_name |
| for port_class in self.PORT_CLASSES: |
| module_name, class_name = port_class.rsplit('.', 1) |