js/app.mozbuild
author David Teller <dteller@mozilla.com>
Wed, 07 Aug 2019 09:17:11 +0000
changeset 486772 e2fa438ebdc7d2f579c2a0e11c997d19eed20e7c
parent 475819 2a053de2828f0ef7bc9a05d6ce193406601411bf
permissions -rw-r--r--
Bug 1569197 - Backed out changeset 2a053de2828f;r=arai Since we do not use Brotli as part of SpiderMonkey anymore, let's avoid linking it. Differential Revision: https://phabricator.services.mozilla.com/D40705

# -*- 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/.

if CONFIG['COMPILE_ENVIRONMENT']:
    DIRS += [
        '/js/src',
    ]
else:
    TEST_DIRS += [
        '/js/src/tests',
    ]

if CONFIG['JS_STANDALONE'] and CONFIG['OS_ARCH'] != 'WINNT':
    DIRS += [
        '/build/unix',
    ]

DIRS += [
    '/config/external/fdlibm',
    '/config/external/nspr',
    '/config/external/zlib',
    '/memory',
    '/mozglue',
]

if CONFIG['USE_ICU']:
    DIRS += [
        '/config/external/icu',
    ]

if CONFIG['COMPILE_ENVIRONMENT'] and CONFIG['BUILD_CTYPES']:
    DIRS += [
        '/config/external/ffi',
    ]

if CONFIG['JS_STANDALONE'] and CONFIG['FUZZING']:
    DIRS += [
        '/tools/fuzzing/',
    ]