js/app.mozbuild
author Nick Alexander <nalexander@mozilla.com>
Tue, 07 Nov 2017 20:26:43 -0800
changeset 399327 690e265c684ce70ecb89355314fd1574bb421f0b
parent 397077 8e075bee2a527a028d847334ed4fbda6ec5d07e3
child 400367 2e98bda3f39735bbc557c4652a03a071044b03b4
permissions -rw-r--r--
Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella There were a few API changes, mostly around explicitly creating Services/Activities/ContentProvider instances, but they were pretty easy to address. Sadly, Robolectric doesn't really work with the new aapt2 processing in Android-Gradle plugin 3.0+ -- see in particular https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418 -- so we have to opt-out of the new implementation for now. Hopefully plugin 3.1+ will address these issues, which are widespread. MozReview-Commit-ID: dlbd32kMs6

# -*- 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',
    ]