| Index: third_party/WebKit/Source/core/css/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/core/css/BUILD.gn b/third_party/WebKit/Source/core/css/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0ed35a9a83fc08accec24a85a2604302e01d6128
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/BUILD.gn
|
| @@ -0,0 +1,370 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//third_party/WebKit/Source/core/core.gni")
|
| +
|
| +blink_core_sources("css") {
|
| + split_count = 5
|
| + sources = [
|
| + "BasicShapeFunctions.cpp",
|
| + "BinaryDataFontFaceSource.cpp",
|
| + "BinaryDataFontFaceSource.h",
|
| + "CSSBasicShapeValues.cpp",
|
| + "CSSBorderImage.cpp",
|
| + "CSSBorderImage.h",
|
| + "CSSBorderImageSliceValue.cpp",
|
| + "CSSBorderImageSliceValue.h",
|
| + "CSSCalculationValue.cpp",
|
| + "CSSCalculationValue.h",
|
| + "CSSColorValue.cpp",
|
| + "CSSColorValue.h",
|
| + "CSSComputedStyleDeclaration.cpp",
|
| + "CSSContentDistributionValue.cpp",
|
| + "CSSContentDistributionValue.h",
|
| + "CSSCounterValue.cpp",
|
| + "CSSCounterValue.h",
|
| + "CSSCrossfadeValue.cpp",
|
| + "CSSCrossfadeValue.h",
|
| + "CSSCursorImageValue.cpp",
|
| + "CSSCustomFontData.h",
|
| + "CSSCustomIdentValue.cpp",
|
| + "CSSCustomIdentValue.h",
|
| + "CSSCustomPropertyDeclaration.cpp",
|
| + "CSSCustomPropertyDeclaration.h",
|
| + "CSSDefaultStyleSheets.cpp",
|
| + "CSSDefaultStyleSheets.h",
|
| + "CSSFontFace.cpp",
|
| + "CSSFontFace.h",
|
| + "CSSFontFaceRule.cpp",
|
| + "CSSFontFaceRule.h",
|
| + "CSSFontFaceSource.cpp",
|
| + "CSSFontFaceSource.h",
|
| + "CSSFontFaceSrcValue.cpp",
|
| + "CSSFontFaceSrcValue.h",
|
| + "CSSFontFamilyValue.cpp",
|
| + "CSSFontFamilyValue.h",
|
| + "CSSFontFeatureValue.cpp",
|
| + "CSSFontFeatureValue.h",
|
| + "CSSFontSelector.cpp",
|
| + "CSSFontSelector.h",
|
| + "CSSFontSelectorClient.h",
|
| + "CSSFunctionValue.cpp",
|
| + "CSSFunctionValue.h",
|
| + "CSSGradientValue.cpp",
|
| + "CSSGradientValue.h",
|
| + "CSSGridAutoRepeatValue.cpp",
|
| + "CSSGridAutoRepeatValue.h",
|
| + "CSSGridLineNamesValue.cpp",
|
| + "CSSGridLineNamesValue.h",
|
| + "CSSGridTemplateAreasValue.cpp",
|
| + "CSSGridTemplateAreasValue.h",
|
| + "CSSGroupingRule.cpp",
|
| + "CSSGroupingRule.h",
|
| + "CSSImageGeneratorValue.cpp",
|
| + "CSSImageSetValue.cpp",
|
| + "CSSImageValue.cpp",
|
| + "CSSImportRule.cpp",
|
| + "CSSImportRule.h",
|
| + "CSSInheritedValue.cpp",
|
| + "CSSInheritedValue.h",
|
| + "CSSInitialValue.cpp",
|
| + "CSSInitialValue.h",
|
| + "CSSKeyframeRule.cpp",
|
| + "CSSKeyframeRule.h",
|
| + "CSSKeyframesRule.cpp",
|
| + "CSSKeyframesRule.h",
|
| + "CSSMarkup.cpp",
|
| + "CSSMarkup.h",
|
| + "CSSMatrix.cpp",
|
| + "CSSMatrix.h",
|
| + "CSSMediaRule.cpp",
|
| + "CSSMediaRule.h",
|
| + "CSSNamespaceRule.cpp",
|
| + "CSSNamespaceRule.h",
|
| + "CSSPageRule.cpp",
|
| + "CSSPageRule.h",
|
| + "CSSPaintImageGenerator.cpp",
|
| + "CSSPaintImageGenerator.h",
|
| + "CSSPaintValue.cpp",
|
| + "CSSPaintValue.h",
|
| + "CSSPathValue.cpp",
|
| + "CSSPathValue.h",
|
| + "CSSPendingSubstitutionValue.cpp",
|
| + "CSSPendingSubstitutionValue.h",
|
| + "CSSPrimitiveValue.cpp",
|
| + "CSSPrimitiveValue.h",
|
| + "CSSPrimitiveValueMappings.h",
|
| + "CSSProperty.cpp",
|
| + "CSSPropertyEquality.cpp",
|
| + "CSSPropertyEquality.h",
|
| + "CSSPropertySourceData.cpp",
|
| + "CSSQuadValue.cpp",
|
| + "CSSQuadValue.h",
|
| + "CSSReflectValue.cpp",
|
| + "CSSRule.cpp",
|
| + "CSSRule.h",
|
| + "CSSRuleList.cpp",
|
| + "CSSRuleList.h",
|
| + "CSSSegmentedFontFace.cpp",
|
| + "CSSSegmentedFontFace.h",
|
| + "CSSSelector.cpp",
|
| + "CSSSelectorList.cpp",
|
| + "CSSSelectorList.h",
|
| + "CSSShadowValue.cpp",
|
| + "CSSShadowValue.h",
|
| + "CSSStringValue.cpp",
|
| + "CSSStringValue.h",
|
| + "CSSStyleDeclaration.cpp",
|
| + "CSSStyleDeclaration.h",
|
| + "CSSStyleRule.cpp",
|
| + "CSSStyleRule.h",
|
| + "CSSStyleSheet.cpp",
|
| + "CSSStyleSheet.h",
|
| + "CSSSupportsRule.cpp",
|
| + "CSSSupportsRule.h",
|
| + "CSSTimingFunctionValue.cpp",
|
| + "CSSTimingFunctionValue.h",
|
| + "CSSToLengthConversionData.cpp",
|
| + "CSSToLengthConversionData.h",
|
| + "CSSURIValue.cpp",
|
| + "CSSURIValue.h",
|
| + "CSSUnicodeRangeValue.cpp",
|
| + "CSSUnicodeRangeValue.h",
|
| + "CSSUnsetValue.cpp",
|
| + "CSSUnsetValue.h",
|
| + "CSSValue.cpp",
|
| + "CSSValueList.cpp",
|
| + "CSSValuePair.cpp",
|
| + "CSSValuePair.h",
|
| + "CSSValuePool.cpp",
|
| + "CSSValuePool.h",
|
| + "CSSVariableData.cpp",
|
| + "CSSVariableData.h",
|
| + "CSSVariableReferenceValue.cpp",
|
| + "CSSVariableReferenceValue.h",
|
| + "CSSViewportRule.cpp",
|
| + "CSSViewportRule.h",
|
| + "ComputedStyleCSSValueMapping.cpp",
|
| + "ComputedStyleCSSValueMapping.h",
|
| + "DOMWindowCSS.cpp",
|
| + "DOMWindowCSS.h",
|
| + "DocumentFontFaceSet.cpp",
|
| + "DocumentFontFaceSet.h",
|
| + "ElementRuleCollector.cpp",
|
| + "ElementRuleCollector.h",
|
| + "FontFace.cpp",
|
| + "FontFace.h",
|
| + "FontFaceCache.cpp",
|
| + "FontFaceCache.h",
|
| + "FontFaceSet.cpp",
|
| + "FontFaceSet.h",
|
| + "FontFaceSetLoadEvent.cpp",
|
| + "FontFaceSetLoadEvent.h",
|
| + "FontSize.cpp",
|
| + "FontSize.h",
|
| + "FontStyleMatcher.cpp",
|
| + "FontStyleMatcher.h",
|
| + "HashTools.h",
|
| + "KeyframeStyleRuleCSSStyleDeclaration.cpp",
|
| + "KeyframeStyleRuleCSSStyleDeclaration.h",
|
| + "LocalFontFaceSource.cpp",
|
| + "LocalFontFaceSource.h",
|
| + "MediaList.cpp",
|
| + "MediaList.h",
|
| + "MediaQuery.cpp",
|
| + "MediaQuery.h",
|
| + "MediaQueryEvaluator.cpp",
|
| + "MediaQueryEvaluator.h",
|
| + "MediaQueryExp.cpp",
|
| + "MediaQueryExp.h",
|
| + "MediaQueryList.cpp",
|
| + "MediaQueryList.h",
|
| + "MediaQueryListEvent.h",
|
| + "MediaQueryListListener.cpp",
|
| + "MediaQueryListListener.h",
|
| + "MediaQueryMatcher.cpp",
|
| + "MediaQueryMatcher.h",
|
| + "MediaValues.cpp",
|
| + "MediaValuesCached.cpp",
|
| + "MediaValuesDynamic.cpp",
|
| + "PageRuleCollector.cpp",
|
| + "PageRuleCollector.h",
|
| + "PropertySetCSSStyleDeclaration.cpp",
|
| + "PropertySetCSSStyleDeclaration.h",
|
| + "PseudoStyleRequest.h",
|
| + "RemoteFontFaceSource.cpp",
|
| + "RemoteFontFaceSource.h",
|
| + "RuleFeature.cpp",
|
| + "RuleFeature.h",
|
| + "RuleSet.cpp",
|
| + "RuleSet.h",
|
| + "SelectorChecker.cpp",
|
| + "SelectorChecker.h",
|
| + "SelectorFilter.cpp",
|
| + "SelectorFilter.h",
|
| + "StyleColor.cpp",
|
| + "StyleColor.h",
|
| + "StyleMedia.cpp",
|
| + "StyleMedia.h",
|
| + "StylePropertySerializer.cpp",
|
| + "StylePropertySerializer.h",
|
| + "StylePropertySet.cpp",
|
| + "StylePropertySet.h",
|
| + "StylePropertyShorthandCustom.cpp",
|
| + "StyleRule.cpp",
|
| + "StyleRule.h",
|
| + "StyleRuleImport.cpp",
|
| + "StyleRuleImport.h",
|
| + "StyleRuleKeyframe.cpp",
|
| + "StyleRuleKeyframe.h",
|
| + "StyleRuleNamespace.h",
|
| + "StyleSheet.cpp",
|
| + "StyleSheet.h",
|
| + "StyleSheetContents.cpp",
|
| + "StyleSheetContents.h",
|
| + "StyleSheetList.cpp",
|
| + "StyleSheetList.h",
|
| + "cssom/CSSAngleValue.cpp",
|
| + "cssom/CSSAngleValue.h",
|
| + "cssom/CSSCalcLength.cpp",
|
| + "cssom/CSSCalcLength.h",
|
| + "cssom/CSSKeywordValue.cpp",
|
| + "cssom/CSSKeywordValue.h",
|
| + "cssom/CSSLengthValue.cpp",
|
| + "cssom/CSSLengthValue.h",
|
| + "cssom/CSSMatrixTransformComponent.cpp",
|
| + "cssom/CSSMatrixTransformComponent.h",
|
| + "cssom/CSSNumberValue.h",
|
| + "cssom/CSSOMKeywords.h",
|
| + "cssom/CSSOMTypes.h",
|
| + "cssom/CSSPerspective.cpp",
|
| + "cssom/CSSPerspective.h",
|
| + "cssom/CSSPositionValue.cpp",
|
| + "cssom/CSSPositionValue.h",
|
| + "cssom/CSSResourceValue.h",
|
| + "cssom/CSSRotation.cpp",
|
| + "cssom/CSSRotation.h",
|
| + "cssom/CSSScale.cpp",
|
| + "cssom/CSSScale.h",
|
| + "cssom/CSSSimpleLength.cpp",
|
| + "cssom/CSSSimpleLength.h",
|
| + "cssom/CSSSkew.cpp",
|
| + "cssom/CSSSkew.h",
|
| + "cssom/CSSStyleImageValue.cpp",
|
| + "cssom/CSSStyleImageValue.h",
|
| + "cssom/CSSStyleValue.cpp",
|
| + "cssom/CSSStyleValue.h",
|
| + "cssom/CSSStyleVariableReferenceValue.h",
|
| + "cssom/CSSTokenStreamValue.cpp",
|
| + "cssom/CSSTokenStreamValue.h",
|
| + "cssom/CSSTransformComponent.cpp",
|
| + "cssom/CSSTransformComponent.h",
|
| + "cssom/CSSTransformValue.cpp",
|
| + "cssom/CSSTransformValue.h",
|
| + "cssom/CSSTranslation.cpp",
|
| + "cssom/CSSTranslation.h",
|
| + "cssom/CSSURLImageValue.h",
|
| + "cssom/CSSUnsupportedStyleValue.cpp",
|
| + "cssom/CSSUnsupportedStyleValue.h",
|
| + "cssom/ComputedStylePropertyMap.cpp",
|
| + "cssom/ComputedStylePropertyMap.h",
|
| + "cssom/FilteredComputedStylePropertyMap.cpp",
|
| + "cssom/FilteredComputedStylePropertyMap.h",
|
| + "cssom/ImmutableStylePropertyMap.h",
|
| + "cssom/InlineStylePropertyMap.cpp",
|
| + "cssom/InlineStylePropertyMap.h",
|
| + "cssom/MutableStylePropertyMap.h",
|
| + "cssom/StylePropertyMap.cpp",
|
| + "cssom/StylePropertyMap.h",
|
| + "cssom/StyleValueFactory.cpp",
|
| + "cssom/StyleValueFactory.h",
|
| + "cssom/WindowGetComputedStyle.h",
|
| + "invalidation/InvalidationSet.cpp",
|
| + "invalidation/InvalidationSet.h",
|
| + "invalidation/PendingInvalidations.h",
|
| + "invalidation/StyleInvalidator.cpp",
|
| + "invalidation/StyleInvalidator.h",
|
| + "invalidation/StyleSheetInvalidationAnalysis.cpp",
|
| + "invalidation/StyleSheetInvalidationAnalysis.h",
|
| + "parser/CSSAtRuleID.cpp",
|
| + "parser/CSSAtRuleID.h",
|
| + "parser/CSSParser.cpp",
|
| + "parser/CSSParser.h",
|
| + "parser/CSSParserFastPaths.cpp",
|
| + "parser/CSSParserFastPaths.h",
|
| + "parser/CSSParserImpl.cpp",
|
| + "parser/CSSParserImpl.h",
|
| + "parser/CSSParserMode.cpp",
|
| + "parser/CSSParserMode.h",
|
| + "parser/CSSParserObserverWrapper.cpp",
|
| + "parser/CSSParserSelector.cpp",
|
| + "parser/CSSParserSelector.h",
|
| + "parser/CSSParserToken.cpp",
|
| + "parser/CSSParserTokenRange.cpp",
|
| + "parser/CSSParserTokenRange.h",
|
| + "parser/CSSPropertyParser.cpp",
|
| + "parser/CSSPropertyParser.h",
|
| + "parser/CSSPropertyParserHelpers.cpp",
|
| + "parser/CSSPropertyParserHelpers.h",
|
| + "parser/CSSSelectorParser.cpp",
|
| + "parser/CSSSelectorParser.h",
|
| + "parser/CSSSupportsParser.cpp",
|
| + "parser/CSSSupportsParser.h",
|
| + "parser/CSSTokenizer.cpp",
|
| + "parser/CSSTokenizerInputStream.cpp",
|
| + "parser/CSSVariableParser.cpp",
|
| + "parser/CSSVariableParser.h",
|
| + "parser/MediaQueryBlockWatcher.cpp",
|
| + "parser/MediaQueryParser.cpp",
|
| + "parser/SizesAttributeParser.cpp",
|
| + "parser/SizesCalcParser.cpp",
|
| + "resolver/AnimatedStyleBuilder.cpp",
|
| + "resolver/AnimatedStyleBuilder.h",
|
| + "resolver/CSSToStyleMap.cpp",
|
| + "resolver/CSSToStyleMap.h",
|
| + "resolver/CSSVariableResolver.cpp",
|
| + "resolver/CSSVariableResolver.h",
|
| + "resolver/ElementResolveContext.cpp",
|
| + "resolver/ElementResolveContext.h",
|
| + "resolver/ElementStyleResources.cpp",
|
| + "resolver/ElementStyleResources.h",
|
| + "resolver/FilterOperationResolver.cpp",
|
| + "resolver/FilterOperationResolver.h",
|
| + "resolver/FontBuilder.cpp",
|
| + "resolver/FontBuilder.h",
|
| + "resolver/MatchRequest.h",
|
| + "resolver/MatchResult.cpp",
|
| + "resolver/MatchResult.h",
|
| + "resolver/MatchedPropertiesCache.cpp",
|
| + "resolver/MatchedPropertiesCache.h",
|
| + "resolver/MediaQueryResult.h",
|
| + "resolver/ScopedStyleResolver.cpp",
|
| + "resolver/ScopedStyleResolver.h",
|
| + "resolver/SelectorFilterParentScope.cpp",
|
| + "resolver/SelectorFilterParentScope.h",
|
| + "resolver/SharedStyleFinder.cpp",
|
| + "resolver/SharedStyleFinder.h",
|
| + "resolver/StyleAdjuster.cpp",
|
| + "resolver/StyleAdjuster.h",
|
| + "resolver/StyleBuilderConverter.cpp",
|
| + "resolver/StyleBuilderConverter.h",
|
| + "resolver/StyleBuilderCustom.cpp",
|
| + "resolver/StyleResolver.cpp",
|
| + "resolver/StyleResolver.h",
|
| + "resolver/StyleResolverState.cpp",
|
| + "resolver/StyleResolverState.h",
|
| + "resolver/StyleResolverStats.cpp",
|
| + "resolver/StyleResolverStats.h",
|
| + "resolver/StyleSharingDepthScope.h",
|
| + "resolver/TransformBuilder.cpp",
|
| + "resolver/TransformBuilder.h",
|
| + "resolver/ViewportStyleResolver.cpp",
|
| + "resolver/ViewportStyleResolver.h",
|
| + ]
|
| +
|
| + configs += [
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + "//build/config/compiler:no_size_t_to_int_warning",
|
| + ]
|
| +}
|
|
|