embedding README updates

this provides some more current directions for testing
This commit is contained in:
Mike Blumenkrantz 2016-06-21 15:00:46 -04:00
parent 5c8a855d0e
commit 0a081972d5

View file

@ -1,15 +1,11 @@
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 with ```./mach build-cef [--release]```
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
1. Build Servo's embedding crate (```./mach build-cef [--release]```)
2. Build ECEF (https://github.com/zmike/ecef)
3. See ECEF README
4. 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.
* The contents of `interfaces/` are entirely autogenerated. To
regenerate, see https://github.com/zmike/cef-rebase/blob/master/README.md for full instructions