Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2291)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/factory.py

Issue 18292002: Rename chromium-android port to android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698