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: 'arch_utilities.cc', michael@0: 'bootstrap_compat.cc', michael@0: 'file_id.cc', michael@0: 'macho_id.cc', michael@0: 'macho_reader.cc', michael@0: 'macho_utilities.cc', michael@0: 'macho_walker.cc', michael@0: 'string_utilities.cc', michael@0: ] michael@0: michael@0: # This is a little weird, but we're building a host and a target lib here. michael@0: # The host lib is used for dump_syms, and the target lib for the michael@0: # crash reporter client. Therefore, we don't need all the srcs in both. michael@0: if CONFIG['MOZ_CRASHREPORTER']: michael@0: HOST_SOURCES += UNIFIED_SOURCES michael@0: HOST_SOURCES += [ michael@0: 'dump_syms.mm', michael@0: ] michael@0: HOST_LIBRARY_NAME = 'host_breakpad_mac_common_s' michael@0: michael@0: SOURCES += [ michael@0: 'HTTPMultipartUpload.m', michael@0: 'MachIPC.mm', michael@0: ] michael@0: michael@0: LIBRARY_NAME = 'breakpad_mac_common_s' michael@0: michael@0: FINAL_LIBRARY = 'xulapp_s' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../..', michael@0: ] michael@0: michael@0: CMFLAGS += ['-std=c99']