OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ | 6 """ |
7 This tool creates a tarball with all the sources, but without .svn directories. | 7 This tool creates a tarball with all the sources, but without .svn directories. |
8 | 8 |
9 It can also remove files which are not strictly required for build, so that | 9 It can also remove files which are not strictly required for build, so that |
10 the resulting tarball can be reasonably small (last time it was ~110 MB). | 10 the resulting tarball can be reasonably small (last time it was ~110 MB). |
(...skipping 21 matching lines...) Expand all Loading... |
32 'native_client/tests', | 32 'native_client/tests', |
33 'net/data/cache_tests', | 33 'net/data/cache_tests', |
34 'src/chrome/test/data', | 34 'src/chrome/test/data', |
35 'o3d/documentation', | 35 'o3d/documentation', |
36 'o3d/samples', | 36 'o3d/samples', |
37 'o3d/tests', | 37 'o3d/tests', |
38 'third_party/angle/samples/gles2_book', | 38 'third_party/angle/samples/gles2_book', |
39 'third_party/hunspell_dictionaries', | 39 'third_party/hunspell_dictionaries', |
40 'third_party/hunspell/tests', | 40 'third_party/hunspell/tests', |
41 'third_party/lighttpd', | 41 'third_party/lighttpd', |
42 'third_party/scons', | |
43 'third_party/sqlite/test', | 42 'third_party/sqlite/test', |
44 'third_party/vc_80', | 43 'third_party/vc_80', |
45 'third_party/xdg-utils/tests', | 44 'third_party/xdg-utils/tests', |
46 'third_party/yasm/source/patched-yasm/modules/arch/x86/tests', | 45 'third_party/yasm/source/patched-yasm/modules/arch/x86/tests', |
47 'third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/tests', | 46 'third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/tests', |
48 'third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests', | 47 'third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests', |
49 'third_party/yasm/source/patched-yasm/modules/objfmts/coff/tests', | 48 'third_party/yasm/source/patched-yasm/modules/objfmts/coff/tests', |
50 'third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests', | 49 'third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests', |
51 'third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests', | 50 'third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests', |
52 'third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests', | 51 'third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 archive.set_remove_nonessential_files(options.remove_nonessential_files) | 106 archive.set_remove_nonessential_files(options.remove_nonessential_files) |
108 try: | 107 try: |
109 archive.add(GetSourceDirectory(), arcname=output_basename) | 108 archive.add(GetSourceDirectory(), arcname=output_basename) |
110 finally: | 109 finally: |
111 archive.close() | 110 archive.close() |
112 | 111 |
113 return 0 | 112 return 0 |
114 | 113 |
115 if __name__ == "__main__": | 114 if __name__ == "__main__": |
116 sys.exit(main(sys.argv[1:])) | 115 sys.exit(main(sys.argv[1:])) |
OLD | NEW |