mozglue/moz.build
author Jim Blandy <jimb@mozilla.com>
Thu, 19 Mar 2015 02:12:53 -0700
changeset 234871 5e45fba743aaa512910782fa01cd189ca15900ac
parent 213030 7c2f1416473fc4c03f96299a68ba869de9467b48
child 249647 bf2f1318c3c052e9da173c32ed1dab4de2a4a30c
permissions -rw-r--r--
Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the unneeded code for such builds. Since the SpiderMonkey binaries are now more like the other Gecko binaries, we can remove some special cases for JS_STANDALONE in GeckoSharedLibrary, GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so we no longer need mention mfbt explicitly. Add a property to the getBuildConfiguration testing function's result that indicates whether we're using jemalloc or not. Include the newly necessary source directories in the SpiderMonkey source package.

# -*- 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['MOZ_LINKER']:
    DIRS += ['linker']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    DIRS += ['android']

DIRS += ['build']

if CONFIG['MOZ_CRT']:
    DIRS += ['crt']

if not CONFIG['JS_STANDALONE']:
    TEST_DIRS += ['tests']