media/libstagefright/binding/mp4parse-cargo.patch
author Ralph Giles <giles@mozilla.com>
Fri, 30 Sep 2016 14:37:54 -0700
changeset 340956 e1a84f7fff9505dff8ac4315b9a7be611ab7d8ed
parent 339652 18f34131ce3064d10281630d9b185cd057f54c92
child 340960 a632178a4f48bc53360871435e97ea65abd05a71
permissions -rw-r--r--
Bug 1306755 - Copy rust mp4parse tests into the tree. r=kinetik,a=gchang Having these files in-tree makes it possible to run `cargo test` to verify changes. MozReview-Commit-ID: 6x4XZaw4UtD

diff --git a/media/libstagefright/binding/mp4parse_capi/Cargo.toml b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
index 5092cd7..ecbc8c0 100644
--- a/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+++ b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
@@ -17,15 +17,7 @@ exclude = [
   "*.mp4",
 ]
 
-build = "build.rs"
-
 [dependencies]
 "mp4parse" = {version = "0.5.1", path = "../mp4parse"}
 
-[build-dependencies]
-rusty-cheddar = "0.3.2"
-
-[features]
-fuzz = ["mp4parse/fuzz"]
-
 # Somewhat heavy-handed, but we want at least -Z force-overflow-checks=on.
diff --git a/media/libstagefright/binding/mp4parse/Cargo.toml b/media/libstagefright/binding/mp4parse/Cargo.toml
index ff9422c..814c4c6 100644
--- a/media/libstagefright/binding/mp4parse/Cargo.toml
+++ b/media/libstagefright/binding/mp4parse/Cargo.toml
@@ -18,17 +18,11 @@ exclude = [
 ]
 
 [dependencies]
-byteorder = "0.5.0"
-afl = { version = "0.1.1", optional = true }
-afl-plugin = { version = "0.1.1", optional = true }
-abort_on_panic = { version = "1.0.0", optional = true }
+byteorder = { version = "0.5.0", path = "../byteorder" }
 
 [dev-dependencies]
 test-assembler = "0.1.2"
 
-[features]
-fuzz = ["afl", "afl-plugin", "abort_on_panic"]
-
 # Somewhat heavy-handed, but we want at least -Z force-overflow-checks=on.
 [profile.release]
 debug-assertions = true