xpcom/threads/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 XPIDL_SOURCES += [
     8     'nsICancelableRunnable.idl',
     9     'nsIEnvironment.idl',
    10     'nsIEventTarget.idl',
    11     'nsIProcess.idl',
    12     'nsIRunnable.idl',
    13     'nsISupportsPriority.idl',
    14     'nsIThread.idl',
    15     'nsIThreadInternal.idl',
    16     'nsIThreadManager.idl',
    17     'nsIThreadPool.idl',
    18     'nsITimer.idl',
    19 ]
    21 XPIDL_MODULE = 'xpcom_threads'
    23 EXPORTS += [
    24     'nsEventQueue.h',
    25     'nsMemoryPressure.h',
    26     'nsProcess.h',
    27     'nsThread.h',
    28 ]
    30 EXPORTS.mozilla += [
    31     'BackgroundHangMonitor.h',
    32     'HangMonitor.h',
    33     'LazyIdleThread.h',
    34     'SyncRunnable.h',
    35 ]
    37 UNIFIED_SOURCES += [
    38     'BackgroundHangMonitor.cpp',
    39     'HangMonitor.cpp',
    40     'LazyIdleThread.cpp',
    41     'nsEnvironment.cpp',
    42     'nsEventQueue.cpp',
    43     'nsMemoryPressure.cpp',
    44     'nsProcessCommon.cpp',
    45     'nsThread.cpp',
    46     'nsThreadManager.cpp',
    47     'nsThreadPool.cpp',
    48     'nsTimerImpl.cpp',
    49     'ThreadStackHelper.cpp',
    50     'TimerThread.cpp',
    51 ]
    53 MSVC_ENABLE_PGO = True
    55 LOCAL_INCLUDES += [
    56     '../build',
    57 ]
    59 FAIL_ON_WARNINGS = True
    61 FINAL_LIBRARY = 'xpcom_core'
    63 include('/ipc/chromium/chromium-config.mozbuild')

mercurial