startupcache/moz.build
author Chris Pearce <cpearce@mozilla.com>
Tue, 31 Jan 2017 21:28:41 +1300
changeset 360931 0ec2488aebbd2f493cb72b99086bf080337189d9
parent 331170 3ec6380fca8207fa199693206a3ca24975bf9833
child 373611 178687f32be689c4767451b2bce5462c1e7f65e2
permissions -rw-r--r--
Bug 1333489 - Record time spent waiting on sync IPC. r=billm,francois We're curious how long we spend waiting on sync IPCs to complete. So this patch adds telemetry which reports that, on a per message basis, so we can identify problem messages. MozReview-Commit-ID: CB4UaitPBeq

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

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'