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

Side by Side Diff: swarm_client/tools/zip_run_isolated.py

Issue 69143004: Delete swarm_client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « swarm_client/tools/zip_profiler.py ('k') | swarm_client/trace_inputs.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """Converts run_isolated.py with dependencies into run_isolated.zip.
7
8 run_isolated.zip will be created in the current directory.
9
10 Useful for reproducing swarm-bot environment like this:
11 ./tools/zip_run_isolated.py && python run_isolated.zip ...
12 """
13
14 import os
15 import sys
16
17 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
18 sys.path.insert(0, ROOT_DIR)
19
20 import run_isolated
21
22
23 def main():
24 zip_package = run_isolated.get_as_zip_package()
25 zip_package.zip_into_file('run_isolated.zip')
26 return 0
27
28
29 if __name__ == '__main__':
30 sys.exit(main())
OLDNEW
« no previous file with comments | « swarm_client/tools/zip_profiler.py ('k') | swarm_client/trace_inputs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698