js/app.mozbuild
author Sandor Molnar <smolnar@mozilla.com>
Thu, 06 Oct 2022 12:03:15 +0300
changeset 637075 83c0895d0f34788ad8271141e06b00ebdb0b9188
parent 558971 9b02f9c1688ba55a9c939adfa44e2f507b40b8fa
permissions -rw-r--r--
Backed out 2 changesets (bug 1793414) for causing browser-chrome failures in browser/components/search/test/browser/browser_searchbar_context.js CLOSED TREE Backed out changeset f27b2a93224e (bug 1793414) Backed out changeset 1f011637d116 (bug 1793414)

# -*- 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',
    '/mfbt',
    '/mozglue',
]

if CONFIG['JS_HAS_INTL_API']:
    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/',
    ]