layout/style/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/style/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,166 @@
     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 +DIRS += ['xbl-marquee']
    1.11 +TEST_TOOL_DIRS += ['test']
    1.12 +
    1.13 +EXPORTS += [
    1.14 +    'AnimationCommon.h',
    1.15 +    'nsAnimationManager.h',
    1.16 +    'nsComputedDOMStylePropertyList.h',
    1.17 +    'nsCSSAnonBoxes.h',
    1.18 +    'nsCSSAnonBoxList.h',
    1.19 +    'nsCSSFontDescList.h',
    1.20 +    'nsCSSKeywordList.h',
    1.21 +    'nsCSSKeywords.h',
    1.22 +    'nsCSSParser.h',
    1.23 +    'nsCSSPropAliasList.h',
    1.24 +    'nsCSSProperty.h',
    1.25 +    'nsCSSPropList.h',
    1.26 +    'nsCSSProps.h',
    1.27 +    'nsCSSPseudoClasses.h',
    1.28 +    'nsCSSPseudoClassList.h',
    1.29 +    'nsCSSPseudoElementList.h',
    1.30 +    'nsCSSPseudoElements.h',
    1.31 +    'nsCSSRuleProcessor.h',
    1.32 +    'nsCSSScanner.h',
    1.33 +    'nsCSSStyleSheet.h',
    1.34 +    'nsCSSValue.h',
    1.35 +    'nsDOMCSSAttrDeclaration.h',
    1.36 +    'nsDOMCSSDeclaration.h',
    1.37 +    'nsDOMCSSRGBColor.h',
    1.38 +    'nsICSSDeclaration.h',
    1.39 +    'nsICSSLoaderObserver.h',
    1.40 +    'nsICSSPseudoComparator.h',
    1.41 +    'nsICSSRuleList.h',
    1.42 +    'nsICSSStyleRuleDOMWrapper.h',
    1.43 +    'nsIStyleRule.h',
    1.44 +    'nsIStyleRuleProcessor.h',
    1.45 +    'nsIStyleSheet.h',
    1.46 +    'nsLayoutStylesheetCache.h',
    1.47 +    'nsRuleData.h',
    1.48 +    'nsRuleNode.h',
    1.49 +    'nsRuleProcessorData.h',
    1.50 +    'nsRuleWalker.h',
    1.51 +    'nsStyleAnimation.h',
    1.52 +    'nsStyleConsts.h',
    1.53 +    'nsStyleContext.h',
    1.54 +    'nsStyleCoord.h',
    1.55 +    'nsStyleSet.h',
    1.56 +    'nsStyleStruct.h',
    1.57 +    'nsStyleStructFwd.h',
    1.58 +    'nsStyleStructInlines.h',
    1.59 +    'nsStyleTransformMatrix.h',
    1.60 +    'nsStyleUtil.h',
    1.61 +]
    1.62 +
    1.63 +EXPORTS.mozilla += [
    1.64 +    'CSSVariableDeclarations.h',
    1.65 +    'CSSVariableResolver.h',
    1.66 +    'CSSVariableValues.h',
    1.67 +]
    1.68 +
    1.69 +EXPORTS.mozilla.dom += [
    1.70 +    'CSS.h',
    1.71 +    'CSSValue.h',
    1.72 +    'MediaQueryList.h',
    1.73 +]
    1.74 +
    1.75 +EXPORTS.mozilla.css += [
    1.76 +    'Declaration.h',
    1.77 +    'ErrorReporter.h',
    1.78 +    'GroupRule.h',
    1.79 +    'ImageLoader.h',
    1.80 +    'ImportRule.h',
    1.81 +    'Loader.h',
    1.82 +    'NameSpaceRule.h',
    1.83 +    'Rule.h',
    1.84 +    'StyleRule.h',
    1.85 +]
    1.86 +
    1.87 +UNIFIED_SOURCES += [
    1.88 +    'AnimationCommon.cpp',
    1.89 +    'CSS.cpp',
    1.90 +    'CSSVariableDeclarations.cpp',
    1.91 +    'CSSVariableResolver.cpp',
    1.92 +    'CSSVariableValues.cpp',
    1.93 +    'Declaration.cpp',
    1.94 +    'ErrorReporter.cpp',
    1.95 +    'ImageLoader.cpp',
    1.96 +    'Loader.cpp',
    1.97 +    'MediaQueryList.cpp',
    1.98 +    'nsAnimationManager.cpp',
    1.99 +    'nsComputedDOMStyle.cpp',
   1.100 +    'nsCSSAnonBoxes.cpp',
   1.101 +    'nsCSSDataBlock.cpp',
   1.102 +    'nsCSSKeywords.cpp',
   1.103 +    'nsCSSParser.cpp',
   1.104 +    'nsCSSProps.cpp',
   1.105 +    'nsCSSPseudoClasses.cpp',
   1.106 +    'nsCSSPseudoElements.cpp',
   1.107 +    'nsCSSRules.cpp',
   1.108 +    'nsCSSScanner.cpp',
   1.109 +    'nsCSSStyleSheet.cpp',
   1.110 +    'nsCSSValue.cpp',
   1.111 +    'nsDOMCSSAttrDeclaration.cpp',
   1.112 +    'nsDOMCSSDeclaration.cpp',
   1.113 +    'nsDOMCSSRect.cpp',
   1.114 +    'nsDOMCSSRGBColor.cpp',
   1.115 +    'nsDOMCSSValueList.cpp',
   1.116 +    'nsHTMLCSSStyleSheet.cpp',
   1.117 +    'nsHTMLStyleSheet.cpp',
   1.118 +    'nsLayoutStylesheetCache.cpp',
   1.119 +    'nsMediaFeatures.cpp',
   1.120 +    'nsNthIndexCache.cpp',
   1.121 +    'nsROCSSPrimitiveValue.cpp',
   1.122 +    'nsRuleData.cpp',
   1.123 +    'nsRuleNode.cpp',
   1.124 +    'nsStyleAnimation.cpp',
   1.125 +    'nsStyleContext.cpp',
   1.126 +    'nsStyleCoord.cpp',
   1.127 +    'nsStyleSet.cpp',
   1.128 +    'nsStyleStruct.cpp',
   1.129 +    'nsStyleTransformMatrix.cpp',
   1.130 +    'nsStyleUtil.cpp',
   1.131 +    'nsTransitionManager.cpp',
   1.132 +    'StyleRule.cpp',
   1.133 +]
   1.134 +
   1.135 +# nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
   1.136 +# nsFontFaceLoader.cpp needs to be built separately because it forces NSPR logging.
   1.137 +SOURCES += [
   1.138 +    'nsCSSRuleProcessor.cpp',
   1.139 +    'nsFontFaceLoader.cpp',
   1.140 +]
   1.141 +
   1.142 +FAIL_ON_WARNINGS = True
   1.143 +
   1.144 +MSVC_ENABLE_PGO = True
   1.145 +
   1.146 +include('/ipc/chromium/chromium-config.mozbuild')
   1.147 +
   1.148 +FINAL_LIBRARY = 'gklayout'
   1.149 +
   1.150 +LOCAL_INCLUDES += [
   1.151 +    '../../content/base/src',
   1.152 +    '../../content/html/content/src',
   1.153 +    '../../content/xul/document/src',
   1.154 +    '../base',
   1.155 +    '../generic',
   1.156 +    '../xul',
   1.157 +    '/dom/base',
   1.158 +    '/dom/xbl',
   1.159 +]
   1.160 +
   1.161 +JAR_MANIFESTS += ['jar.mn']
   1.162 +
   1.163 +RESOURCE_FILES += [
   1.164 +    'contenteditable.css',
   1.165 +    'designmode.css',
   1.166 +    'ImageDocument.css',
   1.167 +    'TopLevelImageDocument.css',
   1.168 +    'TopLevelVideoDocument.css',
   1.169 +]

mercurial