toolkit/crashreporter/injector/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 04 Sep 2014 09:04:45 +0900
changeset 203474 8b5e3ba0f83d448eac343b84e95c2caae988524f
parent 203471 01a0e2c9c595e983605cb0aa5c12c9eceeb8ae7f
permissions -rw-r--r--
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps Also force to use the existing template for XPCOM components.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SOURCES += [
    'injector.cpp',
]

SharedLibrary('breakpadinjector')

include('/ipc/chromium/chromium-config.mozbuild')

LOCAL_INCLUDES += [
    '/toolkit/crashreporter/google-breakpad/src',
]

USE_STATIC_LIBS = True

if CONFIG['GNU_CC']:
    LDFLAGS += ['-Wl,-e,_DummyEntryPoint@12']
else:
    LDFLAGS += ['-ENTRY:DummyEntryPoint']

DISABLE_STL_WRAPPING = True