Skip to content

Commit

Permalink
auto merge of #4798 : glennw/servo/remove-glfw, r=SimonSapin
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-servo committed Feb 2, 2015
2 parents ccdf0bd + f495884 commit 896cdcb
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 744 deletions.
18 changes: 0 additions & 18 deletions components/compositing/platform/mod.rs

This file was deleted.

2 changes: 1 addition & 1 deletion components/msg/constellation_msg.rs
Expand Up @@ -59,7 +59,7 @@ pub enum KeyState {
Repeated,
}

//N.B. Straight up copied from glfw-rs
//N.B. Based on the glutin key enum
#[derive(Show, PartialEq, Eq, Copy, Clone)]
pub enum Key {
Space,
Expand Down
36 changes: 0 additions & 36 deletions components/servo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions components/servo/Cargo.toml
Expand Up @@ -30,8 +30,7 @@ path = "../../tests/contenttest.rs"
harness = false

[features]
default = ["glutin_app", "window"]
glfw = ["glfw_app"]
default = ["window"]
window = ["glutin_app/window"]
headless = ["glutin_app/headless"]

Expand Down Expand Up @@ -59,13 +58,8 @@ path = "../gfx"
[dependencies.devtools]
path = "../devtools"

[dependencies.glfw_app]
path = "../../ports/glfw"
optional = true

[dependencies.glutin_app]
path = "../../ports/glutin"
optional = true

[dependencies.android_glue]
path = "../../support/android-rs-glue/glue"
Expand Down
4 changes: 1 addition & 3 deletions components/servo/main.rs
Expand Up @@ -13,10 +13,8 @@ extern crate servo;
extern crate time;
extern crate util;

#[cfg(all(feature = "glutin_app",not(test)))]
#[cfg(not(test))]
extern crate "glutin_app" as app;
#[cfg(all(feature = "glfw",not(test)))]
extern crate "glfw_app" as app;

#[cfg(not(test))]
extern crate compositing;
Expand Down
6 changes: 3 additions & 3 deletions ports/cef/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ports/cef/window.rs
Expand Up @@ -5,7 +5,7 @@
//! Off-screen windows.
//!
//! This is used for off-screen rendering mode only; on-screen windows (the default embedding mode)
//! are managed by a platform toolkit (GLFW or Glutin).
//! are managed by a platform toolkit (Glutin).

use eutil::Downcast;
use interfaces::CefBrowser;
Expand Down
36 changes: 0 additions & 36 deletions ports/glfw/Cargo.toml

This file was deleted.

50 changes: 0 additions & 50 deletions ports/glfw/lib.rs

This file was deleted.

0 comments on commit 896cdcb

Please sign in to comment.