mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #11817 - zmike:master, r=metajack
embedding README updates <!-- Please describe your changes on the following line: --> More current directions for running/testing cef. @jdm @larsbergstrom @metajack literally anyone --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X ] `./mach build -d` does not report any errors - [X ] `./mach test-tidy` does not report any errors <!-- Either: --> - [ ] There are tests for these changes OR - [ X] These changes do not require tests because I said so <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11817) <!-- Reviewable:end -->
This commit is contained in:
commit
239b221b43
1 changed files with 4 additions and 8 deletions
|
@ -1,15 +1,11 @@
|
||||||
How to test:
|
How to test:
|
||||||
|
|
||||||
1. Go to http://cefbuilds.com/ and download a binary for your OS/arch
|
1. Build Servo's embedding crate (```./mach build-cef [--release]```)
|
||||||
2. Unpack the (huge) archive
|
2. Build ECEF (https://github.com/zmike/ecef)
|
||||||
3. Create both Debug and Release build types for CEF (```./build.sh [Debug|Release]```)
|
3. See ECEF README
|
||||||
4. Build servo with ```./mach build-cef [--release]```
|
4. Enjoy CEF-powered crashes
|
||||||
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:
|
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
|
* The contents of `interfaces/` are entirely autogenerated. To
|
||||||
regenerate, see https://github.com/zmike/cef-rebase/blob/master/README.md for full instructions
|
regenerate, see https://github.com/zmike/cef-rebase/blob/master/README.md for full instructions
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue