OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 The Native Client 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 """Recipes for PNaCl toolchain packages. | 6 """Recipes for PNaCl toolchain packages. |
7 | 7 |
8 Recipes consist of specially-structured dictionaries, with keys for package | 8 Recipes consist of specially-structured dictionaries, with keys for package |
9 name, type, commands to execute, etc. The structure is documented in the | 9 name, type, commands to execute, etc. The structure is documented in the |
10 PackageBuilder docstring in toolchain_main.py. | 10 PackageBuilder docstring in toolchain_main.py. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 PNACL_DRIVER_DIR = os.path.join(NACL_DIR, 'pnacl', 'driver') | 44 PNACL_DRIVER_DIR = os.path.join(NACL_DIR, 'pnacl', 'driver') |
45 NACL_TOOLS_DIR = os.path.join(NACL_DIR, 'tools') | 45 NACL_TOOLS_DIR = os.path.join(NACL_DIR, 'tools') |
46 | 46 |
47 # Scons tests can check this version number to decide whether to enable tests | 47 # Scons tests can check this version number to decide whether to enable tests |
48 # for toolchain bug fixes or new features. This allows tests to be enabled on | 48 # for toolchain bug fixes or new features. This allows tests to be enabled on |
49 # the toolchain buildbots/trybots before the new toolchain version is pinned | 49 # the toolchain buildbots/trybots before the new toolchain version is pinned |
50 # (i.e. before the tests would pass on the main NaCl buildbots/trybots). | 50 # (i.e. before the tests would pass on the main NaCl buildbots/trybots). |
51 # If you are adding a test that depends on a toolchain change, you can | 51 # If you are adding a test that depends on a toolchain change, you can |
52 # increment this version number manually. | 52 # increment this version number manually. |
53 FEATURE_VERSION = 23 | 53 FEATURE_VERSION = 24 |
54 | 54 |
55 # For backward compatibility, these key names match the directory names | 55 # For backward compatibility, these key names match the directory names |
56 # previously used with gclient | 56 # previously used with gclient |
57 GIT_REPOS = { | 57 GIT_REPOS = { |
58 'binutils': 'nacl-binutils.git', | 58 'binutils': 'nacl-binutils.git', |
59 'clang': 'pnacl-clang.git', | 59 'clang': 'pnacl-clang.git', |
60 'llvm': 'pnacl-llvm.git', | 60 'llvm': 'pnacl-llvm.git', |
61 'gcc': 'pnacl-gcc.git', | 61 'gcc': 'pnacl-gcc.git', |
62 'libcxx': 'pnacl-libcxx.git', | 62 'libcxx': 'pnacl-libcxx.git', |
63 'libcxxabi': 'pnacl-libcxxabi.git', | 63 'libcxxabi': 'pnacl-libcxxabi.git', |
(...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 SANDBOXED_TRANSLATOR_ARCHES)) | 1441 SANDBOXED_TRANSLATOR_ARCHES)) |
1442 | 1442 |
1443 tb = toolchain_main.PackageBuilder(packages, | 1443 tb = toolchain_main.PackageBuilder(packages, |
1444 upload_packages, | 1444 upload_packages, |
1445 leftover_args) | 1445 leftover_args) |
1446 return tb.Main() | 1446 return tb.Main() |
1447 | 1447 |
1448 | 1448 |
1449 if __name__ == '__main__': | 1449 if __name__ == '__main__': |
1450 sys.exit(main()) | 1450 sys.exit(main()) |
OLD | NEW |