Index: mojo/monacl/README |
diff --git a/mojo/monacl/README b/mojo/monacl/README |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8fa92b49563290342d992ed78bf37ce55c705ad4 |
--- /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 |
Mark Seaborn
2014/09/09 19:13:11
Can you say what you mean by insecure, so people k
Nick Bray (chromium)
2014/09/09 23:12:32
Done.
|
+support Mojo functions that return pointers. |
Mark Seaborn
2014/09/09 19:13:11
...for example, MojoMapBuffer()? (If I understand
Nick Bray (chromium)
2014/09/09 23:12:32
Done.
|
+ |
+gen/interface.py contains a programmatic description of the stable |
Mark Seaborn
2014/09/09 19:13:11
It's now generator/interface.py.
Nick Bray (chromium)
2014/09/09 23:12:32
Done.
|
+Mojo interface. This will need to be updated as the interface |
+changes. Run gen/generate_monacl_bindings.py to generate the bindings |
Mark Seaborn
2014/09/09 19:13:11
"generator"
Nick Bray (chromium)
2014/09/09 23:12:32
Done.
|
+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 |