js/src/gdb/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/gdb/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +PROGRAM = 'gdb-tests'
    1.11 +
    1.12 +UNIFIED_SOURCES += [
    1.13 +    'gdb-tests.cpp',
    1.14 +    'tests/test-jsid.cpp',
    1.15 +    'tests/test-JSObject.cpp',
    1.16 +    'tests/test-JSString.cpp',
    1.17 +    'tests/test-jsval.cpp',
    1.18 +    'tests/test-prettyprinters.cpp',
    1.19 +    'tests/test-Root.cpp',
    1.20 +    'tests/typedef-printers.cpp',
    1.21 +]
    1.22 +
    1.23 +# Building against js_static requires that we declare mfbt sybols "exported"
    1.24 +# on its behalf.
    1.25 +for var in ('EXPORT_JS_API', 'IMPL_MFBT'):
    1.26 +    DEFINES[var] = True
    1.27 +
    1.28 +LOCAL_INCLUDES += ['..']
    1.29 +GENERATED_INCLUDES += ['..']

mercurial