Bug 1467936 [wpt PR 11436] - Split up editing/run/* with `variant`, a=testonly
[gecko.git] / js / app.mozbuild
blob80488800c5eaeff32ecc5fb4ff1a0eaf06ce79d8
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/.
7 if CONFIG['COMPILE_ENVIRONMENT']:
8     DIRS += [
9         '/js/src',
10     ]
11 else:
12     TEST_DIRS += [
13         '/js/src/tests',
14     ]
16 if CONFIG['JS_STANDALONE'] and CONFIG['OS_ARCH'] != 'WINNT':
17     DIRS += [
18         '/build/unix',
19     ]
21 DIRS += [
22     '/config/external/fdlibm',
23     '/config/external/nspr',
24     '/config/external/zlib',
25     '/memory',
26     '/mozglue',
29 if CONFIG['USE_ICU']:
30     DIRS += [
31         '/config/external/icu',
32     ]
34 if CONFIG['COMPILE_ENVIRONMENT'] and CONFIG['BUILD_CTYPES']:
35     DIRS += [
36         '/config/external/ffi',
37     ]
39 if CONFIG['JS_STANDALONE'] and CONFIG['FUZZING']:
40     DIRS += [
41         '/tools/fuzzing/',
42     ]