https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 2480fa01c44aaad349956bebb9ca81005d1a3ae2 authored by ffxbld on 13 July 2015, 20:23:20 UTC
Added FENNEC_39_0_2_RELEASE FENNEC_39_0_2_BUILD1 tag(s) for changeset 507d79db3aae. DONTBUILD CLOSED TREE a=release
Tip revision: 2480fa0
moz.build
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

GeckoProgram('gdb-tests', linkage=None)

UNIFIED_SOURCES += [
    'gdb-tests.cpp',
    'tests/test-Interpreter.cpp',
    'tests/test-jsid.cpp',
    'tests/test-JSObject.cpp',
    'tests/test-JSString.cpp',
    'tests/test-JSSymbol.cpp',
    'tests/test-jsval.cpp',
    'tests/test-prettyprinters.cpp',
    'tests/test-Root.cpp',
    'tests/typedef-printers.cpp',
]

# Building against js_static requires that we declare mfbt sybols "exported"
# on its behalf.
for var in ('EXPORT_JS_API', 'IMPL_MFBT'):
    DEFINES[var] = True

LOCAL_INCLUDES += ['..']
GENERATED_INCLUDES += ['..']

USE_LIBS += [
    'static:js',
]

OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']

FAIL_ON_WARNINGS = True
back to top