|
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 LIBRARY_NAME = 'sandboxbroker' |
|
8 EXPORT_LIBRARY = True |
|
9 |
|
10 SOURCES += [ |
|
11 'sandboxBroker.cpp', |
|
12 ] |
|
13 |
|
14 EXPORTS += [ |
|
15 'sandboxBroker.h', |
|
16 ] |
|
17 |
|
18 FORCE_SHARED_LIB = True |
|
19 |
|
20 for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM', 'NOMINMAX', |
|
21 'SANDBOX_EXPORTS'): |
|
22 DEFINES[var] = True |
|
23 |
|
24 LOCAL_INCLUDES += [ |
|
25 '/security', |
|
26 '/security/sandbox', |
|
27 '/security/sandbox/chromium', |
|
28 ] |
|
29 |
|
30 DISABLE_STL_WRAPPING = True |