Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme for using embedding crate
- Loading branch information
Mike Blumenkrantz
committed
May 26, 2014
1 parent
faa7f18
commit 9f455a2
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
9f455a2
There was a problem hiding this comment.
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
9f455a2
There was a problem hiding this comment.
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
9f455a2
There was a problem hiding this comment.
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
9f455a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://servo-buildbot.pub.build.mozilla.org/builders/linux/builds/1482
success: http://servo-buildbot.pub.build.mozilla.org/builders/mac/builds/1438
9f455a2
There was a problem hiding this comment.
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