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:
Glenn Watson 2014-11-18 11:10:02 +10:00
parent 64cc9ec688
commit 0278920343
12 changed files with 659 additions and 14 deletions

View file

@ -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"