Index: mojo/monacl/README |
diff --git a/mojo/monacl/README b/mojo/monacl/README |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d8a865a0990b170cf8e3c5d69552381ad382336 |
--- /dev/null |
+++ b/mojo/monacl/README |
@@ -0,0 +1,15 @@ |
+This is a prototype for plumbing Mojo into the NaCl sandbox. It is |
+currently insecure, does not provide a stable ABI, and does not |
+support Mojo functions that return pointers. |
+ |
+gen/interface.py contains a programatic description of the stable Mojo |
Mark Seaborn
2014/07/21 16:31:39
Nit: "programmatic"
Nick Bray (chromium)
2014/07/21 22:38:36
Done.
|
+interface. This will need to be updated as the interface changes. |
+Run gen/generate_monacl_bindings.py to generate the bindings that |
+plumb this interface into the NaCl sandbox. |
+ |
+To test: Build "monacl_shell" and "monacl_test". Run monacl_shell |
+with the IRT as the first argument and the monacl_test as the second |
+argument. For example, to run a Debug 32-bit Intel build: |
+ |
+cd out/Debug |
+monacl_shell irt_core_newlib_x32.nexe monacl_test_newlib_x32.nexe |