mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
add readme for using embedding crate
This commit is contained in:
parent
faa7f1885c
commit
9f455a29aa
1 changed files with 12 additions and 0 deletions
12
src/components/embedding/README.md
Normal file
12
src/components/embedding/README.md
Normal file
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue