dom/bindings/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/bindings/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,98 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +TEST_DIRS += ['test']
    1.11 +
    1.12 +EXPORTS.mozilla += [
    1.13 +    'ErrorResult.h',
    1.14 +]
    1.15 +
    1.16 +EXPORTS.mozilla.dom += [
    1.17 +    'AtomList.h',
    1.18 +    'BindingDeclarations.h',
    1.19 +    'BindingUtils.h',
    1.20 +    'CallbackFunction.h',
    1.21 +    'CallbackInterface.h',
    1.22 +    'CallbackObject.h',
    1.23 +    'Date.h',
    1.24 +    'DOMJSClass.h',
    1.25 +    'DOMJSProxyHandler.h',
    1.26 +    'DOMString.h',
    1.27 +    'Errors.msg',
    1.28 +    'Exceptions.h',
    1.29 +    'JSSlots.h',
    1.30 +    'MozMap.h',
    1.31 +    'NonRefcountedDOMObject.h',
    1.32 +    'Nullable.h',
    1.33 +    'OwningNonNull.h',
    1.34 +    'PrimitiveConversions.h',
    1.35 +    'RootedDictionary.h',
    1.36 +    'ToJSValue.h',
    1.37 +    'TypedArray.h',
    1.38 +    'UnionMember.h',
    1.39 +]
    1.40 +
    1.41 +FAIL_ON_WARNINGS = True
    1.42 +
    1.43 +MSVC_ENABLE_PGO = True
    1.44 +
    1.45 +LOCAL_INCLUDES += [
    1.46 +    '/content/base/src',
    1.47 +    '/content/canvas/src',
    1.48 +    '/content/html/content/src',
    1.49 +    '/content/html/document/src',
    1.50 +    '/content/media/webaudio',
    1.51 +    '/content/media/webspeech/recognition',
    1.52 +    '/content/svg/content/src',
    1.53 +    '/content/xml/content/src',
    1.54 +    '/content/xul/content/src',
    1.55 +    '/content/xul/document/src',
    1.56 +    '/dom/base',
    1.57 +    '/dom/battery',
    1.58 +    '/dom/bluetooth',
    1.59 +    '/dom/camera',
    1.60 +    '/dom/file',
    1.61 +    '/dom/indexedDB',
    1.62 +    '/dom/src/geolocation',
    1.63 +    '/dom/workers',
    1.64 +    '/dom/xbl',
    1.65 +    '/dom/xslt/base',
    1.66 +    '/dom/xslt/xpath',
    1.67 +    '/js/ipc',
    1.68 +    '/js/xpconnect/src',
    1.69 +    '/js/xpconnect/wrappers',
    1.70 +    '/layout/style',
    1.71 +    '/layout/xul/tree',
    1.72 +    '/media/mtransport',
    1.73 +    '/media/webrtc/signaling/src/common/time_profiling',
    1.74 +    '/media/webrtc/signaling/src/peerconnection',
    1.75 +]
    1.76 +
    1.77 +UNIFIED_SOURCES += [
    1.78 +    'BindingUtils.cpp',
    1.79 +    'CallbackInterface.cpp',
    1.80 +    'CallbackObject.cpp',
    1.81 +    'Date.cpp',
    1.82 +    'DOMJSProxyHandler.cpp',
    1.83 +    'Exceptions.cpp',
    1.84 +    'ToJSValue.cpp',
    1.85 +]
    1.86 +
    1.87 +include('/ipc/chromium/chromium-config.mozbuild')
    1.88 +
    1.89 +if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
    1.90 +    LOCAL_INCLUDES += [
    1.91 +        '/dom/system/gonk',
    1.92 +    ]
    1.93 +
    1.94 +FINAL_LIBRARY = 'xul'
    1.95 +
    1.96 +SPHINX_TREES['webidl'] = 'docs'
    1.97 +SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen']
    1.98 +
    1.99 +if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
   1.100 +    # This is needed for Window.webidl
   1.101 +    DEFINES['HAVE_SIDEBAR'] = True

mercurial