dom/xhr/moz.build
author Jan de Mooij <jdemooij@mozilla.com>
Wed, 13 Feb 2019 06:41:44 +0000
changeset 516733 8c306186cbd7672259b3a730471cfcbe44a9b0d0
parent 456652 2c9c1b0ef8c305fac3407ad4d75a69374d894701
child 522610 f74e07af9897218f5af09cc0188e753e74ecb58d
permissions -rw-r--r--
Bug 1526588 - Fix some issues with js::GetFirstGlobalInCompartment and XPCWrappedNativeScope::UpdateWeakPointersInAllScopesAfterGC. r=bzbarsky Differential Revision: https://phabricator.services.mozilla.com/D19493

# -*- Mode: python; 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/.

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM")

EXPORTS.mozilla.dom += [
    'XMLHttpRequest.h',
    'XMLHttpRequestEventTarget.h',
    'XMLHttpRequestMainThread.h',
    'XMLHttpRequestString.h',
    'XMLHttpRequestUpload.h',
]

UNIFIED_SOURCES += [
    'XMLHttpRequest.cpp',
    'XMLHttpRequestEventTarget.cpp',
    'XMLHttpRequestMainThread.cpp',
    'XMLHttpRequestString.cpp',
    'XMLHttpRequestUpload.cpp',
    'XMLHttpRequestWorker.cpp',
]

LOCAL_INCLUDES += [
    '/dom/base',
    '/dom/file',
    '/netwerk/base',
]

MOCHITEST_MANIFESTS += [ 'tests/mochitest.ini' ]

BROWSER_CHROME_MANIFESTS += [ 'tests/browser.ini' ]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'