Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: third_party/WebKit/Source/core/editing/BUILD.gn

Issue 2301383003: Move more of webcore_remaining into GN build files. (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/BUILD.gn
diff --git a/third_party/WebKit/Source/core/editing/BUILD.gn b/third_party/WebKit/Source/core/editing/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..24ad68ed6f01175026eeeac0aa37ebbf1bac974f
--- /dev/null
+++ b/third_party/WebKit/Source/core/editing/BUILD.gn
@@ -0,0 +1,201 @@
+# 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("editing") {
+ split_count = 5
+ sources = [
+ "CaretBase.cpp",
+ "CaretBase.h",
+ "CompositionUnderline.h",
+ "DOMSelection.cpp",
+ "DOMSelection.h",
+ "DragCaretController.cpp",
+ "DragCaretController.h",
+ "EditingBehavior.cpp",
+ "EditingBehavior.h",
+ "EditingStrategy.cpp",
+ "EditingStrategy.h",
+ "EditingStyle.cpp",
+ "EditingUtilities.cpp",
+ "EditingUtilities.h",
+ "Editor.cpp",
+ "EditorKeyBindings.cpp",
+ "EphemeralRange.cpp",
+ "EphemeralRange.h",
+ "FrameCaret.cpp",
+ "FrameCaret.h",
+ "FrameSelection.cpp",
+ "GranularityStrategy.cpp",
+ "InputMethodController.cpp",
+ "InputMethodController.h",
+ "PendingSelection.cpp",
+ "PendingSelection.h",
+ "PlainTextRange.cpp",
+ "PlainTextRange.h",
+ "Position.cpp",
+ "Position.h",
+ "PositionIterator.cpp",
+ "PositionIterator.h",
+ "PositionWithAffinity.cpp",
+ "PositionWithAffinity.h",
+ "RelocatablePosition.cpp",
+ "RelocatablePosition.h",
+ "RenderedPosition.cpp",
+ "RenderedPosition.h",
+ "SelectionAdjuster.cpp",
+ "SelectionAdjuster.h",
+ "SelectionController.cpp",
+ "SelectionController.h",
+ "SelectionEditor.cpp",
+ "SelectionEditor.h",
+ "SelectionModifier.cpp",
+ "SelectionModifier.h",
+ "SelectionType.h",
+ "SurroundingText.cpp",
+ "SurroundingText.h",
+ "TextAffinity.cpp",
+ "TextAffinity.h",
+ "VisiblePosition.cpp",
+ "VisibleSelection.cpp",
+ "VisibleUnits.cpp",
+ "commands/AppendNodeCommand.cpp",
+ "commands/AppendNodeCommand.h",
+ "commands/ApplyBlockElementCommand.cpp",
+ "commands/ApplyBlockElementCommand.h",
+ "commands/ApplyStyleCommand.cpp",
+ "commands/ApplyStyleCommand.h",
+ "commands/BreakBlockquoteCommand.cpp",
+ "commands/BreakBlockquoteCommand.h",
+ "commands/CompositeEditCommand.cpp",
+ "commands/CompositeEditCommand.h",
+ "commands/CreateLinkCommand.cpp",
+ "commands/CreateLinkCommand.h",
+ "commands/DeleteFromTextNodeCommand.cpp",
+ "commands/DeleteFromTextNodeCommand.h",
+ "commands/DeleteSelectionCommand.cpp",
+ "commands/DeleteSelectionCommand.h",
+ "commands/EditCommand.cpp",
+ "commands/EditCommand.h",
+ "commands/EditingState.cpp",
+ "commands/EditingState.h",
+ "commands/EditorCommand.cpp",
+ "commands/FormatBlockCommand.cpp",
+ "commands/FormatBlockCommand.h",
+ "commands/IndentOutdentCommand.cpp",
+ "commands/IndentOutdentCommand.h",
+ "commands/InsertIntoTextNodeCommand.cpp",
+ "commands/InsertIntoTextNodeCommand.h",
+ "commands/InsertLineBreakCommand.cpp",
+ "commands/InsertLineBreakCommand.h",
+ "commands/InsertListCommand.cpp",
+ "commands/InsertListCommand.h",
+ "commands/InsertNodeBeforeCommand.cpp",
+ "commands/InsertNodeBeforeCommand.h",
+ "commands/InsertParagraphSeparatorCommand.cpp",
+ "commands/InsertParagraphSeparatorCommand.h",
+ "commands/InsertTextCommand.cpp",
+ "commands/InsertTextCommand.h",
+ "commands/MergeIdenticalElementsCommand.cpp",
+ "commands/MergeIdenticalElementsCommand.h",
+ "commands/MoveSelectionCommand.cpp",
+ "commands/MoveSelectionCommand.h",
+ "commands/RemoveCSSPropertyCommand.cpp",
+ "commands/RemoveCSSPropertyCommand.h",
+ "commands/RemoveFormatCommand.cpp",
+ "commands/RemoveFormatCommand.h",
+ "commands/RemoveNodeCommand.cpp",
+ "commands/RemoveNodeCommand.h",
+ "commands/RemoveNodePreservingChildrenCommand.cpp",
+ "commands/RemoveNodePreservingChildrenCommand.h",
+ "commands/ReplaceNodeWithSpanCommand.cpp",
+ "commands/ReplaceNodeWithSpanCommand.h",
+ "commands/ReplaceSelectionCommand.cpp",
+ "commands/ReplaceSelectionCommand.h",
+ "commands/SetNodeAttributeCommand.cpp",
+ "commands/SetNodeAttributeCommand.h",
+ "commands/SimplifyMarkupCommand.cpp",
+ "commands/SimplifyMarkupCommand.h",
+ "commands/SmartReplace.h",
+ "commands/SmartReplaceICU.cpp",
+ "commands/SplitElementCommand.cpp",
+ "commands/SplitElementCommand.h",
+ "commands/SplitTextNodeCommand.cpp",
+ "commands/SplitTextNodeCommand.h",
+ "commands/SplitTextNodeContainingElementCommand.cpp",
+ "commands/SplitTextNodeContainingElementCommand.h",
+ "commands/TypingCommand.cpp",
+ "commands/TypingCommand.h",
+ "commands/UndoStack.cpp",
+ "commands/UndoStack.h",
+ "commands/UndoStep.h",
+ "commands/UnlinkCommand.cpp",
+ "commands/UnlinkCommand.h",
+ "commands/WrapContentsInDummySpanCommand.cpp",
+ "commands/WrapContentsInDummySpanCommand.h",
+ "iterators/BackwardsCharacterIterator.cpp",
+ "iterators/BackwardsTextBuffer.cpp",
+ "iterators/BackwardsTextBuffer.h",
+ "iterators/BitStack.cpp",
+ "iterators/CharacterIterator.cpp",
+ "iterators/ForwardsTextBuffer.cpp",
+ "iterators/ForwardsTextBuffer.h",
+ "iterators/FullyClippedStateStack.cpp",
+ "iterators/SearchBuffer.cpp",
+ "iterators/SearchBuffer.h",
+ "iterators/SimplifiedBackwardsTextIterator.cpp",
+ "iterators/TextBufferBase.cpp",
+ "iterators/TextBufferBase.h",
+ "iterators/TextIterator.cpp",
+ "iterators/TextIterator.h",
+ "iterators/TextIteratorTextState.cpp",
+ "iterators/TextIteratorTextState.h",
+ "iterators/WordAwareIterator.cpp",
+ "markers/DocumentMarker.cpp",
+ "markers/DocumentMarker.h",
+ "markers/DocumentMarkerController.cpp",
+ "markers/DocumentMarkerController.h",
+ "markers/RenderedDocumentMarker.h",
+ "serializers/HTMLInterchange.cpp",
+ "serializers/HTMLInterchange.h",
+ "serializers/MarkupAccumulator.cpp",
+ "serializers/MarkupAccumulator.h",
+ "serializers/MarkupFormatter.cpp",
+ "serializers/MarkupFormatter.h",
+ "serializers/Serialization.cpp",
+ "serializers/Serialization.h",
+ "serializers/StyledMarkupAccumulator.cpp",
+ "serializers/StyledMarkupAccumulator.h",
+ "serializers/StyledMarkupSerializer.cpp",
+ "serializers/StyledMarkupSerializer.h",
+ "serializers/TextOffset.cpp",
+ "serializers/TextOffset.h",
+ "spellcheck/SpellCheckRequester.cpp",
+ "spellcheck/SpellCheckRequester.h",
+ "spellcheck/SpellChecker.cpp",
+ "spellcheck/SpellChecker.h",
+ "spellcheck/TextCheckingParagraph.cpp",
+ "spellcheck/TextCheckingParagraph.h",
+ "state_machines/BackspaceStateMachine.cpp",
+ "state_machines/BackspaceStateMachine.h",
+ "state_machines/BackwardGraphemeBoundaryStateMachine.cpp",
+ "state_machines/BackwardGraphemeBoundaryStateMachine.h",
+ "state_machines/ForwardGraphemeBoundaryStateMachine.cpp",
+ "state_machines/ForwardGraphemeBoundaryStateMachine.h",
+ "state_machines/StateMachineUtil.cpp",
+ "state_machines/StateMachineUtil.h",
+ "state_machines/TextSegmentationMachineState.cpp",
+ "state_machines/TextSegmentationMachineState.h",
+ ]
+
+ if (is_mac) {
+ sources += [ "commands/SmartReplaceCF.cpp" ]
+ }
+
+ configs += [
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698