|
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 DIRS += ['idl'] |
|
8 TEST_TOOL_DIRS += ['test'] |
|
9 |
|
10 EXPORTS += [ |
|
11 'jsdebug.h', |
|
12 ] |
|
13 |
|
14 XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini'] |
|
15 |
|
16 UNIFIED_SOURCES += [ |
|
17 'jsd_atom.cpp', |
|
18 'jsd_high.cpp', |
|
19 'jsd_hook.cpp', |
|
20 'jsd_lock.cpp', |
|
21 'jsd_obj.cpp', |
|
22 'jsd_scpt.cpp', |
|
23 'jsd_stak.cpp', |
|
24 'jsd_step.cpp', |
|
25 'jsd_text.cpp', |
|
26 'jsd_val.cpp', |
|
27 'jsd_xpc.cpp', |
|
28 'jsdebug.cpp', |
|
29 'jshash.cpp', |
|
30 ] |
|
31 |
|
32 DEFINES['EXPORT_JSD_API'] = True |
|
33 |
|
34 if CONFIG['JS_THREADSAFE']: |
|
35 DEFINES['JS_THREADSAFE'] = True |
|
36 |
|
37 FINAL_LIBRARY = 'xul' |