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 7if CONFIG['COMPILE_ENVIRONMENT']: 8 DIRS += [ 9 '/js/src', 10 ] 11else: 12 TEST_DIRS += [ 13 '/js/src/tests', 14 ] 15 16if CONFIG['JS_STANDALONE'] and CONFIG['OS_ARCH'] != 'WINNT': 17 DIRS += [ 18 '/build/unix', 19 ] 20 21DIRS += [ 22 '/config/external/fdlibm', 23 '/config/external/nspr', 24 '/config/external/zlib', 25 '/memory', 26 '/mfbt', 27 '/mozglue', 28] 29 30if CONFIG['JS_HAS_INTL_API']: 31 DIRS += [ 32 '/config/external/icu', 33 ] 34 35if CONFIG['COMPILE_ENVIRONMENT'] and CONFIG['BUILD_CTYPES']: 36 DIRS += [ 37 '/config/external/ffi', 38 ] 39 40if CONFIG['JS_STANDALONE'] and CONFIG['FUZZING']: 41 DIRS += [ 42 '/tools/fuzzing/', 43 ] 44 45