tools/trace-malloc/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/trace-malloc/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     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 +if not CONFIG['MOZ_PROFILE_GENERATE']:
    1.11 +    PROGRAM = 'spacetrace'
    1.12 +    SOURCES += [
    1.13 +        'formdata.c',
    1.14 +        'spacecategory.c',
    1.15 +        'spacetrace.c',
    1.16 +    ]
    1.17 +
    1.18 +bin_suffix = CONFIG['BIN_SUFFIX']
    1.19 +
    1.20 +
    1.21 +simple_c_sources = [
    1.22 +    'leakstats',
    1.23 +    'tmstats',
    1.24 +]
    1.25 +
    1.26 +SOURCES += [
    1.27 +    '%s.c' % s for s in simple_c_sources
    1.28 +]
    1.29 +SOURCES += [
    1.30 +    'tmreader.c',
    1.31 +]
    1.32 +
    1.33 +SIMPLE_PROGRAMS += simple_c_sources
    1.34 +
    1.35 +simple_cpp_sources = [
    1.36 +    'bloatblame',
    1.37 +    'leaksoup',
    1.38 +]
    1.39 +
    1.40 +SOURCES += [
    1.41 +    '%s.cpp' % s for s in simple_cpp_sources
    1.42 +]
    1.43 +
    1.44 +SIMPLE_PROGRAMS += simple_cpp_sources
    1.45 +
    1.46 +RESOURCE_FILES += [
    1.47 +    'spacetrace.css'
    1.48 +]

mercurial