2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:22 +04:00
|
|
|
# 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/.
|
|
|
|
|
2015-03-04 04:03:19 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
|
|
|
|
|
|
|
|
with Files('nsComputedDOMStyle.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'DOM: CSS Object Model')
|
|
|
|
|
|
|
|
with Files('nsROCSSPrimitiveValue.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'DOM: CSS Object Model')
|
|
|
|
|
|
|
|
with Files('CSSRuleList.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'DOM: CSS Object Model')
|
|
|
|
|
|
|
|
with Files('nsDOM*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'DOM: CSS Object Model')
|
|
|
|
|
2013-02-26 00:47:22 +04:00
|
|
|
DIRS += ['xbl-marquee']
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['test']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2016-01-24 10:19:45 +03:00
|
|
|
'!nsStyleStructList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'AnimationCommon.h',
|
2014-06-12 05:12:00 +04:00
|
|
|
'CounterStyleManager.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsAnimationManager.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsComputedDOMStylePropertyList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCSSAnonBoxes.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsCSSAnonBoxList.h',
|
2014-06-12 05:10:00 +04:00
|
|
|
'nsCSSCounterDescList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCSSFontDescList.h',
|
|
|
|
'nsCSSKeywordList.h',
|
|
|
|
'nsCSSKeywords.h',
|
|
|
|
'nsCSSParser.h',
|
|
|
|
'nsCSSPropAliasList.h',
|
2016-08-17 04:37:48 +03:00
|
|
|
'nsCSSPropertyID.h',
|
2016-08-17 04:46:58 +03:00
|
|
|
'nsCSSPropertyIDSet.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsCSSPropList.h',
|
2015-01-17 07:43:20 +03:00
|
|
|
'nsCSSPropLogicalGroupList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCSSProps.h',
|
|
|
|
'nsCSSPseudoClasses.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsCSSPseudoClassList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCSSPseudoElementList.h',
|
|
|
|
'nsCSSPseudoElements.h',
|
|
|
|
'nsCSSRuleProcessor.h',
|
2013-12-12 06:09:41 +04:00
|
|
|
'nsCSSScanner.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCSSValue.h',
|
|
|
|
'nsDOMCSSAttrDeclaration.h',
|
|
|
|
'nsDOMCSSDeclaration.h',
|
|
|
|
'nsDOMCSSRGBColor.h',
|
|
|
|
'nsICSSDeclaration.h',
|
|
|
|
'nsICSSLoaderObserver.h',
|
|
|
|
'nsICSSPseudoComparator.h',
|
|
|
|
'nsICSSStyleRuleDOMWrapper.h',
|
|
|
|
'nsIStyleRule.h',
|
|
|
|
'nsIStyleRuleProcessor.h',
|
|
|
|
'nsLayoutStylesheetCache.h',
|
2017-01-14 18:16:47 +03:00
|
|
|
'nsMediaFeatures.h',
|
|
|
|
'nsMediaList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsRuleData.h',
|
|
|
|
'nsRuleNode.h',
|
|
|
|
'nsRuleProcessorData.h',
|
|
|
|
'nsRuleWalker.h',
|
2013-07-31 04:36:09 +04:00
|
|
|
'nsStyleConsts.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsStyleContext.h',
|
|
|
|
'nsStyleCoord.h',
|
|
|
|
'nsStyleSet.h',
|
|
|
|
'nsStyleStruct.h',
|
|
|
|
'nsStyleStructFwd.h',
|
|
|
|
'nsStyleStructInlines.h',
|
|
|
|
'nsStyleTransformMatrix.h',
|
|
|
|
'nsStyleUtil.h',
|
|
|
|
]
|
|
|
|
|
Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>
This defines a CSSVariableDeclarations class that holds a set of
variable declarations. This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have). The variables are stored in a hash table. Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").
Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations. So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties. mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.
We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.
The changes to nsCSSParser are straightforward. Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration. We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 06:09:40 +04:00
|
|
|
EXPORTS.mozilla += [
|
2016-02-24 10:08:20 +03:00
|
|
|
'AnimationCollection.h',
|
2017-01-13 18:41:03 +03:00
|
|
|
'BindingStyleRule.h',
|
2016-05-10 11:44:05 +03:00
|
|
|
'CSSEnabledState.h',
|
2014-06-20 14:32:49 +04:00
|
|
|
'CSSStyleSheet.h',
|
Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>
This defines a CSSVariableDeclarations class that holds a set of
variable declarations. This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have). The variables are stored in a hash table. Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").
Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations. So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties. mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.
We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.
The changes to nsCSSParser are straightforward. Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration. We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 06:09:40 +04:00
|
|
|
'CSSVariableDeclarations.h',
|
2013-12-12 06:09:41 +04:00
|
|
|
'CSSVariableResolver.h',
|
2013-12-12 06:09:41 +04:00
|
|
|
'CSSVariableValues.h',
|
2016-10-18 07:29:03 +03:00
|
|
|
'DeclarationBlock.h',
|
2016-10-18 07:29:03 +03:00
|
|
|
'DeclarationBlockInlines.h',
|
2016-12-02 11:55:40 +03:00
|
|
|
'DocumentStyleRootIterator.h',
|
2017-01-27 00:39:13 +03:00
|
|
|
'GenericSpecifiedValues.h',
|
2017-01-27 03:51:01 +03:00
|
|
|
'GenericSpecifiedValuesInlines.h',
|
2016-02-24 10:01:11 +03:00
|
|
|
'HandleRefPtr.h',
|
2015-06-15 22:34:23 +03:00
|
|
|
'IncrementalClearCOMRuleArray.h',
|
2015-09-03 23:59:00 +03:00
|
|
|
'LayerAnimationInfo.h',
|
2017-01-05 10:32:22 +03:00
|
|
|
'PreloadedStyleSheet.h',
|
2015-06-23 04:48:18 +03:00
|
|
|
'RuleNodeCacheConditions.h',
|
2015-06-26 06:52:47 +03:00
|
|
|
'RuleProcessorCache.h',
|
2016-11-23 03:35:55 +03:00
|
|
|
'ServoArcTypeList.h',
|
2016-08-19 14:44:43 +03:00
|
|
|
'ServoBindingList.h',
|
2015-11-25 04:14:39 +03:00
|
|
|
'ServoBindings.h',
|
2016-10-24 12:16:46 +03:00
|
|
|
'ServoBindingTypes.h',
|
2016-11-23 02:26:20 +03:00
|
|
|
'ServoCSSRuleList.h',
|
2016-10-18 07:29:03 +03:00
|
|
|
'ServoDeclarationBlock.h',
|
2016-07-19 04:02:55 +03:00
|
|
|
'ServoElementSnapshot.h',
|
2017-01-10 03:05:18 +03:00
|
|
|
'ServoPropPrefList.h',
|
2017-02-13 03:02:29 +03:00
|
|
|
'ServoSpecifiedValues.h',
|
2016-11-23 02:26:20 +03:00
|
|
|
'ServoStyleRule.h',
|
2016-02-24 10:01:10 +03:00
|
|
|
'ServoStyleSet.h',
|
2016-02-24 10:01:11 +03:00
|
|
|
'ServoStyleSheet.h',
|
2016-09-22 01:42:45 +03:00
|
|
|
'ServoTypes.h',
|
2016-10-13 15:45:03 +03:00
|
|
|
'ServoUtils.h',
|
2015-10-20 02:16:20 +03:00
|
|
|
'SheetType.h',
|
2014-06-24 10:29:54 +04:00
|
|
|
'StyleAnimationValue.h',
|
2017-02-16 07:14:06 +03:00
|
|
|
'StyleAnimationValueInlines.h',
|
2016-02-24 10:01:10 +03:00
|
|
|
'StyleBackendType.h',
|
2016-09-02 07:58:10 +03:00
|
|
|
'StyleComplexColor.h',
|
2016-03-19 02:56:47 +03:00
|
|
|
'StyleContextSource.h',
|
2016-02-24 10:01:10 +03:00
|
|
|
'StyleSetHandle.h',
|
|
|
|
'StyleSetHandleInlines.h',
|
2016-02-26 04:51:01 +03:00
|
|
|
'StyleSheet.h',
|
2016-02-26 04:51:01 +03:00
|
|
|
'StyleSheetInfo.h',
|
2016-03-02 01:38:13 +03:00
|
|
|
'StyleSheetInlines.h',
|
Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>
This defines a CSSVariableDeclarations class that holds a set of
variable declarations. This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have). The variables are stored in a hash table. Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").
Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations. So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties. mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.
We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.
The changes to nsCSSParser are straightforward. Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration. We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 06:09:40 +04:00
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'CSS.h',
|
2015-05-04 17:28:00 +03:00
|
|
|
'CSSLexer.h',
|
2014-06-10 06:11:00 +04:00
|
|
|
'CSSRuleList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'CSSValue.h',
|
2014-10-02 06:32:05 +04:00
|
|
|
'FontFace.h',
|
|
|
|
'FontFaceSet.h',
|
2015-03-31 06:05:33 +03:00
|
|
|
'FontFaceSetIterator.h',
|
2013-12-16 18:03:19 +04:00
|
|
|
'MediaQueryList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.css += [
|
|
|
|
'Declaration.h',
|
|
|
|
'ErrorReporter.h',
|
|
|
|
'GroupRule.h',
|
|
|
|
'ImageLoader.h',
|
|
|
|
'ImportRule.h',
|
|
|
|
'Loader.h',
|
|
|
|
'NameSpaceRule.h',
|
|
|
|
'Rule.h',
|
2016-02-24 10:01:11 +03:00
|
|
|
'SheetParsingMode.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'StyleRule.h',
|
|
|
|
]
|
|
|
|
|
2013-11-15 06:42:57 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2016-02-24 10:08:20 +03:00
|
|
|
'AnimationCollection.cpp',
|
2017-02-21 14:27:58 +03:00
|
|
|
'BindingStyleRule.cpp',
|
2014-06-12 05:11:00 +04:00
|
|
|
'CounterStyleManager.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'CSS.cpp',
|
2015-05-04 17:28:00 +03:00
|
|
|
'CSSLexer.cpp',
|
2014-06-10 06:11:00 +04:00
|
|
|
'CSSRuleList.cpp',
|
2014-06-20 14:32:49 +04:00
|
|
|
'CSSStyleSheet.cpp',
|
Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>
This defines a CSSVariableDeclarations class that holds a set of
variable declarations. This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have). The variables are stored in a hash table. Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").
Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations. So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties. mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.
We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.
The changes to nsCSSParser are straightforward. Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration. We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 06:09:40 +04:00
|
|
|
'CSSVariableDeclarations.cpp',
|
2013-12-12 06:09:41 +04:00
|
|
|
'CSSVariableResolver.cpp',
|
2013-12-12 06:09:41 +04:00
|
|
|
'CSSVariableValues.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'Declaration.cpp',
|
2016-12-02 11:55:40 +03:00
|
|
|
'DocumentStyleRootIterator.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'ErrorReporter.cpp',
|
2014-10-02 06:32:05 +04:00
|
|
|
'FontFace.cpp',
|
2015-07-02 01:45:00 +03:00
|
|
|
'FontFaceSet.cpp',
|
2015-03-31 06:05:33 +03:00
|
|
|
'FontFaceSetIterator.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'ImageLoader.cpp',
|
2015-06-15 22:34:23 +03:00
|
|
|
'IncrementalClearCOMRuleArray.cpp',
|
2015-09-03 23:59:00 +03:00
|
|
|
'LayerAnimationInfo.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'Loader.cpp',
|
2013-12-16 18:03:19 +04:00
|
|
|
'MediaQueryList.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsAnimationManager.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsComputedDOMStyle.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCSSAnonBoxes.cpp',
|
|
|
|
'nsCSSDataBlock.cpp',
|
|
|
|
'nsCSSKeywords.cpp',
|
|
|
|
'nsCSSParser.cpp',
|
|
|
|
'nsCSSProps.cpp',
|
|
|
|
'nsCSSPseudoClasses.cpp',
|
|
|
|
'nsCSSPseudoElements.cpp',
|
|
|
|
'nsCSSRules.cpp',
|
|
|
|
'nsCSSScanner.cpp',
|
|
|
|
'nsCSSValue.cpp',
|
|
|
|
'nsDOMCSSAttrDeclaration.cpp',
|
|
|
|
'nsDOMCSSDeclaration.cpp',
|
|
|
|
'nsDOMCSSRect.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsDOMCSSRGBColor.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsDOMCSSValueList.cpp',
|
2014-10-09 00:19:14 +04:00
|
|
|
'nsFontFaceLoader.cpp',
|
2015-03-06 11:44:23 +03:00
|
|
|
'nsFontFaceUtils.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsHTMLCSSStyleSheet.cpp',
|
|
|
|
'nsHTMLStyleSheet.cpp',
|
|
|
|
'nsMediaFeatures.cpp',
|
2017-01-06 10:05:24 +03:00
|
|
|
'nsMediaList.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsNthIndexCache.cpp',
|
|
|
|
'nsROCSSPrimitiveValue.cpp',
|
|
|
|
'nsRuleData.cpp',
|
|
|
|
'nsRuleNode.cpp',
|
|
|
|
'nsStyleContext.cpp',
|
|
|
|
'nsStyleCoord.cpp',
|
|
|
|
'nsStyleSet.cpp',
|
|
|
|
'nsStyleStruct.cpp',
|
|
|
|
'nsStyleTransformMatrix.cpp',
|
|
|
|
'nsStyleUtil.cpp',
|
|
|
|
'nsTransitionManager.cpp',
|
2017-01-05 10:32:22 +03:00
|
|
|
'PreloadedStyleSheet.cpp',
|
2015-06-23 04:48:18 +03:00
|
|
|
'RuleNodeCacheConditions.cpp',
|
2015-06-26 06:52:47 +03:00
|
|
|
'RuleProcessorCache.cpp',
|
2015-11-25 04:14:39 +03:00
|
|
|
'ServoBindings.cpp',
|
2016-11-23 02:26:20 +03:00
|
|
|
'ServoCSSRuleList.cpp',
|
2016-10-18 07:29:03 +03:00
|
|
|
'ServoDeclarationBlock.cpp',
|
2016-07-19 04:02:55 +03:00
|
|
|
'ServoElementSnapshot.cpp',
|
2017-02-21 14:27:58 +03:00
|
|
|
'ServoSpecifiedValues.cpp',
|
2016-11-23 02:26:20 +03:00
|
|
|
'ServoStyleRule.cpp',
|
2016-02-24 10:01:10 +03:00
|
|
|
'ServoStyleSet.cpp',
|
2016-02-24 10:01:11 +03:00
|
|
|
'ServoStyleSheet.cpp',
|
2014-06-24 10:29:54 +04:00
|
|
|
'StyleAnimationValue.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'StyleRule.cpp',
|
2016-02-26 04:51:01 +03:00
|
|
|
'StyleSheet.cpp',
|
Bug 1057231 patch 1 - Add a rule processor class for rules from SMIL Animation of SVG attributes. r=dholbert
This patch series (to move SVG Animation rules to their own level of the
cascade) is needed so that they can participate in the mechanism for
updating only animation styles to the present time without touching any
other styles.
In theory, this should have been done as part of 996796 or even as part
of prior work on off main thread animations, except that it doesn't seem
possible to have SVG Animations and CSS Transitions interacting on the
same element and have that element's style out of date, which means it
wasn't necessary for the existing code to update only animation styles.
However, bug 960465 will use this similar mechanism as the new mechanism
for making sure transitions start in a reasonable way (replacing the
mechanism of phases, going from style without animation to style with
animation via nsPresContext::IsProcessingAnimationStyleChange). This
will require that, for SVG Animations to continue interacting correctly
with CSS Transitions, that they have their own cascade level so that
they can participate in RestyleManager::UpdateOnlyAnimationStyles.
Additionally, this is needed even sooner, for bug 977991, which needs
(temporarily, until bug 960465 lands) a mechanism for updating the style
attribute style *and* all animation-phase-dependent styles.
Yes, it's a little bit annoying to have to have another class, and
another object per-document for this, but that's currently what comes
with being a level of the cascade. But it's one class and one object
per document, and I believe there will be substantial benefits to having
all rule processor levels be only-animation-related or
not-animation-related (except for the style attribute level, which is
simple enough that it isn't needed yet).
2014-09-13 17:17:34 +04:00
|
|
|
'SVGAttrAnimationRuleProcessor.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2017-01-13 18:41:03 +03:00
|
|
|
# - nsCSSRuleProcessor.cpp needs to be built separately because it uses
|
|
|
|
# plarena.h.
|
|
|
|
# - nsLayoutStylesheetCache.cpp needs to be built separately because it uses
|
2016-02-25 03:09:34 +03:00
|
|
|
# nsExceptionHandler.h, which includes windows.h.
|
2013-11-15 06:42:57 +04:00
|
|
|
SOURCES += [
|
|
|
|
'nsCSSRuleProcessor.cpp',
|
2016-02-25 03:09:34 +03:00
|
|
|
'nsLayoutStylesheetCache.cpp',
|
2013-11-15 06:42:57 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 18:23:10 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../generic',
|
2015-03-06 11:44:32 +03:00
|
|
|
'../svg',
|
2013-12-04 05:06:16 +04:00
|
|
|
'../xul',
|
2013-11-28 18:23:10 +04:00
|
|
|
'/dom/base',
|
2014-10-25 21:24:55 +04:00
|
|
|
'/dom/html',
|
2014-01-10 07:03:25 +04:00
|
|
|
'/dom/xbl',
|
2014-10-25 21:21:03 +04:00
|
|
|
'/dom/xul',
|
2015-03-17 22:25:35 +03:00
|
|
|
'/image',
|
2013-11-28 18:23:10 +04:00
|
|
|
]
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2014-01-10 07:03:25 +04:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2013-11-05 22:37:54 +04:00
|
|
|
|
|
|
|
RESOURCE_FILES += [
|
|
|
|
'contenteditable.css',
|
|
|
|
'designmode.css',
|
|
|
|
'ImageDocument.css',
|
|
|
|
'TopLevelImageDocument.css',
|
|
|
|
'TopLevelVideoDocument.css',
|
|
|
|
]
|
2014-07-28 19:26:16 +04:00
|
|
|
|
2015-09-22 08:58:20 +03:00
|
|
|
GENERATED_FILES += [
|
|
|
|
'nsStyleStructList.h',
|
|
|
|
]
|
|
|
|
|
2015-02-20 17:51:28 +03:00
|
|
|
style_struct_list = GENERATED_FILES['nsStyleStructList.h']
|
|
|
|
style_struct_list.script = 'generate-stylestructlist.py'
|
2016-05-11 00:35:56 +03:00
|
|
|
|
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
GENERATED_FILES += [
|
|
|
|
'nsCSSPropsGenerated.inc',
|
|
|
|
]
|
|
|
|
css_props = GENERATED_FILES['nsCSSPropsGenerated.inc']
|
|
|
|
css_props.script = 'GenerateCSSPropsGenerated.py:generate'
|
|
|
|
css_props.inputs = [
|
|
|
|
'nsCSSPropsGenerated.inc.in',
|
|
|
|
'PythonCSSProps.h',
|
|
|
|
]
|