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

Unified Diff: client/deps/iotools/iotools.py

Issue 1616002: GPIO button test (Closed)
Patch Set: Tested on proto machine, fix typo, iotools unpacking Created 10 years, 9 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 | « client/deps/iotools/control ('k') | client/deps/iotools/iotools-1.2.tar.gz » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/iotools/iotools.py
diff --git a/client/deps/iotools/iotools.py b/client/deps/iotools/iotools.py
new file mode 100755
index 0000000000000000000000000000000000000000..ddc988a865844f958fa6c0bbef8f7d2d045a9591
--- /dev/null
+++ b/client/deps/iotools/iotools.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+__author__ = 'nsanders@chromium.org (Nick Sanders)'
+
+import os, common
+from autotest_lib.client.bin import utils
+
+version = 1
+
+def setup(tarball, topdir):
+ srcdir = os.path.join(topdir, 'src')
+ utils.extract_tarball_to_dir(tarball, srcdir)
+ # 'Add' arm support.
+ os.chdir(srcdir)
+ utils.system('patch -p0 < ../iotools.arm.patch')
+
+ utils.system('CROSS_COMPILE=${CTARGET_default}- make')
+ utils.system('cp iotools %s' % topdir)
+ os.chdir(topdir)
+
+
+# The source is grabbed from
+# http://iotools.googlecode.com/files/iotools-1.2.tar.gz
+pwd = os.getcwd()
+tarball = os.path.join(pwd, 'iotools-1.2.tar.gz')
+utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
« no previous file with comments | « client/deps/iotools/control ('k') | client/deps/iotools/iotools-1.2.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698