michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DIRS += ['xbl-marquee'] michael@0: TEST_TOOL_DIRS += ['test'] michael@0: michael@0: EXPORTS += [ michael@0: 'AnimationCommon.h', michael@0: 'nsAnimationManager.h', michael@0: 'nsComputedDOMStylePropertyList.h', michael@0: 'nsCSSAnonBoxes.h', michael@0: 'nsCSSAnonBoxList.h', michael@0: 'nsCSSFontDescList.h', michael@0: 'nsCSSKeywordList.h', michael@0: 'nsCSSKeywords.h', michael@0: 'nsCSSParser.h', michael@0: 'nsCSSPropAliasList.h', michael@0: 'nsCSSProperty.h', michael@0: 'nsCSSPropList.h', michael@0: 'nsCSSProps.h', michael@0: 'nsCSSPseudoClasses.h', michael@0: 'nsCSSPseudoClassList.h', michael@0: 'nsCSSPseudoElementList.h', michael@0: 'nsCSSPseudoElements.h', michael@0: 'nsCSSRuleProcessor.h', michael@0: 'nsCSSScanner.h', michael@0: 'nsCSSStyleSheet.h', michael@0: 'nsCSSValue.h', michael@0: 'nsDOMCSSAttrDeclaration.h', michael@0: 'nsDOMCSSDeclaration.h', michael@0: 'nsDOMCSSRGBColor.h', michael@0: 'nsICSSDeclaration.h', michael@0: 'nsICSSLoaderObserver.h', michael@0: 'nsICSSPseudoComparator.h', michael@0: 'nsICSSRuleList.h', michael@0: 'nsICSSStyleRuleDOMWrapper.h', michael@0: 'nsIStyleRule.h', michael@0: 'nsIStyleRuleProcessor.h', michael@0: 'nsIStyleSheet.h', michael@0: 'nsLayoutStylesheetCache.h', michael@0: 'nsRuleData.h', michael@0: 'nsRuleNode.h', michael@0: 'nsRuleProcessorData.h', michael@0: 'nsRuleWalker.h', michael@0: 'nsStyleAnimation.h', michael@0: 'nsStyleConsts.h', michael@0: 'nsStyleContext.h', michael@0: 'nsStyleCoord.h', michael@0: 'nsStyleSet.h', michael@0: 'nsStyleStruct.h', michael@0: 'nsStyleStructFwd.h', michael@0: 'nsStyleStructInlines.h', michael@0: 'nsStyleTransformMatrix.h', michael@0: 'nsStyleUtil.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'CSSVariableDeclarations.h', michael@0: 'CSSVariableResolver.h', michael@0: 'CSSVariableValues.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'CSS.h', michael@0: 'CSSValue.h', michael@0: 'MediaQueryList.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.css += [ michael@0: 'Declaration.h', michael@0: 'ErrorReporter.h', michael@0: 'GroupRule.h', michael@0: 'ImageLoader.h', michael@0: 'ImportRule.h', michael@0: 'Loader.h', michael@0: 'NameSpaceRule.h', michael@0: 'Rule.h', michael@0: 'StyleRule.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'AnimationCommon.cpp', michael@0: 'CSS.cpp', michael@0: 'CSSVariableDeclarations.cpp', michael@0: 'CSSVariableResolver.cpp', michael@0: 'CSSVariableValues.cpp', michael@0: 'Declaration.cpp', michael@0: 'ErrorReporter.cpp', michael@0: 'ImageLoader.cpp', michael@0: 'Loader.cpp', michael@0: 'MediaQueryList.cpp', michael@0: 'nsAnimationManager.cpp', michael@0: 'nsComputedDOMStyle.cpp', michael@0: 'nsCSSAnonBoxes.cpp', michael@0: 'nsCSSDataBlock.cpp', michael@0: 'nsCSSKeywords.cpp', michael@0: 'nsCSSParser.cpp', michael@0: 'nsCSSProps.cpp', michael@0: 'nsCSSPseudoClasses.cpp', michael@0: 'nsCSSPseudoElements.cpp', michael@0: 'nsCSSRules.cpp', michael@0: 'nsCSSScanner.cpp', michael@0: 'nsCSSStyleSheet.cpp', michael@0: 'nsCSSValue.cpp', michael@0: 'nsDOMCSSAttrDeclaration.cpp', michael@0: 'nsDOMCSSDeclaration.cpp', michael@0: 'nsDOMCSSRect.cpp', michael@0: 'nsDOMCSSRGBColor.cpp', michael@0: 'nsDOMCSSValueList.cpp', michael@0: 'nsHTMLCSSStyleSheet.cpp', michael@0: 'nsHTMLStyleSheet.cpp', michael@0: 'nsLayoutStylesheetCache.cpp', michael@0: 'nsMediaFeatures.cpp', michael@0: 'nsNthIndexCache.cpp', michael@0: 'nsROCSSPrimitiveValue.cpp', michael@0: 'nsRuleData.cpp', michael@0: 'nsRuleNode.cpp', michael@0: 'nsStyleAnimation.cpp', michael@0: 'nsStyleContext.cpp', michael@0: 'nsStyleCoord.cpp', michael@0: 'nsStyleSet.cpp', michael@0: 'nsStyleStruct.cpp', michael@0: 'nsStyleTransformMatrix.cpp', michael@0: 'nsStyleUtil.cpp', michael@0: 'nsTransitionManager.cpp', michael@0: 'StyleRule.cpp', michael@0: ] michael@0: michael@0: # nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h. michael@0: # nsFontFaceLoader.cpp needs to be built separately because it forces NSPR logging. michael@0: SOURCES += [ michael@0: 'nsCSSRuleProcessor.cpp', michael@0: 'nsFontFaceLoader.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../../content/base/src', michael@0: '../../content/html/content/src', michael@0: '../../content/xul/document/src', michael@0: '../base', michael@0: '../generic', michael@0: '../xul', michael@0: '/dom/base', michael@0: '/dom/xbl', michael@0: ] michael@0: michael@0: JAR_MANIFESTS += ['jar.mn'] michael@0: michael@0: RESOURCE_FILES += [ michael@0: 'contenteditable.css', michael@0: 'designmode.css', michael@0: 'ImageDocument.css', michael@0: 'TopLevelImageDocument.css', michael@0: 'TopLevelVideoDocument.css', michael@0: ]