tools/trace-malloc/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.

     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