xpcom/threads/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/threads/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,63 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +XPIDL_SOURCES += [
    1.11 +    'nsICancelableRunnable.idl',
    1.12 +    'nsIEnvironment.idl',
    1.13 +    'nsIEventTarget.idl',
    1.14 +    'nsIProcess.idl',
    1.15 +    'nsIRunnable.idl',
    1.16 +    'nsISupportsPriority.idl',
    1.17 +    'nsIThread.idl',
    1.18 +    'nsIThreadInternal.idl',
    1.19 +    'nsIThreadManager.idl',
    1.20 +    'nsIThreadPool.idl',
    1.21 +    'nsITimer.idl',
    1.22 +]
    1.23 +
    1.24 +XPIDL_MODULE = 'xpcom_threads'
    1.25 +
    1.26 +EXPORTS += [
    1.27 +    'nsEventQueue.h',
    1.28 +    'nsMemoryPressure.h',
    1.29 +    'nsProcess.h',
    1.30 +    'nsThread.h',
    1.31 +]
    1.32 +
    1.33 +EXPORTS.mozilla += [
    1.34 +    'BackgroundHangMonitor.h',
    1.35 +    'HangMonitor.h',
    1.36 +    'LazyIdleThread.h',
    1.37 +    'SyncRunnable.h',
    1.38 +]
    1.39 +
    1.40 +UNIFIED_SOURCES += [
    1.41 +    'BackgroundHangMonitor.cpp',
    1.42 +    'HangMonitor.cpp',
    1.43 +    'LazyIdleThread.cpp',
    1.44 +    'nsEnvironment.cpp',
    1.45 +    'nsEventQueue.cpp',
    1.46 +    'nsMemoryPressure.cpp',
    1.47 +    'nsProcessCommon.cpp',
    1.48 +    'nsThread.cpp',
    1.49 +    'nsThreadManager.cpp',
    1.50 +    'nsThreadPool.cpp',
    1.51 +    'nsTimerImpl.cpp',
    1.52 +    'ThreadStackHelper.cpp',
    1.53 +    'TimerThread.cpp',
    1.54 +]
    1.55 +
    1.56 +MSVC_ENABLE_PGO = True
    1.57 +
    1.58 +LOCAL_INCLUDES += [
    1.59 +    '../build',
    1.60 +]
    1.61 +
    1.62 +FAIL_ON_WARNINGS = True
    1.63 +
    1.64 +FINAL_LIBRARY = 'xpcom_core'
    1.65 +
    1.66 +include('/ipc/chromium/chromium-config.mozbuild')

mercurial