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: 'elfutils.cc', michael@0: 'guid_creator.cc', michael@0: 'linux_libc_support.cc', michael@0: 'memory_mapped_file.cc', michael@0: 'safe_readlink.cc', michael@0: ] michael@0: michael@0: # file_id.cc cannot be built in unified mode because it uses a custom DISABLE_STL_WRAPPING michael@0: SOURCES += [ michael@0: 'file_id.cc', michael@0: ] michael@0: michael@0: if CONFIG['OS_TARGET'] != 'Android': michael@0: UNIFIED_SOURCES += [ michael@0: 'http_upload.cc', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_CRASHREPORTER']: michael@0: HOST_LIBRARY_NAME = 'host_breakpad_linux_common_s' michael@0: HOST_SOURCES += [ michael@0: 'dump_symbols.cc', michael@0: 'elf_symbols_to_module.cc', michael@0: 'elfutils.cc', michael@0: 'file_id.cc', michael@0: 'guid_creator.cc', michael@0: 'linux_libc_support.cc', michael@0: 'memory_mapped_file.cc', michael@0: ] michael@0: michael@0: LIBRARY_NAME = 'breakpad_linux_common_s' 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: DEFINES['NO_STABS_SUPPORT'] = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/crashreporter/google-breakpad/src', michael@0: ] michael@0: