| 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 "CaretBase.cpp", | 10 "CaretBase.cpp", |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 if (is_mac) { | 198 if (is_mac) { |
| 199 sources += [ "commands/SmartReplaceCF.cpp" ] | 199 sources += [ "commands/SmartReplaceCF.cpp" ] |
| 200 } | 200 } |
| 201 | 201 |
| 202 configs += [ | 202 configs += [ |
| 203 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 203 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 204 "//build/config/compiler:no_size_t_to_int_warning", | 204 "//build/config/compiler:no_size_t_to_int_warning", |
| 205 ] | 205 ] |
| 206 } | 206 } |
| 207 |
| 208 source_set("unit_tests") { |
| 209 testonly = true |
| 210 sources = [ |
| 211 "CompositionUnderlineTest.cpp", |
| 212 "EditingCommandTest.cpp", |
| 213 "EditingStrategyTest.cpp", |
| 214 "EditingStyleTest.cpp", |
| 215 "EditingTestBase.cpp", |
| 216 "EditingTestBase.h", |
| 217 "EditingUtilitiesTest.cpp", |
| 218 "EditorTest.cpp", |
| 219 "EphemeralRangeTest.cpp", |
| 220 "FrameSelectionTest.cpp", |
| 221 "GranularityStrategyTest.cpp", |
| 222 "InputMethodControllerTest.cpp", |
| 223 "PositionTest.cpp", |
| 224 "RelocatablePositionTest.cpp", |
| 225 "SelectionAdjusterTest.cpp", |
| 226 "SelectionControllerTest.cpp", |
| 227 "SelectionTemplateTest.cpp", |
| 228 "SurroundingTextTest.cpp", |
| 229 "VisiblePositionTest.cpp", |
| 230 "VisibleSelectionTest.cpp", |
| 231 "VisibleUnitsTest.cpp", |
| 232 "commands/ApplyBlockElementCommandTest.cpp", |
| 233 "commands/InsertListCommandTest.cpp", |
| 234 "commands/ReplaceSelectionCommandTest.cpp", |
| 235 "commands/TypingCommandTest.cpp", |
| 236 "iterators/BackwardsTextBufferTest.cpp", |
| 237 "iterators/CharacterIteratorTest.cpp", |
| 238 "iterators/ForwardsTextBufferTest.cpp", |
| 239 "iterators/SearchBufferTest.cpp", |
| 240 "iterators/SimplifiedBackwardsTextIteratorTest.cpp", |
| 241 "iterators/TextIteratorTest.cpp", |
| 242 "iterators/TextSearcherICUTest.cpp", |
| 243 "markers/DocumentMarkerControllerTest.cpp", |
| 244 "serializers/StyledMarkupSerializerTest.cpp", |
| 245 "spellcheck/SpellCheckerTest.cpp", |
| 246 "state_machines/BackspaceStateMachineTest.cpp", |
| 247 "state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp", |
| 248 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", |
| 249 "state_machines/StateMachineTestUtil.cpp", |
| 250 "state_machines/StateMachineUtilTest.cpp", |
| 251 ] |
| 252 |
| 253 configs += [ |
| 254 "//third_party/WebKit/Source/core:blink_core_pch", |
| 255 "//third_party/WebKit/Source:config", |
| 256 "//third_party/WebKit/Source:inside_blink", |
| 257 ] |
| 258 |
| 259 deps = [ |
| 260 "//testing/gmock", |
| 261 "//testing/gtest", |
| 262 "//third_party/WebKit/Source/core:core", |
| 263 ] |
| 264 } |
| OLD | NEW |