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

Unified Diff: DEPS.nacl

Issue 840653003: Pull in native_client and build tests. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DEPS.nacl
diff --git a/DEPS.nacl b/DEPS.nacl
new file mode 100644
index 0000000000000000000000000000000000000000..37dc80d66845e99b3ceec87661e69960095141d8
--- /dev/null
+++ b/DEPS.nacl
@@ -0,0 +1,29 @@
+import gclient_utils
+import os
+
+path = gclient_utils.FindGclientRoot(os.getcwd())
+execfile(os.path.join(path, 'src', 'DEPS')) # Include proper Mojo DEPS.
+
+# Now we need to add in NaCl.
+
+vars.update({
+ 'nacl_revision': 'c71d65ffcb0e7a1f35eacfd37c327ca5edfa647e', # from svn revision r14268
+})
+
+deps.update({
+ 'src/native_client':
+ Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
+})
+
+hooks.append({
+ # This downloads binaries for Native Client's newlib toolchain.
+ # Done in lieu of building the toolchain from scratch as it can take
+ # anywhere from 30 minutes to 4 hours depending on platform to build.
+ 'name': 'nacltools',
+ 'pattern': '.',
+ 'action': [
+ 'python', 'src/build/download_nacl_toolchains.py',
+ '--packages', 'pnacl_newlib',
+ 'sync', '--extract',
+ ],
+})
« no previous file with comments | « .gitignore ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698