OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//third_party/WebKit/Source/core/core.gni") | |
6 | |
7 blink_core_sources("layout") { | |
8 split_count = 5 | |
9 | |
10 sources = [ | |
11 "BidiRun.h", | |
12 "BidiRunForLine.cpp", | |
13 "BidiRunForLine.h", | |
14 "ClipRect.cpp", | |
15 "ClipRect.h", | |
16 "ClipRects.h", | |
17 "ClipRectsCache.h", | |
18 "ColumnBalancer.cpp", | |
19 "ColumnBalancer.h", | |
20 "CounterNode.cpp", | |
21 "CounterNode.h", | |
22 "DepthOrderedLayoutObjectList.cpp", | |
23 "DepthOrderedLayoutObjectList.h", | |
24 "FloatingObjects.cpp", | |
25 "FloatingObjects.h", | |
26 "FragmentationContext.h", | |
27 "GeneratedChildren.h", | |
28 "HitTestCache.cpp", | |
29 "HitTestCache.h", | |
30 "HitTestCanvasResult.cpp", | |
31 "HitTestLocation.cpp", | |
32 "HitTestLocation.h", | |
33 "HitTestResult.cpp", | |
34 "HitTestingTransformState.cpp", | |
35 "HitTestingTransformState.h", | |
36 "ImageQualityController.cpp", | |
37 "ImageQualityController.h", | |
38 "LayoutAnalyzer.cpp", | |
39 "LayoutAnalyzer.h", | |
40 "LayoutBR.cpp", | |
41 "LayoutBlock.cpp", | |
42 "LayoutBlockFlow.cpp", | |
43 "LayoutBlockFlowLine.cpp", | |
44 "LayoutBox.cpp", | |
45 "LayoutBoxModelObject.cpp", | |
46 "LayoutButton.cpp", | |
47 "LayoutButton.h", | |
48 "LayoutCounter.cpp", | |
49 "LayoutCounter.h", | |
50 "LayoutDeprecatedFlexibleBox.cpp", | |
51 "LayoutDeprecatedFlexibleBox.h", | |
52 "LayoutDetailsMarker.cpp", | |
53 "LayoutDetailsMarker.h", | |
54 "LayoutEmbeddedObject.cpp", | |
55 "LayoutFieldset.cpp", | |
56 "LayoutFieldset.h", | |
57 "LayoutFileUploadControl.cpp", | |
58 "LayoutFileUploadControl.h", | |
59 "LayoutFlexibleBox.cpp", | |
60 "LayoutFlexibleBox.h", | |
61 "LayoutFlowThread.cpp", | |
62 "LayoutFlowThread.h", | |
63 "LayoutFrame.cpp", | |
64 "LayoutFrame.h", | |
65 "LayoutFrameSet.cpp", | |
66 "LayoutFrameSet.h", | |
67 "LayoutFullScreen.cpp", | |
68 "LayoutFullScreen.h", | |
69 "LayoutGeometryMap.cpp", | |
70 "LayoutGeometryMap.h", | |
71 "LayoutGeometryMapStep.h", | |
72 "LayoutGrid.cpp", | |
73 "LayoutGrid.h", | |
74 "LayoutHTMLCanvas.cpp", | |
75 "LayoutHTMLCanvas.h", | |
76 "LayoutIFrame.cpp", | |
77 "LayoutIFrame.h", | |
78 "LayoutImage.cpp", | |
79 "LayoutImageResource.cpp", | |
80 "LayoutImageResourceStyleImage.cpp", | |
81 "LayoutInline.cpp", | |
82 "LayoutInline.h", | |
83 "LayoutListBox.cpp", | |
84 "LayoutListBox.h", | |
85 "LayoutListItem.cpp", | |
86 "LayoutListMarker.cpp", | |
87 "LayoutListMarker.h", | |
88 "LayoutMedia.cpp", | |
89 "LayoutMedia.h", | |
90 "LayoutMenuList.cpp", | |
91 "LayoutMenuList.h", | |
92 "LayoutMultiColumnFlowThread.cpp", | |
93 "LayoutMultiColumnFlowThread.h", | |
94 "LayoutMultiColumnSet.cpp", | |
95 "LayoutMultiColumnSet.h", | |
96 "LayoutMultiColumnSpannerPlaceholder.cpp", | |
97 "LayoutMultiColumnSpannerPlaceholder.h", | |
98 "LayoutObject.cpp", | |
99 "LayoutObjectChildList.cpp", | |
100 "LayoutPagedFlowThread.cpp", | |
101 "LayoutPagedFlowThread.h", | |
102 "LayoutPart.cpp", | |
103 "LayoutProgress.cpp", | |
104 "LayoutProgress.h", | |
105 "LayoutQuote.cpp", | |
106 "LayoutQuote.h", | |
107 "LayoutReplaced.cpp", | |
108 "LayoutReplica.cpp", | |
109 "LayoutReplica.h", | |
110 "LayoutRuby.cpp", | |
111 "LayoutRuby.h", | |
112 "LayoutRubyBase.cpp", | |
113 "LayoutRubyBase.h", | |
114 "LayoutRubyRun.cpp", | |
115 "LayoutRubyRun.h", | |
116 "LayoutRubyText.cpp", | |
117 "LayoutRubyText.h", | |
118 "LayoutScrollbar.cpp", | |
119 "LayoutScrollbar.h", | |
120 "LayoutScrollbarPart.cpp", | |
121 "LayoutScrollbarPart.h", | |
122 "LayoutScrollbarTheme.cpp", | |
123 "LayoutScrollbarTheme.h", | |
124 "LayoutSearchField.cpp", | |
125 "LayoutSearchField.h", | |
126 "LayoutSlider.cpp", | |
127 "LayoutSlider.h", | |
128 "LayoutSliderContainer.cpp", | |
129 "LayoutSliderContainer.h", | |
130 "LayoutSliderThumb.cpp", | |
131 "LayoutSliderThumb.h", | |
132 "LayoutState.cpp", | |
133 "LayoutTable.cpp", | |
134 "LayoutTable.h", | |
135 "LayoutTableBoxComponent.cpp", | |
136 "LayoutTableBoxComponent.h", | |
137 "LayoutTableCaption.cpp", | |
138 "LayoutTableCaption.h", | |
139 "LayoutTableCell.cpp", | |
140 "LayoutTableCell.h", | |
141 "LayoutTableCol.cpp", | |
142 "LayoutTableCol.h", | |
143 "LayoutTableRow.cpp", | |
144 "LayoutTableRow.h", | |
145 "LayoutTableSection.cpp", | |
146 "LayoutTableSection.h", | |
147 "LayoutText.cpp", | |
148 "LayoutTextCombine.cpp", | |
149 "LayoutTextCombine.h", | |
150 "LayoutTextControl.cpp", | |
151 "LayoutTextControl.h", | |
152 "LayoutTextControlMultiLine.cpp", | |
153 "LayoutTextControlMultiLine.h", | |
154 "LayoutTextControlSingleLine.cpp", | |
155 "LayoutTextControlSingleLine.h", | |
156 "LayoutTextFragment.cpp", | |
157 "LayoutTextFragment.h", | |
158 "LayoutTextTrackContainer.cpp", | |
159 "LayoutTextTrackContainer.h", | |
160 "LayoutTheme.cpp", | |
161 "LayoutTheme.h", | |
162 "LayoutThemeDefault.cpp", | |
163 "LayoutThemeDefault.h", | |
164 "LayoutThemeFontProvider.cpp", | |
165 "LayoutThemeFontProvider.h", | |
166 "LayoutThemeMac.h", | |
167 "LayoutThemeMac.mm", | |
168 "LayoutThemeMobile.cpp", | |
169 "LayoutThemeMobile.h", | |
170 "LayoutTreeAsText.cpp", | |
171 "LayoutVTTCue.cpp", | |
172 "LayoutVTTCue.h", | |
173 "LayoutVideo.cpp", | |
174 "LayoutVideo.h", | |
175 "LayoutView.cpp", | |
176 "LayoutWordBreak.cpp", | |
177 "LayoutWordBreak.h", | |
178 "ListMarkerText.cpp", | |
179 "ListMarkerText.h", | |
180 "MultiColumnFragmentainerGroup.cpp", | |
181 "MultiColumnFragmentainerGroup.h", | |
182 "OrderIterator.cpp", | |
183 "OrderIterator.h", | |
184 "OverflowModel.h", | |
185 "PaintInvalidationState.cpp", | |
186 "PaintInvalidationState.h", | |
187 "PointerEventsHitRules.cpp", | |
188 "PointerEventsHitRules.h", | |
189 "ScrollAlignment.cpp", | |
190 "ScrollAnchor.cpp", | |
191 "ScrollAnchor.h", | |
192 "SubtreeLayoutScope.cpp", | |
193 "SubtreeLayoutScope.h", | |
194 "TableLayoutAlgorithm.h", | |
195 "TableLayoutAlgorithmAuto.cpp", | |
196 "TableLayoutAlgorithmAuto.h", | |
197 "TableLayoutAlgorithmFixed.cpp", | |
198 "TableLayoutAlgorithmFixed.h", | |
199 "TextAutosizer.cpp", | |
200 "TextAutosizer.h", | |
201 "TextRunConstructor.cpp", | |
202 "TextRunConstructor.h", | |
203 "TracedLayoutObject.cpp", | |
204 "TracedLayoutObject.h", | |
205 "VerticalPositionCache.h", | |
206 "ViewFragmentationContext.cpp", | |
207 "ViewFragmentationContext.h", | |
208 "api/HitTestAction.h", | |
209 "api/LayoutAPIShim.h", | |
210 "api/LayoutBlockItem.h", | |
211 "api/LayoutBoxItem.h", | |
212 "api/LayoutBoxModel.h", | |
213 "api/LayoutEmbeddedItem.h", | |
214 "api/LayoutFullScreenItem.h", | |
215 "api/LayoutImageItem.h", | |
216 "api/LayoutItem.h", | |
217 "api/LayoutLIItem.h", | |
218 "api/LayoutMediaItem.h", | |
219 "api/LayoutMenuListItem.h", | |
220 "api/LayoutPartItem.h", | |
221 "api/LayoutProgressItem.h", | |
222 "api/LayoutSliderItem.h", | |
223 "api/LayoutTextControlItem.h", | |
224 "api/LayoutTextFragmentItem.h", | |
225 "api/LayoutTextItem.h", | |
226 "api/LayoutViewItem.h", | |
227 "api/LineLayoutAPIShim.h", | |
228 "api/LineLayoutBR.h", | |
229 "api/LineLayoutBlockFlow.h", | |
230 "api/LineLayoutBox.h", | |
231 "api/LineLayoutBoxModel.h", | |
232 "api/LineLayoutInline.h", | |
233 "api/LineLayoutItem.h", | |
234 "api/LineLayoutListMarker.h", | |
235 "api/LineLayoutRubyBase.h", | |
236 "api/LineLayoutRubyRun.h", | |
237 "api/LineLayoutRubyText.h", | |
238 "api/LineLayoutSVGInline.h", | |
239 "api/LineLayoutSVGInlineText.h", | |
240 "api/LineLayoutSVGTextPath.h", | |
241 "api/LineLayoutText.h", | |
242 "api/LineLayoutTextCombine.h", | |
243 "api/SelectionState.h", | |
244 "compositing/CompositedLayerMapping.cpp", | |
245 "compositing/CompositedLayerMapping.h", | |
246 "compositing/CompositingInputsUpdater.cpp", | |
247 "compositing/CompositingInputsUpdater.h", | |
248 "compositing/CompositingLayerAssigner.cpp", | |
249 "compositing/CompositingLayerAssigner.h", | |
250 "compositing/CompositingReasonFinder.cpp", | |
251 "compositing/CompositingReasonFinder.h", | |
252 "compositing/CompositingRequirementsUpdater.cpp", | |
253 "compositing/CompositingRequirementsUpdater.h", | |
254 "compositing/CompositingState.h", | |
255 "compositing/CompositingTriggers.h", | |
256 "compositing/GraphicsLayerTreeBuilder.cpp", | |
257 "compositing/GraphicsLayerTreeBuilder.h", | |
258 "compositing/GraphicsLayerUpdater.cpp", | |
259 "compositing/GraphicsLayerUpdater.h", | |
260 "compositing/PaintLayerCompositor.cpp", | |
261 "compositing/PaintLayerCompositor.h", | |
262 "line/AbstractInlineTextBox.cpp", | |
263 "line/AbstractInlineTextBox.h", | |
264 "line/BreakingContext.cpp", | |
265 "line/EllipsisBox.cpp", | |
266 "line/EllipsisBox.h", | |
267 "line/GlyphOverflow.h", | |
268 "line/InlineBox.cpp", | |
269 "line/InlineFlowBox.cpp", | |
270 "line/InlineIterator.h", | |
271 "line/InlineTextBox.cpp", | |
272 "line/LineBoxList.cpp", | |
273 "line/LineBreaker.cpp", | |
274 "line/LineBreaker.h", | |
275 "line/LineWidth.cpp", | |
276 "line/LineWidth.h", | |
277 "line/RootInlineBox.cpp", | |
278 "line/TrailingObjects.cpp", | |
279 "line/TrailingObjects.h", | |
280 "ng/layout_ng_block_flow.cc", | |
281 "ng/layout_ng_block_flow.h", | |
282 "ng/ng_block_layout_algorithm.cc", | |
283 "ng/ng_block_layout_algorithm.h", | |
284 "ng/ng_box.cc", | |
285 "ng/ng_box.h", | |
286 "ng/ng_constraint_space.cc", | |
287 "ng/ng_constraint_space.h", | |
288 "ng/ng_direction.cc", | |
289 "ng/ng_direction.h", | |
290 "ng/ng_fragment.cc", | |
291 "ng/ng_fragment.h", | |
292 "ng/ng_fragment_base.cc", | |
293 "ng/ng_fragment_base.h", | |
294 "ng/ng_fragment_builder.cc", | |
295 "ng/ng_fragment_builder.h", | |
296 "ng/ng_layout_input_text.h", | |
297 "ng/ng_length_utils.cc", | |
298 "ng/ng_length_utils.h", | |
299 "ng/ng_margin_strut.h", | |
300 "ng/ng_physical_constraint_space.cc", | |
301 "ng/ng_physical_constraint_space.h", | |
302 "ng/ng_physical_fragment.h", | |
303 "ng/ng_physical_fragment_base.cc", | |
304 "ng/ng_physical_fragment_base.h", | |
305 "ng/ng_physical_text_fragment.h", | |
306 "ng/ng_text_fragment.cc", | |
307 "ng/ng_text_fragment.h", | |
308 "ng/ng_units.cc", | |
309 "ng/ng_units.h", | |
310 "ng/ng_writing_mode.cc", | |
311 "ng/ng_writing_mode.h", | |
312 "shapes/BoxShape.cpp", | |
313 "shapes/BoxShape.h", | |
314 "shapes/PolygonShape.cpp", | |
315 "shapes/PolygonShape.h", | |
316 "shapes/RasterShape.cpp", | |
317 "shapes/RasterShape.h", | |
318 "shapes/RectangleShape.cpp", | |
319 "shapes/RectangleShape.h", | |
320 "shapes/Shape.cpp", | |
321 "shapes/Shape.h", | |
322 "shapes/ShapeInterval.h", | |
323 "shapes/ShapeOutsideInfo.cpp", | |
324 "shapes/ShapeOutsideInfo.h", | |
325 "svg/line/SVGInlineFlowBox.cpp", | |
326 "svg/line/SVGInlineFlowBox.h", | |
327 "svg/line/SVGInlineTextBox.cpp", | |
328 "svg/line/SVGInlineTextBox.h", | |
329 "svg/line/SVGRootInlineBox.cpp", | |
330 "svg/line/SVGRootInlineBox.h", | |
331 ] | |
332 | |
333 if (is_win) { | |
334 sources += [ | |
335 "LayoutThemeFontProviderWin.cpp", | |
336 "LayoutThemeWin.cpp", | |
337 "LayoutThemeWin.h", | |
338 ] | |
339 } else { # Not Windows. | |
340 sources += [ "LayoutThemeFontProviderDefault.cpp" ] | |
341 } | |
342 | |
343 if (is_linux) { | |
344 sources += [ | |
345 "LayoutThemeLinux.cpp", | |
346 "LayoutThemeLinux.h", | |
347 ] | |
348 } | |
349 | |
350 if (is_android) { | |
351 sources += [ | |
352 "LayoutThemeAndroid.cpp", | |
353 "LayoutThemeAndroid.h", | |
354 ] | |
355 } | |
356 | |
357 configs += [ | |
358 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
359 "//build/config/compiler:no_size_t_to_int_warning", | |
360 ] | |
361 } | |
OLD | NEW |