startupcache/moz.build
author Jean-Yves Avenard <jyavenard@mozilla.com>
Fri, 25 Sep 2015 17:08:58 +1000
changeset 298014 358e3ce0a2187121469d3fbb4a1216913a8336ad
parent 292691 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Bug 1207429: P2. Enable FFmpeg by default if available. r=kentuckyfriedtakahe By default we only use libav 9 or FFmpeg 1.2 if found on the system. If media.fragmented-mp4.ffmpeg.enabled is set, will allow use of libav 0.7 and ffmpeg 0.8 or later.

# -*- Mode: python; c-basic-offset: 4; 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/.

if not CONFIG['MOZ_B2G']:
    TEST_DIRS += ['test']

XPIDL_SOURCES += [
    'nsIStartupCache.idl',
]

XPIDL_MODULE = 'startupcache'

EXPORTS.mozilla.scache += [
    'StartupCache.h',
    'StartupCacheUtils.h',
]

# These files cannot be built in unified mode because they rely on plarena.h.
SOURCES += [
    'StartupCache.cpp',
    'StartupCacheModule.cpp',
    'StartupCacheUtils.cpp',
]

FINAL_LIBRARY = 'xul'