mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
3d67bc07a1
When building with a --enable-project that is neither js nor a toolkit-based one (like browser or mobile/android), we don't want to be building things that are specific to gecko and/or spidermonkey. At the same time, this lifts the exception that js standalone doesn't have an app.mozbuild included, and makes the moz.build parsers that don't set a MOZ_BUILD_APP get the same information as they were through toolkit.mozbuild. We still keep mfbt, build and a few other DIRS set from the top-level, because at the moment, there aren't really any --enable-project that would benefit from those not being recursed.
34 lines
760 B
Python
34 lines
760 B
Python
# -*- 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',
|
|
]
|
|
|
|
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',
|
|
]
|
|
|