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

Unified Diff: slave/skia_slave_scripts/android_verify_device.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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
« no previous file with comments | « slave/skia_slave_scripts/__init__.py ('k') | slave/skia_slave_scripts/apply_patch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/android_verify_device.py
diff --git a/slave/skia_slave_scripts/android_verify_device.py b/slave/skia_slave_scripts/android_verify_device.py
deleted file mode 100644
index c645f9c777d0145dac889bab7b76566dcb546f5f..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/android_verify_device.py
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-""" Verify that the Android device is attached and functioning properly """
-
-
-import os
-import sys
-
-BUILDBOT_PATH = os.path.realpath(os.path.join(
- os.path.dirname(os.path.abspath(__file__)),
- os.pardir, os.pardir))
-sys.path.append(BUILDBOT_PATH)
-CHROMIUM_BUILDBOT = os.path.join(BUILDBOT_PATH, 'third_party',
- 'chromium_buildbot')
-sys.path.append(os.path.join(CHROMIUM_BUILDBOT, 'scripts'))
-sys.path.append(os.path.join(BUILDBOT_PATH, 'common'))
-
-from py.utils import android_utils, misc
-
-
-class AndroidVerifyDevice:
-
- # pylint: disable=R0201
- def _Run(self):
- args = misc.ArgsToDict(sys.argv)
- serial = args['serial']
- android_utils.ADBShell(serial, ['cat', '/system/build.prop'], echo=False)
- print 'Device %s is attached and seems to be working properly.' % serial
-
-
-if '__main__' == __name__:
- # pylint: disable=W0212
- sys.exit(AndroidVerifyDevice()._Run())
« no previous file with comments | « slave/skia_slave_scripts/__init__.py ('k') | slave/skia_slave_scripts/apply_patch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698