mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
Add glutin port (supported on Linux only currently).
Default build uses glfw, but glutin can be enabled via: ./mach cargo build --no-default-features --features=glutin
This commit is contained in:
parent
64cc9ec688
commit
0278920343
12 changed files with 659 additions and 14 deletions
|
@ -26,6 +26,7 @@ harness = false
|
|||
|
||||
[features]
|
||||
default = ["glfw_app"]
|
||||
glutin = ["glutin_app"]
|
||||
|
||||
[dependencies.compositing]
|
||||
path = "components/compositing"
|
||||
|
@ -52,6 +53,10 @@ path = "components/gfx"
|
|||
path = "ports/glfw"
|
||||
optional = true
|
||||
|
||||
[dependencies.glutin_app]
|
||||
path = "ports/glutin"
|
||||
optional = true
|
||||
|
||||
[dependencies.url]
|
||||
git = "https://github.com/servo/rust-url"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue