tools/trace-malloc/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 if not CONFIG['MOZ_PROFILE_GENERATE']:
     8     PROGRAM = 'spacetrace'
     9     SOURCES += [
    10         'formdata.c',
    11         'spacecategory.c',
    12         'spacetrace.c',
    13     ]
    15 bin_suffix = CONFIG['BIN_SUFFIX']
    18 simple_c_sources = [
    19     'leakstats',
    20     'tmstats',
    21 ]
    23 SOURCES += [
    24     '%s.c' % s for s in simple_c_sources
    25 ]
    26 SOURCES += [
    27     'tmreader.c',
    28 ]
    30 SIMPLE_PROGRAMS += simple_c_sources
    32 simple_cpp_sources = [
    33     'bloatblame',
    34     'leaksoup',
    35 ]
    37 SOURCES += [
    38     '%s.cpp' % s for s in simple_cpp_sources
    39 ]
    41 SIMPLE_PROGRAMS += simple_cpp_sources
    43 RESOURCE_FILES += [
    44     'spacetrace.css'
    45 ]

mercurial