зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1284589 - Result of running the update script. r=kinetik
Implement the changes by running the new update script. MozReview-Commit-ID: 2gbmdq4Mlri --HG-- rename : media/libstagefright/binding/mp4parse/boxes.rs => media/libstagefright/binding/mp4parse/src/boxes.rs rename : media/libstagefright/binding/mp4parse/byteorder/mod.rs => media/libstagefright/binding/mp4parse/src/byteorder/mod.rs rename : media/libstagefright/binding/mp4parse/byteorder/new.rs => media/libstagefright/binding/mp4parse/src/byteorder/new.rs rename : media/libstagefright/binding/mp4parse/capi.rs => media/libstagefright/binding/mp4parse/src/capi.rs rename : media/libstagefright/binding/mp4parse/lib.rs => media/libstagefright/binding/mp4parse/src/lib.rs rename : media/libstagefright/binding/mp4parse/tests.rs => media/libstagefright/binding/mp4parse/src/tests.rs extra : rebase_source : dee1bc8dc923d4d8edc060a2ef14161d78c5e4dc
This commit is contained in:
Родитель
df3f69672e
Коммит
705dbc4fe9
|
@ -0,0 +1,39 @@
|
|||
[package]
|
||||
name = "mp4parse"
|
||||
version = "0.4.0"
|
||||
authors = [
|
||||
"Ralph Giles <giles@mozilla.com>",
|
||||
"Matthew Gregan <kinetik@flim.org>",
|
||||
]
|
||||
|
||||
description = "Parser for ISO base media file format (mp4)"
|
||||
license = "MPL-2.0"
|
||||
|
||||
repository = "https://github.com/mozilla/mp4parse-rust"
|
||||
|
||||
# Cargo includes random files from the working directory
|
||||
# by default! Avoid bloating the package with test files.
|
||||
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
|
|
@ -0,0 +1,12 @@
|
|||
extern crate cheddar;
|
||||
|
||||
fn main() {
|
||||
// Generate mp4parse.h.
|
||||
cheddar::Cheddar::new().expect("could not read manifest")
|
||||
.module("capi").expect("invalid module path")
|
||||
.insert_code("// THIS FILE IS AUTOGENERATED BY mp4parse-rust/build.rs - DO NOT EDIT\n\n")
|
||||
.insert_code("// This Source Code Form is subject to the terms of the Mozilla Public\n")
|
||||
.insert_code("// License, v. 2.0. If a copy of the MPL was not distributed with this\n")
|
||||
.insert_code("// file, You can obtain one at https://mozilla.org/MPL/2.0/.")
|
||||
.run_build("include/mp4parse.h");
|
||||
}
|
Загрузка…
Ссылка в новой задаче