Skip to content

Commit

Permalink
Update Servo build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget authored Oct 19, 2016
1 parent 5eace7b commit a733f94
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ After updating shaders in webrender, go to servo and:
# Use Webrender with Servo
To use a custom webrender with servo, go to your servo build directory and:

1. Edit servo/.cargo/config - Create this file if it doesn't exist already.
2. Add 'paths = ["/Users/UserName/Path/To/webrender"]'
1. Edit servo/components/servo/Cargo.toml
2. Add at the end of the file:

```
paths = ["/Users/UserName/Path/To/webrender"]'
[replace]
"webrender:0.6.0" = { path = '/Users/UserName/Path/To/webrender/webrender/' }
"webrender_traits:0.6.0" = { path = '/Users/UserName/Path/To/webrender/webrender_traits' }
```

3. Build as normal

0 comments on commit a733f94

Please sign in to comment.