summaryrefslogtreecommitdiffstats
path: root/media/mp4parse-rust/moz.build
blob: 24f6b69d7877375638e08f560dd128678fc4d747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- 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']:
    CbindgenHeader('mp4parse_ffi_generated.h',
                   inputs=['/third_party/rust/mp4parse_capi'])

    EXPORTS += [ # Should this be namespaced? EXPORTS.mozilla.media
        '!mp4parse_ffi_generated.h',
    ]

FINAL_LIBRARY = 'xul'