xpcom/threads/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial