media/libstagefright/binding/mp4parse-cargo.patch
author Ralph Giles <giles@mozilla.com>
Tue, 16 Aug 2016 10:51:46 -0700
changeset 335421 6a9f74cba5c7e8f49f032b05076ce2311c0253d3
parent 333827 4b71272c92cf52dfcb7dff8f6867136e05585a99
child 338421 d8c3d5eaf08a31b3351e79c930935cf5718e2852
permissions -rw-r--r--
Bug 1295666 - Import byteorder as a separate crate. r=kinetik Now that bug 1231764 has landed cargo support in the build system, we can remove the patches hacking the byteorder crate into a module within the mp4parse crate. This updates the import script to copy the byteorder source files to a separate directory and removes the obsolete patches. We update the patch against mp4parse/Cargo.toml to add a dependency path referring to the new source location. This tells cargo to use the in-tree copy instead of trying to pull from a registery. MozReview-Commit-ID: FHMkyEq2HdH

--- a/media/libstagefright/binding/mp4parse/Cargo.toml
+++ b/media/libstagefright/binding/mp4parse/Cargo.toml
@@ -17,23 +17,9 @@ exclude = [
   "*.mp4",
 ]
 
-build = "build.rs"
-
-[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 }
-
-[dev-dependencies]
-test-assembler = "0.1.2"
-
-[build-dependencies]
-rusty-cheddar = "0.3.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
+
+[dependencies]
+byteorder = { path = "../byteorder" }