mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Meta: Add gn build rules for LibWeb
This commit is contained in:
parent
7b3d0fb002
commit
85c8cd5205
60 changed files with 1966 additions and 0 deletions
60
Meta/gn/secondary/Userland/Libraries/LibWeb/CSS/BUILD.gn
Normal file
60
Meta/gn/secondary/Userland/Libraries/LibWeb/CSS/BUILD.gn
Normal file
|
@ -0,0 +1,60 @@
|
|||
source_set("CSS") {
|
||||
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||
deps = [
|
||||
"Parser",
|
||||
"StyleValues",
|
||||
"SyntaxHighlighter",
|
||||
"//Userland/Libraries/LibWeb:all_generated",
|
||||
]
|
||||
sources = [
|
||||
"Angle.cpp",
|
||||
"CSS.cpp",
|
||||
"CSSConditionRule.cpp",
|
||||
"CSSFontFaceRule.cpp",
|
||||
"CSSGroupingRule.cpp",
|
||||
"CSSImportRule.cpp",
|
||||
"CSSKeyframeRule.cpp",
|
||||
"CSSKeyframesRule.cpp",
|
||||
"CSSMediaRule.cpp",
|
||||
"CSSNumerictype.cpp",
|
||||
"CSSRule.cpp",
|
||||
"CSSRuleList.cpp",
|
||||
"CSSStyleDeclaration.cpp",
|
||||
"CSSStyleRule.cpp",
|
||||
"CSSStyleSheet.cpp",
|
||||
"CSSSupportsRule.cpp",
|
||||
"CalculatedOr.cpp",
|
||||
"Clip.cpp",
|
||||
"Display.cpp",
|
||||
"EdgeRect.cpp",
|
||||
"FontFace.cpp",
|
||||
"Frequency.cpp",
|
||||
"GridTrackPlacement.cpp",
|
||||
"GridTrackSize.cpp",
|
||||
"Length.cpp",
|
||||
"LengthBox.cpp",
|
||||
"MediaList.cpp",
|
||||
"MediaQuery.cpp",
|
||||
"MediaQueryList.cpp",
|
||||
"MediaQueryListEvent.cpp",
|
||||
"PercentageOr.cpp",
|
||||
"Position.cpp",
|
||||
"PreferredColorScheme.cpp",
|
||||
"Ratio.cpp",
|
||||
"Resolution.cpp",
|
||||
"ResolvedCSSStyleDeclaration.cpp",
|
||||
"Screen.cpp",
|
||||
"Selector.cpp",
|
||||
"SelectorEngine.cpp",
|
||||
"Serialize.cpp",
|
||||
"Size.cpp",
|
||||
"StyleComputer.cpp",
|
||||
"StyleProperties.cpp",
|
||||
"StyleProperty.cpp",
|
||||
"StyleSheet.cpp",
|
||||
"StyleSheetList.cpp",
|
||||
"StyleValue.cpp",
|
||||
"Supports.cpp",
|
||||
"Time.cpp",
|
||||
]
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
source_set("Parser") {
|
||||
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||
deps = [ "//Userland/Libraries/LibWeb:all_generated" ]
|
||||
sources = [
|
||||
"Block.cpp",
|
||||
"ComponentValue.cpp",
|
||||
"Declaration.cpp",
|
||||
"DeclarationOrAtRule.cpp",
|
||||
"Function.cpp",
|
||||
"Parser.cpp",
|
||||
"Rule.cpp",
|
||||
"Token.cpp",
|
||||
"Tokenizer.cpp",
|
||||
]
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
source_set("StyleValues") {
|
||||
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||
deps = [ "//Userland/Libraries/LibWeb:all_generated" ]
|
||||
sources = [
|
||||
"AngleStyleValue.cpp",
|
||||
"BackgroundRepeatStyleValue.cpp",
|
||||
"BackgroundSizeStyleValue.cpp",
|
||||
"BackgroundStyleValue.cpp",
|
||||
"BorderRadiusShorthandStyleValue.cpp",
|
||||
"BorderRadiusStyleValue.cpp",
|
||||
"BorderStyleValue.cpp",
|
||||
"CalculatedStyleValue.cpp",
|
||||
"ColorStyleValue.cpp",
|
||||
"CompositeStyleValue.cpp",
|
||||
"ConicGradientStyleValue.cpp",
|
||||
"ContentStyleValue.cpp",
|
||||
"DisplayStyleValue.cpp",
|
||||
"EdgeStyleValue.cpp",
|
||||
"FilterValueListStyleValue.cpp",
|
||||
"FlexFlowStyleValue.cpp",
|
||||
"FlexStyleValue.cpp",
|
||||
"FontStyleValue.cpp",
|
||||
"GridAreaShorthandStyleValue.cpp",
|
||||
"GridTemplateAreaStyleValue.cpp",
|
||||
"GridTrackPlacementShorthandStyleValue.cpp",
|
||||
"GridTrackPlacementStyleValue.cpp",
|
||||
"GridTrackSizeListShorthandStyleValue.cpp",
|
||||
"GridTrackSizeListStyleValue.cpp",
|
||||
"IdentifierStyleValue.cpp",
|
||||
"ImageStyleValue.cpp",
|
||||
"IntegerStyleValue.cpp",
|
||||
"LengthStyleValue.cpp",
|
||||
"LinearGradientStyleValue.cpp",
|
||||
"ListStyleStyleValue.cpp",
|
||||
"NumberStyleValue.cpp",
|
||||
"OverflowStyleValue.cpp",
|
||||
"PlaceContentStyleValue.cpp",
|
||||
"PositionStyleValue.cpp",
|
||||
"RadialGradientStyleValue.cpp",
|
||||
"RectStyleValue.cpp",
|
||||
"ShadowStyleValue.cpp",
|
||||
"StyleValueList.cpp",
|
||||
"TextDecorationStyleValue.cpp",
|
||||
"TransformationStyleValue.cpp",
|
||||
"UnresolvedStyleValue.cpp",
|
||||
]
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
source_set("SyntaxHighlighter") {
|
||||
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||
deps = [ "//Userland/Libraries/LibWeb:all_generated" ]
|
||||
include_dirs = [
|
||||
"//Userland", # For LibSyntax needing LibGUI needing WindowServer types
|
||||
]
|
||||
sources = [ "SyntaxHighlighter.cpp" ]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue