config/external/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Sun, 17 Jun 2018 22:43:11 -0700
changeset 423595 33346f699996421fc8bf22a25f574de470142a41
parent 417258 652c4066dab8a167fd2ac75d84a246585c4e7efd
child 433146 1ee0d35a041f6e439c2dff26a1e1790745b3a667
permissions -rw-r--r--
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b. MozReview-Commit-ID: 5UQVHElSpCr

# -*- 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/.

external_dirs = []

DIRS += [
    'lgpllibs',
    'sqlite',
]
if not CONFIG['MOZ_SYSTEM_JPEG']:
    external_dirs += ['media/libjpeg']

# There's no "native" brotli or woff2 yet, but probably in the future...
external_dirs += ['modules/brotli']
external_dirs += ['modules/woff2']

external_dirs += ['modules/xz-embedded']

if CONFIG['MOZ_VORBIS']:
    external_dirs += ['media/libvorbis']

if CONFIG['MOZ_TREMOR']:
    external_dirs += ['media/libtremor']

if CONFIG['MOZ_WEBM_ENCODER']:
    external_dirs += ['media/libmkv']

if not CONFIG['MOZ_SYSTEM_LIBVPX']:
    external_dirs += ['media/libvpx']

if CONFIG['MOZ_AV1']:
    external_dirs += ['media/libaom']

if not CONFIG['MOZ_SYSTEM_PNG']:
    external_dirs += ['media/libpng']

if CONFIG['CPU_ARCH'] == 'arm':
    external_dirs += ['media/openmax_dl/dl']

if CONFIG['MOZ_FFVPX']:
    external_dirs += ['media/ffvpx']

external_dirs += [
    'media/kiss_fft',
    'media/libcubeb',
    'media/libnestegg',
    'media/libogg',
    'media/libopus',
    'media/libtheora',
    'media/libspeex_resampler',
    'media/libsoundtouch',
    'media/mp4parse-rust',
    'media/psshparser'
]

DIRS += ['../../' + i for i in external_dirs]