dom/xhr/moz.build
author Xidorn Quan <me@upsuper.org>
Wed, 13 Jul 2016 09:01:25 +1000
changeset 305792 875e441f8b804adaf67ad704171c8b2f04015499
parent 302778 155012d3d3731e10e085ae0841d308ca0515a35c
child 306127 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1286089 - Ensure servo can be linked properly for different compilers. r=glandium MozReview-Commit-ID: 71NofEtZx6B

# -*- 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/.

XPIDL_SOURCES += [
    'nsIXMLHttpRequest.idl',
]

XPIDL_MODULE = 'dom_xhr'

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

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

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

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

FINAL_LIBRARY = 'xul'