toolkit/crashreporter/injector/moz.build
author Ehsan Akhgari <ehsan@mozilla.com>
Wed, 26 Feb 2014 21:40:07 -0500
changeset 170880 dcb142b44f68d8ae5636adfb9a981b13fb05b96d
parent 169043 20d7a9037429b138123195e3e994a7ebbbf59459
child 171901 7d223c2e7fa9fe18c4380679df63cc9db41a63bc
permissions -rw-r--r--
Bug 975734 - Port the LDFLAGS variables in toolkit/crashreporter/injector/Makefile.in to moz.build; r=mshal

# -*- 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',
]

LIBRARY_NAME = 'breakpadinjector'

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

FORCE_SHARED_LIB = True

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

USE_STATIC_LIBS = True

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