aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-05-07 23:33:29 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-05-26 16:43:16 -0400
commit9f455a29aaad6ba659ebe79f1a9c74097b1f4ad5 (patch)
tree9503ee88858262c98705b2ca9cee2228cd667926
parentfaa7f1885cc0aa830b2c917cf6a1dba17d523013 (diff)
downloadservo-9f455a29aaad6ba659ebe79f1a9c74097b1f4ad5.tar.gz
servo-9f455a29aaad6ba659ebe79f1a9c74097b1f4ad5.zip
add readme for using embedding crate
-rw-r--r--src/components/embedding/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/embedding/README.md b/src/components/embedding/README.md
new file mode 100644
index 00000000000..a8ffd07fc82
--- /dev/null
+++ b/src/components/embedding/README.md
@@ -0,0 +1,12 @@
+How to test:
+
+1. Go to http://cefbuilds.com/ and download a binary for your OS/arch
+2. Unpack the (huge) archive
+3. Create both Debug and Release build types for CEF (```./build.sh [Debug|Release]```)
+4. Build servo
+5. Run a CEF-based executable with the embedding crate preloaded:
+ * Linux: ```LD_LIBRARY_PATH=/path/to/cef-bin-unpack-dir/out/$build_type LD_PRELOAD=/path/to/servo/build/libembedding-*.so [CEF EXE]```
+6. Enjoy CEF-powered crashes
+
+Notes:
+* Running with the Debug build in GDB is EXTREMELY slow on startup. Only use this if you are actively debugging an unimplemented CEF interaction.