|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 SOURCES += [ |
|
8 'injector.cpp', |
|
9 ] |
|
10 |
|
11 LIBRARY_NAME = 'breakpadinjector' |
|
12 |
|
13 include('/ipc/chromium/chromium-config.mozbuild') |
|
14 |
|
15 FORCE_SHARED_LIB = True |
|
16 |
|
17 LOCAL_INCLUDES += [ |
|
18 '/toolkit/crashreporter/google-breakpad/src', |
|
19 ] |
|
20 |
|
21 USE_STATIC_LIBS = True |
|
22 |
|
23 if CONFIG['GNU_CC']: |
|
24 LDFLAGS += ['-Wl,-e,_DummyEntryPoint@12'] |
|
25 else: |
|
26 LDFLAGS += ['-ENTRY:DummyEntryPoint'] |
|
27 |
|
28 DISABLE_STL_WRAPPING = True |