OLD | NEW |
(Empty) | |
| 1 import gclient_utils |
| 2 import os |
| 3 |
| 4 path = gclient_utils.FindGclientRoot(os.getcwd()) |
| 5 execfile(os.path.join(path, 'src', 'DEPS')) # Include proper Mojo DEPS. |
| 6 |
| 7 # Now we need to add in NaCl. |
| 8 |
| 9 vars.update({ |
| 10 'nacl_revision': 'c71d65ffcb0e7a1f35eacfd37c327ca5edfa647e', # from svn revisi
on r14268 |
| 11 }) |
| 12 |
| 13 deps.update({ |
| 14 'src/native_client': |
| 15 Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('na
cl_revision'), |
| 16 }) |
| 17 |
| 18 hooks.append({ |
| 19 # This downloads binaries for Native Client's newlib toolchain. |
| 20 # Done in lieu of building the toolchain from scratch as it can take |
| 21 # anywhere from 30 minutes to 4 hours depending on platform to build. |
| 22 'name': 'nacltools', |
| 23 'pattern': '.', |
| 24 'action': [ |
| 25 'python', 'src/build/download_nacl_toolchains.py', |
| 26 '--packages', 'pnacl_newlib', |
| 27 'sync', '--extract', |
| 28 ], |
| 29 }) |
OLD | NEW |