mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
38ff4b7d87
The only reason autospider builds succeed in running tests at the moment is that there is a libnspr4 library installed at the system level on Centos that is binary compatible with what the js shell requires. While on the long run we should just avoid depending on libnspr4 at all, in the short term, we should make the effort to make those tests use the libnspr4 present in dist/bin. For the tests executed from js/src/Makefile.in, it turns out there is already a level of wrapping that does that, relying on run-mozilla.sh, which is only installed on gecko builds. Installing it on standalone js builds solve half the problem. The other half is addressed by setting LD_LIBRARY_PATH before invoking the js shell in the various places it's invoked. --HG-- extra : rebase_source : 25f4b1f5c78eb84e48046dc83798f07eb02d4a81
39 lines
865 B
Python
39 lines
865 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',
|
|
]
|
|
|
|
if CONFIG['JS_STANDALONE'] and CONFIG['OS_ARCH'] != 'WINNT':
|
|
DIRS += [
|
|
'/build/unix',
|
|
]
|
|
|
|
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',
|
|
]
|
|
|