Index: third_party/WebKit/Source/core/html/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/html/BUILD.gn b/third_party/WebKit/Source/core/html/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4fed37b56317b9a8dde35f46f1ab3a43228fa421 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/html/BUILD.gn |
@@ -0,0 +1,520 @@ |
+# 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("//build/split_static_library.gni") |
+import("//third_party/WebKit/Source/core/core.gni") |
+ |
+target(core_link_large_target_type, "html") { |
+ visibility = [ "//third_party/WebKit/Source/core/*" ] |
+ |
+ if (core_link_large_target_type == "split_static_library") { |
+ split_count = 5 |
+ } |
+ |
+ sources = [ |
+ "AutoplayExperimentHelper.cpp", |
+ "AutoplayExperimentHelper.h", |
+ "AutoplayUmaHelper.cpp", |
+ "AutoplayUmaHelper.h", |
+ "ClassList.cpp", |
+ "ClassList.h", |
+ "CrossOriginAttribute.cpp", |
+ "CrossOriginAttribute.h", |
+ "DocumentNameCollection.cpp", |
+ "DocumentNameCollection.h", |
+ "FormAssociatedElement.cpp", |
+ "FormData.cpp", |
+ "FormData.h", |
+ "HTMLAllCollection.cpp", |
+ "HTMLAllCollection.h", |
+ "HTMLAnchorElement.cpp", |
+ "HTMLAnchorElement.h", |
+ "HTMLAreaElement.cpp", |
+ "HTMLAreaElement.h", |
+ "HTMLAudioElement.cpp", |
+ "HTMLAudioElement.h", |
+ "HTMLBDIElement.h", |
+ "HTMLBRElement.cpp", |
+ "HTMLBRElement.h", |
+ "HTMLBaseElement.cpp", |
+ "HTMLBaseElement.h", |
+ "HTMLBodyElement.cpp", |
+ "HTMLBodyElement.h", |
+ "HTMLButtonElement.cpp", |
+ "HTMLButtonElement.h", |
+ "HTMLCanvasElement.cpp", |
+ "HTMLCanvasElement.h", |
+ "HTMLCollection.cpp", |
+ "HTMLContentElement.cpp", |
+ "HTMLContentElement.h", |
+ "HTMLDListElement.cpp", |
+ "HTMLDListElement.h", |
+ "HTMLDataListElement.cpp", |
+ "HTMLDataListElement.h", |
+ "HTMLDetailsElement.cpp", |
+ "HTMLDetailsElement.h", |
+ "HTMLDialogElement.cpp", |
+ "HTMLDialogElement.h", |
+ "HTMLDimension.cpp", |
+ "HTMLDimension.h", |
+ "HTMLDirectoryElement.cpp", |
+ "HTMLDirectoryElement.h", |
+ "HTMLDivElement.cpp", |
+ "HTMLDivElement.h", |
+ "HTMLDocument.cpp", |
+ "HTMLElement.cpp", |
+ "HTMLEmbedElement.cpp", |
+ "HTMLEmbedElement.h", |
+ "HTMLFieldSetElement.cpp", |
+ "HTMLFieldSetElement.h", |
+ "HTMLFontElement.cpp", |
+ "HTMLFontElement.h", |
+ "HTMLFormControlElement.cpp", |
+ "HTMLFormControlElementWithState.cpp", |
+ "HTMLFormControlsCollection.cpp", |
+ "HTMLFormControlsCollection.h", |
+ "HTMLFormElement.cpp", |
+ "HTMLFrameElement.cpp", |
+ "HTMLFrameElementBase.cpp", |
+ "HTMLFrameOwnerElement.cpp", |
+ "HTMLFrameSetElement.cpp", |
+ "HTMLFrameSetElement.h", |
+ "HTMLHRElement.cpp", |
+ "HTMLHRElement.h", |
+ "HTMLHeadElement.cpp", |
+ "HTMLHeadElement.h", |
+ "HTMLHeadingElement.cpp", |
+ "HTMLHeadingElement.h", |
+ "HTMLHtmlElement.cpp", |
+ "HTMLHtmlElement.h", |
+ "HTMLIFrameElement.cpp", |
+ "HTMLIFrameElementPermissions.cpp", |
+ "HTMLIFrameElementPermissions.h", |
+ "HTMLIFrameElementSandbox.cpp", |
+ "HTMLIFrameElementSandbox.h", |
+ "HTMLImageElement.cpp", |
+ "HTMLImageElement.h", |
+ "HTMLImageFallbackHelper.cpp", |
+ "HTMLImageFallbackHelper.h", |
+ "HTMLImageLoader.cpp", |
+ "HTMLImageLoader.h", |
+ "HTMLInputElement.cpp", |
+ "HTMLKeygenElement.cpp", |
+ "HTMLKeygenElement.h", |
+ "HTMLLIElement.cpp", |
+ "HTMLLIElement.h", |
+ "HTMLLabelElement.cpp", |
+ "HTMLLabelElement.h", |
+ "HTMLLegendElement.cpp", |
+ "HTMLLegendElement.h", |
+ "HTMLLinkElement.cpp", |
+ "HTMLLinkElement.h", |
+ "HTMLMapElement.cpp", |
+ "HTMLMapElement.h", |
+ "HTMLMarqueeElement.cpp", |
+ "HTMLMarqueeElement.h", |
+ "HTMLMediaElement.cpp", |
+ "HTMLMediaSource.cpp", |
+ "HTMLMediaSource.h", |
+ "HTMLMenuElement.cpp", |
+ "HTMLMenuElement.h", |
+ "HTMLMenuItemElement.cpp", |
+ "HTMLMenuItemElement.h", |
+ "HTMLMetaElement.h", |
+ "HTMLMeterElement.cpp", |
+ "HTMLMeterElement.h", |
+ "HTMLModElement.cpp", |
+ "HTMLModElement.h", |
+ "HTMLNameCollection.cpp", |
+ "HTMLNameCollection.h", |
+ "HTMLNoEmbedElement.cpp", |
+ "HTMLNoEmbedElement.h", |
+ "HTMLNoScriptElement.cpp", |
+ "HTMLNoScriptElement.h", |
+ "HTMLOListElement.cpp", |
+ "HTMLOListElement.h", |
+ "HTMLObjectElement.cpp", |
+ "HTMLObjectElement.h", |
+ "HTMLOptGroupElement.cpp", |
+ "HTMLOptGroupElement.h", |
+ "HTMLOptionElement.cpp", |
+ "HTMLOptionElement.h", |
+ "HTMLOptionsCollection.cpp", |
+ "HTMLOptionsCollection.h", |
+ "HTMLOutputElement.cpp", |
+ "HTMLOutputElement.h", |
+ "HTMLParagraphElement.cpp", |
+ "HTMLParagraphElement.h", |
+ "HTMLParamElement.cpp", |
+ "HTMLParamElement.h", |
+ "HTMLPictureElement.cpp", |
+ "HTMLPlugInElement.cpp", |
+ "HTMLPlugInElement.h", |
+ "HTMLPreElement.cpp", |
+ "HTMLPreElement.h", |
+ "HTMLProgressElement.cpp", |
+ "HTMLProgressElement.h", |
+ "HTMLQuoteElement.cpp", |
+ "HTMLQuoteElement.h", |
+ "HTMLRTElement.cpp", |
+ "HTMLRTElement.h", |
+ "HTMLRubyElement.cpp", |
+ "HTMLRubyElement.h", |
+ "HTMLScriptElement.cpp", |
+ "HTMLScriptElement.h", |
+ "HTMLSelectElement.cpp", |
+ "HTMLSelectElement.h", |
+ "HTMLShadowElement.cpp", |
+ "HTMLShadowElement.h", |
+ "HTMLSlotElement.cpp", |
+ "HTMLSlotElement.h", |
+ "HTMLSourceElement.cpp", |
+ "HTMLSourceElement.h", |
+ "HTMLSpanElement.cpp", |
+ "HTMLSpanElement.h", |
+ "HTMLStyleElement.cpp", |
+ "HTMLStyleElement.h", |
+ "HTMLSummaryElement.cpp", |
+ "HTMLSummaryElement.h", |
+ "HTMLTableCaptionElement.cpp", |
+ "HTMLTableCaptionElement.h", |
+ "HTMLTableCellElement.cpp", |
+ "HTMLTableColElement.cpp", |
+ "HTMLTableColElement.h", |
+ "HTMLTableElement.cpp", |
+ "HTMLTableElement.h", |
+ "HTMLTablePartElement.cpp", |
+ "HTMLTableRowElement.cpp", |
+ "HTMLTableRowElement.h", |
+ "HTMLTableRowsCollection.cpp", |
+ "HTMLTableRowsCollection.h", |
+ "HTMLTableSectionElement.cpp", |
+ "HTMLTableSectionElement.h", |
+ "HTMLTagCollection.cpp", |
+ "HTMLTagCollection.h", |
+ "HTMLTemplateElement.cpp", |
+ "HTMLTemplateElement.h", |
+ "HTMLTextAreaElement.cpp", |
+ "HTMLTextFormControlElement.cpp", |
+ "HTMLTitleElement.cpp", |
+ "HTMLTitleElement.h", |
+ "HTMLTrackElement.cpp", |
+ "HTMLTrackElement.h", |
+ "HTMLUListElement.cpp", |
+ "HTMLUListElement.h", |
+ "HTMLUnknownElement.cpp", |
+ "HTMLUnknownElement.h", |
+ "HTMLVideoElement.cpp", |
+ "HTMLVideoElement.h", |
+ "HTMLViewSourceDocument.cpp", |
+ "HTMLViewSourceDocument.h", |
+ "HTMLWBRElement.cpp", |
+ "HTMLWBRElement.h", |
+ "ImageData.cpp", |
+ "ImageData.h", |
+ "ImageDocument.cpp", |
+ "ImageDocument.h", |
+ "LabelableElement.cpp", |
+ "LabelsNodeList.cpp", |
+ "LabelsNodeList.h", |
+ "LinkManifest.cpp", |
+ "LinkManifest.h", |
+ "LinkRelAttribute.cpp", |
+ "LinkRelAttribute.h", |
+ "LinkResource.cpp", |
+ "LinkResource.h", |
+ "MediaDocument.cpp", |
+ "MediaDocument.h", |
+ "MediaError.h", |
+ "MediaFragmentURIParser.cpp", |
+ "MediaFragmentURIParser.h", |
+ "PluginDocument.cpp", |
+ "PluginDocument.h", |
+ "PublicURLManager.cpp", |
+ "PublicURLManager.h", |
+ "RadioNodeList.cpp", |
+ "RadioNodeList.h", |
+ "RelList.cpp", |
+ "RelList.h", |
+ "TextDocument.cpp", |
+ "TextDocument.h", |
+ "TextMetrics.h", |
+ "TimeRanges.cpp", |
+ "TimeRanges.h", |
+ "URLRegistry.h", |
+ "ValidityState.cpp", |
+ "ValidityState.h", |
+ "WindowNameCollection.cpp", |
+ "WindowNameCollection.h", |
+ "canvas/CanvasAsyncBlobCreator.cpp", |
+ "canvas/CanvasAsyncBlobCreator.h", |
+ "canvas/CanvasDrawListener.cpp", |
+ "canvas/CanvasDrawListener.h", |
+ "canvas/CanvasFontCache.cpp", |
+ "canvas/CanvasFontCache.h", |
+ "canvas/CanvasImageSource.h", |
+ "canvas/CanvasRenderingContext.cpp", |
+ "canvas/CanvasRenderingContext.h", |
+ "canvas/CanvasRenderingContextFactory.h", |
+ "forms/BaseButtonInputType.cpp", |
+ "forms/BaseButtonInputType.h", |
+ "forms/BaseCheckableInputType.cpp", |
+ "forms/BaseCheckableInputType.h", |
+ "forms/BaseTemporalInputType.cpp", |
+ "forms/BaseTemporalInputType.h", |
+ "forms/BaseTextInputType.cpp", |
+ "forms/BaseTextInputType.h", |
+ "forms/ButtonInputType.cpp", |
+ "forms/ButtonInputType.h", |
+ "forms/CheckboxInputType.cpp", |
+ "forms/CheckboxInputType.h", |
+ "forms/ChooserOnlyTemporalInputTypeView.cpp", |
+ "forms/ChooserOnlyTemporalInputTypeView.h", |
+ "forms/ColorChooser.cpp", |
+ "forms/ColorChooser.h", |
+ "forms/ColorChooserClient.cpp", |
+ "forms/ColorChooserClient.h", |
+ "forms/ColorInputType.cpp", |
+ "forms/ColorInputType.h", |
+ "forms/DateInputType.cpp", |
+ "forms/DateInputType.h", |
+ "forms/DateTimeChooser.cpp", |
+ "forms/DateTimeChooser.h", |
+ "forms/DateTimeChooserClient.cpp", |
+ "forms/DateTimeChooserClient.h", |
+ "forms/DateTimeFieldsState.cpp", |
+ "forms/DateTimeFieldsState.h", |
+ "forms/DateTimeLocalInputType.cpp", |
+ "forms/DateTimeLocalInputType.h", |
+ "forms/EmailInputType.cpp", |
+ "forms/EmailInputType.h", |
+ "forms/FileInputType.cpp", |
+ "forms/FileInputType.h", |
+ "forms/FormController.cpp", |
+ "forms/FormController.h", |
+ "forms/HiddenInputType.cpp", |
+ "forms/HiddenInputType.h", |
+ "forms/ImageInputType.cpp", |
+ "forms/ImageInputType.h", |
+ "forms/InputType.cpp", |
+ "forms/InputType.h", |
+ "forms/InputTypeView.cpp", |
+ "forms/InputTypeView.h", |
+ "forms/KeyboardClickableInputTypeView.cpp", |
+ "forms/KeyboardClickableInputTypeView.h", |
+ "forms/MonthInputType.cpp", |
+ "forms/MonthInputType.h", |
+ "forms/MultipleFieldsTemporalInputTypeView.cpp", |
+ "forms/MultipleFieldsTemporalInputTypeView.h", |
+ "forms/NumberInputType.cpp", |
+ "forms/NumberInputType.h", |
+ "forms/OptionList.cpp", |
+ "forms/OptionList.h", |
+ "forms/PasswordInputType.cpp", |
+ "forms/PasswordInputType.h", |
+ "forms/RadioButtonGroupScope.cpp", |
+ "forms/RadioButtonGroupScope.h", |
+ "forms/RadioInputType.cpp", |
+ "forms/RadioInputType.h", |
+ "forms/RangeInputType.cpp", |
+ "forms/RangeInputType.h", |
+ "forms/ResetInputType.cpp", |
+ "forms/ResetInputType.h", |
+ "forms/SearchInputType.cpp", |
+ "forms/SearchInputType.h", |
+ "forms/StepRange.cpp", |
+ "forms/StepRange.h", |
+ "forms/SubmitInputType.cpp", |
+ "forms/SubmitInputType.h", |
+ "forms/TelephoneInputType.cpp", |
+ "forms/TelephoneInputType.h", |
+ "forms/TextFieldInputType.cpp", |
+ "forms/TextFieldInputType.h", |
+ "forms/TextInputType.cpp", |
+ "forms/TextInputType.h", |
+ "forms/TimeInputType.cpp", |
+ "forms/TimeInputType.h", |
+ "forms/TypeAhead.cpp", |
+ "forms/TypeAhead.h", |
+ "forms/URLInputType.cpp", |
+ "forms/URLInputType.h", |
+ "forms/WeekInputType.cpp", |
+ "forms/WeekInputType.h", |
+ "imports/HTMLImport.cpp", |
+ "imports/HTMLImport.h", |
+ "imports/HTMLImportChild.cpp", |
+ "imports/HTMLImportChild.h", |
+ "imports/HTMLImportChildClient.h", |
+ "imports/HTMLImportLoader.cpp", |
+ "imports/HTMLImportLoader.h", |
+ "imports/HTMLImportState.h", |
+ "imports/HTMLImportStateResolver.cpp", |
+ "imports/HTMLImportStateResolver.h", |
+ "imports/HTMLImportTreeRoot.cpp", |
+ "imports/HTMLImportTreeRoot.h", |
+ "imports/HTMLImportsController.cpp", |
+ "imports/HTMLImportsController.h", |
+ "imports/LinkImport.cpp", |
+ "imports/LinkImport.h", |
+ "parser/AtomicHTMLToken.cpp", |
+ "parser/AtomicHTMLToken.h", |
+ "parser/BackgroundHTMLInputStream.cpp", |
+ "parser/BackgroundHTMLInputStream.h", |
+ "parser/BackgroundHTMLParser.cpp", |
+ "parser/BackgroundHTMLParser.h", |
+ "parser/CSSPreloadScanner.cpp", |
+ "parser/CSSPreloadScanner.h", |
+ "parser/CompactHTMLToken.cpp", |
+ "parser/CompactHTMLToken.h", |
+ "parser/HTMLConstructionSite.cpp", |
+ "parser/HTMLConstructionSite.h", |
+ "parser/HTMLDocumentParser.cpp", |
+ "parser/HTMLDocumentParser.h", |
+ "parser/HTMLElementStack.cpp", |
+ "parser/HTMLElementStack.h", |
+ "parser/HTMLEntityParser.cpp", |
+ "parser/HTMLEntityParser.h", |
+ "parser/HTMLEntitySearch.cpp", |
+ "parser/HTMLEntitySearch.h", |
+ "parser/HTMLEntityTable.h", |
+ "parser/HTMLFormattingElementList.cpp", |
+ "parser/HTMLFormattingElementList.h", |
+ "parser/HTMLInputStream.h", |
+ "parser/HTMLMetaCharsetParser.cpp", |
+ "parser/HTMLMetaCharsetParser.h", |
+ "parser/HTMLParserIdioms.cpp", |
+ "parser/HTMLParserOptions.cpp", |
+ "parser/HTMLParserOptions.h", |
+ "parser/HTMLParserReentryPermit.cpp", |
+ "parser/HTMLParserReentryPermit.h", |
+ "parser/HTMLParserScheduler.cpp", |
+ "parser/HTMLParserScheduler.h", |
+ "parser/HTMLParserThread.cpp", |
+ "parser/HTMLParserThread.h", |
+ "parser/HTMLPreloadScanner.cpp", |
+ "parser/HTMLPreloadScanner.h", |
+ "parser/HTMLResourcePreloader.cpp", |
+ "parser/HTMLResourcePreloader.h", |
+ "parser/HTMLScriptRunner.cpp", |
+ "parser/HTMLScriptRunner.h", |
+ "parser/HTMLScriptRunnerHost.h", |
+ "parser/HTMLSourceTracker.cpp", |
+ "parser/HTMLSourceTracker.h", |
+ "parser/HTMLSrcsetParser.cpp", |
+ "parser/HTMLSrcsetParser.h", |
+ "parser/HTMLStackItem.h", |
+ "parser/HTMLToken.h", |
+ "parser/HTMLTokenizer.cpp", |
+ "parser/HTMLTokenizer.h", |
+ "parser/HTMLTreeBuilder.cpp", |
+ "parser/HTMLTreeBuilder.h", |
+ "parser/HTMLTreeBuilderSimulator.cpp", |
+ "parser/HTMLTreeBuilderSimulator.h", |
+ "parser/HTMLViewSourceParser.cpp", |
+ "parser/HTMLViewSourceParser.h", |
+ "parser/InputStreamPreprocessor.h", |
+ "parser/NestingLevelIncrementer.h", |
+ "parser/PreloadRequest.cpp", |
+ "parser/ResourcePreloader.cpp", |
+ "parser/TextDocumentParser.cpp", |
+ "parser/TextDocumentParser.h", |
+ "parser/TextResourceDecoder.cpp", |
+ "parser/TextResourceDecoder.h", |
+ "parser/TokenizedChunkQueue.cpp", |
+ "parser/TokenizedChunkQueue.h", |
+ "parser/XSSAuditor.cpp", |
+ "parser/XSSAuditor.h", |
+ "parser/XSSAuditorDelegate.cpp", |
+ "parser/XSSAuditorDelegate.h", |
+ "shadow/ClearButtonElement.cpp", |
+ "shadow/ClearButtonElement.h", |
+ "shadow/DateTimeEditElement.cpp", |
+ "shadow/DateTimeEditElement.h", |
+ "shadow/DateTimeFieldElement.cpp", |
+ "shadow/DateTimeFieldElement.h", |
+ "shadow/DateTimeFieldElements.cpp", |
+ "shadow/DateTimeFieldElements.h", |
+ "shadow/DateTimeNumericFieldElement.cpp", |
+ "shadow/DateTimeNumericFieldElement.h", |
+ "shadow/DateTimeSymbolicFieldElement.cpp", |
+ "shadow/DateTimeSymbolicFieldElement.h", |
+ "shadow/DetailsMarkerControl.cpp", |
+ "shadow/DetailsMarkerControl.h", |
+ "shadow/MediaControlElementTypes.cpp", |
+ "shadow/MediaControlElementTypes.h", |
+ "shadow/MediaControlElements.cpp", |
+ "shadow/MediaControlElements.h", |
+ "shadow/MediaControls.cpp", |
+ "shadow/MediaControls.h", |
+ "shadow/PickerIndicatorElement.cpp", |
+ "shadow/PickerIndicatorElement.h", |
+ "shadow/ProgressShadowElement.cpp", |
+ "shadow/ProgressShadowElement.h", |
+ "shadow/ShadowElementNames.cpp", |
+ "shadow/ShadowElementNames.h", |
+ "shadow/SliderThumbElement.cpp", |
+ "shadow/SliderThumbElement.h", |
+ "shadow/SpinButtonElement.cpp", |
+ "shadow/SpinButtonElement.h", |
+ "shadow/TextControlInnerElements.cpp", |
+ "shadow/TextControlInnerElements.h", |
+ "track/AudioTrack.cpp", |
+ "track/AudioTrack.h", |
+ "track/AudioTrackList.cpp", |
+ "track/AudioTrackList.h", |
+ "track/AutomaticTrackSelection.cpp", |
+ "track/AutomaticTrackSelection.h", |
+ "track/CueTimeline.cpp", |
+ "track/CueTimeline.h", |
+ "track/InbandTextTrack.cpp", |
+ "track/InbandTextTrack.h", |
+ "track/LoadableTextTrack.cpp", |
+ "track/LoadableTextTrack.h", |
+ "track/TextTrack.cpp", |
+ "track/TextTrack.h", |
+ "track/TextTrackContainer.cpp", |
+ "track/TextTrackContainer.h", |
+ "track/TextTrackCue.cpp", |
+ "track/TextTrackCue.h", |
+ "track/TextTrackCueList.cpp", |
+ "track/TextTrackCueList.h", |
+ "track/TextTrackList.cpp", |
+ "track/TrackBase.cpp", |
+ "track/TrackBase.h", |
+ "track/TrackEvent.cpp", |
+ "track/TrackListBase.h", |
+ "track/VideoTrack.cpp", |
+ "track/VideoTrack.h", |
+ "track/VideoTrackList.cpp", |
+ "track/VideoTrackList.h", |
+ "track/vtt/BufferedLineReader.cpp", |
+ "track/vtt/BufferedLineReader.h", |
+ "track/vtt/VTTCue.cpp", |
+ "track/vtt/VTTCue.h", |
+ "track/vtt/VTTElement.cpp", |
+ "track/vtt/VTTElement.h", |
+ "track/vtt/VTTParser.cpp", |
+ "track/vtt/VTTParser.h", |
+ "track/vtt/VTTRegion.cpp", |
+ "track/vtt/VTTRegion.h", |
+ "track/vtt/VTTRegionList.cpp", |
+ "track/vtt/VTTRegionList.h", |
+ "track/vtt/VTTScanner.cpp", |
+ "track/vtt/VTTScanner.h", |
+ "track/vtt/VTTToken.h", |
+ "track/vtt/VTTTokenizer.cpp", |
+ "track/vtt/VTTTokenizer.h", |
+ ] |
+ |
+ configs -= core_config_remove |
+ configs += core_config_add |
+ configs += [ |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ "//build/config/compiler:no_size_t_to_int_warning", |
+ ] |
+ |
+ deps = [ |
+ "//third_party/WebKit/Source/core:prerequisites", |
+ ] |
+} |