michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if not CONFIG['MOZ_PROFILE_GENERATE']: michael@0: PROGRAM = 'spacetrace' michael@0: SOURCES += [ michael@0: 'formdata.c', michael@0: 'spacecategory.c', michael@0: 'spacetrace.c', michael@0: ] michael@0: michael@0: bin_suffix = CONFIG['BIN_SUFFIX'] michael@0: michael@0: michael@0: simple_c_sources = [ michael@0: 'leakstats', michael@0: 'tmstats', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: '%s.c' % s for s in simple_c_sources michael@0: ] michael@0: SOURCES += [ michael@0: 'tmreader.c', michael@0: ] michael@0: michael@0: SIMPLE_PROGRAMS += simple_c_sources michael@0: michael@0: simple_cpp_sources = [ michael@0: 'bloatblame', michael@0: 'leaksoup', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: '%s.cpp' % s for s in simple_cpp_sources michael@0: ] michael@0: michael@0: SIMPLE_PROGRAMS += simple_cpp_sources michael@0: michael@0: RESOURCE_FILES += [ michael@0: 'spacetrace.css' michael@0: ]