tools/memory-profiler/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 04 Feb 2016 13:40:10 +0900
changeset 283076 ef28fb13dc0b8044567120e3eb9619a9f9a48339
parent 261091 e8a1845876d68520b5ab51d156b524fef9057f17
child 297480 2572c0758dd4377a832c1e8ed16522dc829634ad
permissions -rw-r--r--
Bug 1245763 - Group sources and linkables handling function cals in mozbuild.emitter. r=gps

# -*- 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 CONFIG['MOZ_ENABLE_PROFILER_SPS']:
    XPIDL_MODULE = 'memory_profiler'
    XPIDL_SOURCES += [
        'nsIMemoryProfiler.idl',
    ]

    UNIFIED_SOURCES += [
        'GCHeapProfilerImpl.cpp',
        'MemoryProfiler.cpp',
        'NativeProfilerImpl.cpp',
        'nsMemoryProfilerFactory.cpp',
        'UncensoredAllocator.cpp',
    ]

    LOCAL_INCLUDES += [
        '/js/xpconnect/src',
        '/xpcom/base',
    ]

    FINAL_LIBRARY = 'xul'