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: UNIFIED_SOURCES += [ michael@0: 'linux_dumper.cc', michael@0: 'linux_ptrace_dumper.cc', michael@0: 'minidump_writer.cc', michael@0: ] michael@0: michael@0: XPI_NAME = 'crashreporter' michael@0: michael@0: FINAL_LIBRARY = 'xulapp_s' michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': michael@0: DEFINES['ELFSIZE'] = 32 michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/crashreporter/google-breakpad/src', michael@0: ] michael@0: michael@0: if CONFIG['OS_TARGET'] == 'Android': michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/crashreporter/google-breakpad/src/common/android/include', michael@0: ]