Skip to content

Commit

Permalink
Auto merge of servo#27998 - simonschmeisser:patch-2, r=jdm
Browse files Browse the repository at this point in the history
add instruction for building libsimpleservo

fixes servo#27995

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because *documentation only*

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
  • Loading branch information
bors-servo authored Dec 28, 2020
2 parents c0abe74 + d2915a8 commit 388bf93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ports/libsimpleservo/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# libsimpleservo
This is a basic wrapper around Servo. While libservo itself (/components/servo/) offers a lot of flexibility,
libsimpleservo (/ports/libsimpleservo/) tries to make it easier to embed Servo, without much configuration needed.
It is limited to only one view (no tabs, no multiple rendering area).

## Building
Run the following command to generate `libsimpleservo`
```
./mach build --release --libsimpleservo
```
this will generate a shared library (`libsimpleservo.so` on linux) as well as a header file in `target/release` that you can then link to your application.

0 comments on commit 388bf93

Please sign in to comment.