media/libstagefright/binding/mp4parse-cargo.patch
author Ralph Giles <giles@mozilla.com>
Fri, 02 Sep 2016 14:04:38 -0700
changeset 338421 d8c3d5eaf08a31b3351e79c930935cf5718e2852
parent 335421 6a9f74cba5c7e8f49f032b05076ce2311c0253d3
child 339652 18f34131ce3064d10281630d9b185cd057f54c92
permissions -rw-r--r--
Bug 1300219 - Update mp4parse vendoring script for v0.5.0. r=kinetik This release splits the capi into a separate crate and adds mp4parse_is_fragmented() for vp9 support. MozReview-Commit-ID: JkwylmdfPa9

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,14 +17,9 @@ exclude = [
   "*.mp4",
 ]
 
-build = "build.rs"
-
 [dependencies]
 "mp4parse" = {version = "0.5.0", path = "../mp4parse"}
 
-[build-dependencies]
-rusty-cheddar = "0.3.2"
-
 [features]
 fuzz = ["mp4parse/fuzz"]
 
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