summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/build_tools/buildbot_common.py
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 20:33:21 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 20:33:21 +0000
commitb70d57c69a1389e3d64568fd8637ed814101a322 (patch)
treee5d34c76230746bb3f15b93fe751d33df77945e0 /native_client_sdk/src/build_tools/buildbot_common.py
parent283fa9d004f8468823261622b62ad772f0211a6a (diff)
downloadchromium_src-b70d57c69a1389e3d64568fd8637ed814101a322.zip
chromium_src-b70d57c69a1389e3d64568fd8637ed814101a322.tar.gz
chromium_src-b70d57c69a1389e3d64568fd8637ed814101a322.tar.bz2
Fix Updater Generation
Renable generation of the updater components. This adds the ability to create the bootload nacl_sdk.zip used by all platforms, as well as the sdk_tools.tgz which does the actual work. Add a naclsdk_manifest0.json which sets up the state of the original bundle (just the updater nothing else). Add CopyFile method similar to RemoveFile Change 'copyfile' to 'copy' so that we keep mode bits (executable) Add debugging example to newlib bundle. R=bradnelson@chromium.org Review URL: https://chromiumcodereview.appspot.com/9816025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/build_tools/buildbot_common.py')
-rw-r--r--native_client_sdk/src/build_tools/buildbot_common.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/native_client_sdk/src/build_tools/buildbot_common.py b/native_client_sdk/src/build_tools/buildbot_common.py
index c30a1a1..3c37ed9 100644
--- a/native_client_sdk/src/build_tools/buildbot_common.py
+++ b/native_client_sdk/src/build_tools/buildbot_common.py
@@ -56,6 +56,12 @@ def CopyDir(src, dst, excludes=['.svn', '*/.svn']):
oshelpers.Copy(args)
+def CopyFile(src, dst):
+ print 'cp -r %s %s' % (src, dst)
+ args = [src, dst]
+ oshelpers.Copy(args)
+
+
def RemoveDir(dst):
"""Remove the provided path."""
print 'rm -fr ' + dst