startupcache/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Sun, 22 May 2016 13:31:11 -0700
changeset 299434 86cda9d3eaa2c6ca8c88801f44dcfaff22591ed8
parent 260092 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 306106 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj

# -*- 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'