layout/style/moz.build

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 DIRS += ['xbl-marquee']
michael@0 8 TEST_TOOL_DIRS += ['test']
michael@0 9
michael@0 10 EXPORTS += [
michael@0 11 'AnimationCommon.h',
michael@0 12 'nsAnimationManager.h',
michael@0 13 'nsComputedDOMStylePropertyList.h',
michael@0 14 'nsCSSAnonBoxes.h',
michael@0 15 'nsCSSAnonBoxList.h',
michael@0 16 'nsCSSFontDescList.h',
michael@0 17 'nsCSSKeywordList.h',
michael@0 18 'nsCSSKeywords.h',
michael@0 19 'nsCSSParser.h',
michael@0 20 'nsCSSPropAliasList.h',
michael@0 21 'nsCSSProperty.h',
michael@0 22 'nsCSSPropList.h',
michael@0 23 'nsCSSProps.h',
michael@0 24 'nsCSSPseudoClasses.h',
michael@0 25 'nsCSSPseudoClassList.h',
michael@0 26 'nsCSSPseudoElementList.h',
michael@0 27 'nsCSSPseudoElements.h',
michael@0 28 'nsCSSRuleProcessor.h',
michael@0 29 'nsCSSScanner.h',
michael@0 30 'nsCSSStyleSheet.h',
michael@0 31 'nsCSSValue.h',
michael@0 32 'nsDOMCSSAttrDeclaration.h',
michael@0 33 'nsDOMCSSDeclaration.h',
michael@0 34 'nsDOMCSSRGBColor.h',
michael@0 35 'nsICSSDeclaration.h',
michael@0 36 'nsICSSLoaderObserver.h',
michael@0 37 'nsICSSPseudoComparator.h',
michael@0 38 'nsICSSRuleList.h',
michael@0 39 'nsICSSStyleRuleDOMWrapper.h',
michael@0 40 'nsIStyleRule.h',
michael@0 41 'nsIStyleRuleProcessor.h',
michael@0 42 'nsIStyleSheet.h',
michael@0 43 'nsLayoutStylesheetCache.h',
michael@0 44 'nsRuleData.h',
michael@0 45 'nsRuleNode.h',
michael@0 46 'nsRuleProcessorData.h',
michael@0 47 'nsRuleWalker.h',
michael@0 48 'nsStyleAnimation.h',
michael@0 49 'nsStyleConsts.h',
michael@0 50 'nsStyleContext.h',
michael@0 51 'nsStyleCoord.h',
michael@0 52 'nsStyleSet.h',
michael@0 53 'nsStyleStruct.h',
michael@0 54 'nsStyleStructFwd.h',
michael@0 55 'nsStyleStructInlines.h',
michael@0 56 'nsStyleTransformMatrix.h',
michael@0 57 'nsStyleUtil.h',
michael@0 58 ]
michael@0 59
michael@0 60 EXPORTS.mozilla += [
michael@0 61 'CSSVariableDeclarations.h',
michael@0 62 'CSSVariableResolver.h',
michael@0 63 'CSSVariableValues.h',
michael@0 64 ]
michael@0 65
michael@0 66 EXPORTS.mozilla.dom += [
michael@0 67 'CSS.h',
michael@0 68 'CSSValue.h',
michael@0 69 'MediaQueryList.h',
michael@0 70 ]
michael@0 71
michael@0 72 EXPORTS.mozilla.css += [
michael@0 73 'Declaration.h',
michael@0 74 'ErrorReporter.h',
michael@0 75 'GroupRule.h',
michael@0 76 'ImageLoader.h',
michael@0 77 'ImportRule.h',
michael@0 78 'Loader.h',
michael@0 79 'NameSpaceRule.h',
michael@0 80 'Rule.h',
michael@0 81 'StyleRule.h',
michael@0 82 ]
michael@0 83
michael@0 84 UNIFIED_SOURCES += [
michael@0 85 'AnimationCommon.cpp',
michael@0 86 'CSS.cpp',
michael@0 87 'CSSVariableDeclarations.cpp',
michael@0 88 'CSSVariableResolver.cpp',
michael@0 89 'CSSVariableValues.cpp',
michael@0 90 'Declaration.cpp',
michael@0 91 'ErrorReporter.cpp',
michael@0 92 'ImageLoader.cpp',
michael@0 93 'Loader.cpp',
michael@0 94 'MediaQueryList.cpp',
michael@0 95 'nsAnimationManager.cpp',
michael@0 96 'nsComputedDOMStyle.cpp',
michael@0 97 'nsCSSAnonBoxes.cpp',
michael@0 98 'nsCSSDataBlock.cpp',
michael@0 99 'nsCSSKeywords.cpp',
michael@0 100 'nsCSSParser.cpp',
michael@0 101 'nsCSSProps.cpp',
michael@0 102 'nsCSSPseudoClasses.cpp',
michael@0 103 'nsCSSPseudoElements.cpp',
michael@0 104 'nsCSSRules.cpp',
michael@0 105 'nsCSSScanner.cpp',
michael@0 106 'nsCSSStyleSheet.cpp',
michael@0 107 'nsCSSValue.cpp',
michael@0 108 'nsDOMCSSAttrDeclaration.cpp',
michael@0 109 'nsDOMCSSDeclaration.cpp',
michael@0 110 'nsDOMCSSRect.cpp',
michael@0 111 'nsDOMCSSRGBColor.cpp',
michael@0 112 'nsDOMCSSValueList.cpp',
michael@0 113 'nsHTMLCSSStyleSheet.cpp',
michael@0 114 'nsHTMLStyleSheet.cpp',
michael@0 115 'nsLayoutStylesheetCache.cpp',
michael@0 116 'nsMediaFeatures.cpp',
michael@0 117 'nsNthIndexCache.cpp',
michael@0 118 'nsROCSSPrimitiveValue.cpp',
michael@0 119 'nsRuleData.cpp',
michael@0 120 'nsRuleNode.cpp',
michael@0 121 'nsStyleAnimation.cpp',
michael@0 122 'nsStyleContext.cpp',
michael@0 123 'nsStyleCoord.cpp',
michael@0 124 'nsStyleSet.cpp',
michael@0 125 'nsStyleStruct.cpp',
michael@0 126 'nsStyleTransformMatrix.cpp',
michael@0 127 'nsStyleUtil.cpp',
michael@0 128 'nsTransitionManager.cpp',
michael@0 129 'StyleRule.cpp',
michael@0 130 ]
michael@0 131
michael@0 132 # nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
michael@0 133 # nsFontFaceLoader.cpp needs to be built separately because it forces NSPR logging.
michael@0 134 SOURCES += [
michael@0 135 'nsCSSRuleProcessor.cpp',
michael@0 136 'nsFontFaceLoader.cpp',
michael@0 137 ]
michael@0 138
michael@0 139 FAIL_ON_WARNINGS = True
michael@0 140
michael@0 141 MSVC_ENABLE_PGO = True
michael@0 142
michael@0 143 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 144
michael@0 145 FINAL_LIBRARY = 'gklayout'
michael@0 146
michael@0 147 LOCAL_INCLUDES += [
michael@0 148 '../../content/base/src',
michael@0 149 '../../content/html/content/src',
michael@0 150 '../../content/xul/document/src',
michael@0 151 '../base',
michael@0 152 '../generic',
michael@0 153 '../xul',
michael@0 154 '/dom/base',
michael@0 155 '/dom/xbl',
michael@0 156 ]
michael@0 157
michael@0 158 JAR_MANIFESTS += ['jar.mn']
michael@0 159
michael@0 160 RESOURCE_FILES += [
michael@0 161 'contenteditable.css',
michael@0 162 'designmode.css',
michael@0 163 'ImageDocument.css',
michael@0 164 'TopLevelImageDocument.css',
michael@0 165 'TopLevelVideoDocument.css',
michael@0 166 ]

mercurial