|
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 PROGRAM = 'gdb-tests' |
|
8 |
|
9 UNIFIED_SOURCES += [ |
|
10 'gdb-tests.cpp', |
|
11 'tests/test-jsid.cpp', |
|
12 'tests/test-JSObject.cpp', |
|
13 'tests/test-JSString.cpp', |
|
14 'tests/test-jsval.cpp', |
|
15 'tests/test-prettyprinters.cpp', |
|
16 'tests/test-Root.cpp', |
|
17 'tests/typedef-printers.cpp', |
|
18 ] |
|
19 |
|
20 # Building against js_static requires that we declare mfbt sybols "exported" |
|
21 # on its behalf. |
|
22 for var in ('EXPORT_JS_API', 'IMPL_MFBT'): |
|
23 DEFINES[var] = True |
|
24 |
|
25 LOCAL_INCLUDES += ['..'] |
|
26 GENERATED_INCLUDES += ['..'] |