gecko-dev/media/mp4parse-rust/moz.build
Jon Bauman ff79fde159 Bug 1624056 - Properly vendor mp4parse-rust. r=kinetik
This requires --build-peers-said-large-imports-were-ok since
third_party/rust/mp4parse/src/lib.rs is 113KB. This code is just moving from
media/mp4parse-rust to third_party/rust, so it's not really adding to net code
size.

Differential Revision: https://phabricator.services.mozilla.com/D74488
2020-05-09 00:36:48 +00:00

28 lines
763 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
EXPORTS += [
'mp4parse.h',
]
if CONFIG['COMPILE_ENVIRONMENT']:
GENERATED_FILES += [
'mp4parse_ffi_generated.h',
]
EXPORTS += [ # Should this be namespaced? EXPORTS.mozilla.media
'!mp4parse_ffi_generated.h',
]
ffi_generated = GENERATED_FILES['mp4parse_ffi_generated.h']
ffi_generated.script = '/build/RunCbindgen.py:generate'
ffi_generated.inputs = [
'/third_party/rust/mp4parse_capi',
]
FINAL_LIBRARY = 'xul'