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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/android.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/android.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py b/Tools/Scripts/webkitpy/layout_tests/port/android.py
similarity index 99%
rename from Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py
rename to Tools/Scripts/webkitpy/layout_tests/port/android.py
index 13b3e5d6cfd82f5ae37f97c1dc55d35f1b3e4c1e..d26b1d901b9be2cec6be95b31c68a944ccf5eace 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/android.py
@@ -356,8 +356,8 @@ class AndroidDevices(object):
return int(re.findall('level: (\d+)', battery_status)[0])
-class ChromiumAndroidPort(chromium.ChromiumPort):
- port_name = 'chromium-android'
+class AndroidPort(chromium.ChromiumPort):
+ port_name = 'android'
# Avoid initializing the adb path [worker count]+1 times by storing it as a static member.
_adb_path = None
@@ -367,7 +367,7 @@ class ChromiumAndroidPort(chromium.ChromiumPort):
FALLBACK_PATHS = { 'android': [ 'chromium-android' ] + linux.LinuxPort.latest_platform_fallback_path() }
def __init__(self, host, port_name, **kwargs):
- super(ChromiumAndroidPort, self).__init__(host, port_name, **kwargs)
+ super(AndroidPort, self).__init__(host, port_name, **kwargs)
self._operating_system = 'android'
self._version = 'icecreamsandwich'
@@ -432,7 +432,7 @@ class ChromiumAndroidPort(chromium.ChromiumPort):
return self._host_port.check_wdiff(logging)
def check_build(self, needs_http):
- result = super(ChromiumAndroidPort, self).check_build(needs_http)
+ result = super(AndroidPort, self).check_build(needs_http)
result = self._check_file_exists(self.path_to_md5sum(), 'md5sum utility') and result
result = self._check_file_exists(self.path_to_md5sum_host(), 'md5sum host utility') and result
result = self._check_file_exists(self.path_to_forwarder(), 'forwarder utility') and result
@@ -466,7 +466,7 @@ class ChromiumAndroidPort(chromium.ChromiumPort):
additional_dirs = {}
additional_dirs[PERF_TEST_PATH_PREFIX] = self.perf_tests_dir()
additional_dirs[LAYOUT_TEST_PATH_PREFIX] = self.layout_tests_dir()
- super(ChromiumAndroidPort, self).start_http_server(additional_dirs, number_of_servers)
+ super(AndroidPort, self).start_http_server(additional_dirs, number_of_servers)
def create_driver(self, worker_number, no_timeout=False):
return ChromiumAndroidDriver(self, worker_number, pixel_tests=self.get_option('pixel_tests'),

Powered by Google App Engine
This is Rietveld 408576698