Skip to content

Commit

Permalink
Fix missing backtrace build error on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Oct 20, 2016
1 parent e77eccc commit ee358cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion components/servo/Cargo.toml
Expand Up @@ -45,6 +45,7 @@ style_tests = {path = "../../tests/unit/style"}
util_tests = {path = "../../tests/unit/util"}

[dependencies]
backtrace = "0.2"
browserhtml = {git = "https://github.com/browserhtml/browserhtml", branch = "crate"}
canvas = {path = "../canvas"}
canvas_traits = {path = "../canvas_traits"}
Expand Down Expand Up @@ -88,7 +89,6 @@ features = ["serde_derive"]

[target.'cfg(not(target_os = "android"))'.dependencies]
sig = "0.1"
backtrace = "0.2"

[target.'cfg(target_os = "android")'.dependencies]
log = "0.3"
Expand Down
1 change: 0 additions & 1 deletion components/servo/main.rs
Expand Up @@ -20,7 +20,6 @@
#[cfg(target_os = "android")]
#[macro_use]
extern crate android_glue;
#[cfg(not(target_os = "android"))]
extern crate backtrace;
// The window backed by glutin
extern crate glutin_app as app;
Expand Down

0 comments on commit ee358cd

Please sign in to comment.