|
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 EXPORTS.mozilla.ipc += [ |
|
8 'TestShellChild.h', |
|
9 'TestShellParent.h', |
|
10 'XPCShellEnvironment.h', |
|
11 ] |
|
12 |
|
13 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X |
|
14 if CONFIG['OS_ARCH'] != 'Darwin': |
|
15 XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini'] |
|
16 |
|
17 SOURCES += [ |
|
18 'TestShellChild.cpp', |
|
19 'TestShellParent.cpp', |
|
20 'XPCShellEnvironment.cpp', |
|
21 ] |
|
22 |
|
23 IPDL_SOURCES = [ |
|
24 'PTestShell.ipdl', |
|
25 'PTestShellCommand.ipdl', |
|
26 ] |
|
27 |
|
28 FAIL_ON_WARNINGS = True |
|
29 |
|
30 include('/ipc/chromium/chromium-config.mozbuild') |
|
31 |
|
32 FINAL_LIBRARY = 'xul' |
|
33 |
|
34 # For xpcshell error messages and nsDependentJSString |
|
35 LOCAL_INCLUDES += [ |
|
36 '/dom/base', |
|
37 '/js/xpconnect/src', |
|
38 ] |
|
39 |