Skip to content

Commit

Permalink
add readme for using embedding crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Blumenkrantz committed May 26, 2014
1 parent faa7f18 commit 9f455a2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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.

5 comments on commit 9f455a2

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jdm
at zmike@9f455a2

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging zmike/servo/embedding-invasion = 9f455a2 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zmike/servo/embedding-invasion = 9f455a2 merged ok, testing candidate = 112ce25

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 112ce25

Please sign in to comment.