OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//third_party/WebKit/Source/core/core.gni") | 5 import("//third_party/WebKit/Source/core/core.gni") |
6 | 6 |
7 blink_core_sources("editing") { | 7 blink_core_sources("editing") { |
8 split_count = 5 | 8 split_count = 5 |
9 sources = [ | 9 sources = [ |
10 "CaretDisplayItemClient.cpp", | 10 "CaretDisplayItemClient.cpp", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "SelectionModifier.h", | 64 "SelectionModifier.h", |
65 "SelectionStrategy.h", | 65 "SelectionStrategy.h", |
66 "SelectionTemplate.cpp", | 66 "SelectionTemplate.cpp", |
67 "SelectionTemplate.h", | 67 "SelectionTemplate.h", |
68 "SelectionType.h", | 68 "SelectionType.h", |
69 "SurroundingText.cpp", | 69 "SurroundingText.cpp", |
70 "SurroundingText.h", | 70 "SurroundingText.h", |
71 "TextAffinity.cpp", | 71 "TextAffinity.cpp", |
72 "TextAffinity.h", | 72 "TextAffinity.h", |
73 "TextGranularity.h", | 73 "TextGranularity.h", |
| 74 "TextSuggestionController.cpp", |
| 75 "TextSuggestionController.h", |
| 76 "TextSuggestionInfo.h", |
| 77 "TextSuggestionList.cpp", |
| 78 "TextSuggestionList.h", |
74 "VisiblePosition.cpp", | 79 "VisiblePosition.cpp", |
75 "VisiblePosition.h", | 80 "VisiblePosition.h", |
76 "VisibleSelection.cpp", | 81 "VisibleSelection.cpp", |
77 "VisibleSelection.h", | 82 "VisibleSelection.h", |
78 "VisibleUnits.cpp", | 83 "VisibleUnits.cpp", |
79 "VisibleUnits.h", | 84 "VisibleUnits.h", |
80 "WritingDirection.h", | 85 "WritingDirection.h", |
81 "commands/AppendNodeCommand.cpp", | 86 "commands/AppendNodeCommand.cpp", |
82 "commands/AppendNodeCommand.h", | 87 "commands/AppendNodeCommand.h", |
83 "commands/ApplyBlockElementCommand.cpp", | 88 "commands/ApplyBlockElementCommand.cpp", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 "state_machines/ForwardCodePointStateMachine.cpp", | 257 "state_machines/ForwardCodePointStateMachine.cpp", |
253 "state_machines/ForwardCodePointStateMachine.h", | 258 "state_machines/ForwardCodePointStateMachine.h", |
254 "state_machines/ForwardGraphemeBoundaryStateMachine.cpp", | 259 "state_machines/ForwardGraphemeBoundaryStateMachine.cpp", |
255 "state_machines/ForwardGraphemeBoundaryStateMachine.h", | 260 "state_machines/ForwardGraphemeBoundaryStateMachine.h", |
256 "state_machines/StateMachineUtil.cpp", | 261 "state_machines/StateMachineUtil.cpp", |
257 "state_machines/StateMachineUtil.h", | 262 "state_machines/StateMachineUtil.h", |
258 "state_machines/TextSegmentationMachineState.cpp", | 263 "state_machines/TextSegmentationMachineState.cpp", |
259 "state_machines/TextSegmentationMachineState.h", | 264 "state_machines/TextSegmentationMachineState.h", |
260 ] | 265 ] |
261 | 266 |
| 267 if (is_android) { |
| 268 sources += [ |
| 269 "TextSuggestionBackendImplAndroid.cpp", |
| 270 "TextSuggestionBackendImplAndroid.h", |
| 271 ] |
| 272 } |
| 273 |
262 if (is_mac) { | 274 if (is_mac) { |
263 sources += [ "commands/SmartReplaceCF.cpp" ] | 275 sources += [ "commands/SmartReplaceCF.cpp" ] |
264 } | 276 } |
265 | 277 |
266 configs += [ | 278 configs += [ |
267 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 279 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
268 "//build/config/compiler:no_size_t_to_int_warning", | 280 "//build/config/compiler:no_size_t_to_int_warning", |
269 ] | 281 ] |
270 } | 282 } |
271 | 283 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 "//third_party/WebKit/Source:config", | 348 "//third_party/WebKit/Source:config", |
337 "//third_party/WebKit/Source:inside_blink", | 349 "//third_party/WebKit/Source:inside_blink", |
338 ] | 350 ] |
339 | 351 |
340 deps = [ | 352 deps = [ |
341 "//testing/gmock", | 353 "//testing/gmock", |
342 "//testing/gtest", | 354 "//testing/gtest", |
343 "//third_party/WebKit/Source/core:core", | 355 "//third_party/WebKit/Source/core:core", |
344 ] | 356 ] |
345 } | 357 } |
OLD | NEW |