| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 "WebSubstringUtil.mm", | 293 "WebSubstringUtil.mm", |
| 294 ] | 294 ] |
| 295 } | 295 } |
| 296 | 296 |
| 297 configs += [ | 297 configs += [ |
| 298 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 298 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 299 "//build/config/compiler:no_size_t_to_int_warning", | 299 "//build/config/compiler:no_size_t_to_int_warning", |
| 300 ] | 300 ] |
| 301 } | 301 } |
| 302 | 302 |
| 303 source_set("unit_tests") { | 303 blink_unit_test_source_set("editing_unit_tests") { |
| 304 testonly = true | 304 testonly = true |
| 305 sources = [ | 305 sources = [ |
| 306 "CompositionUnderlineTest.cpp", | 306 "CompositionUnderlineTest.cpp", |
| 307 "EditingCommandTest.cpp", | 307 "EditingCommandTest.cpp", |
| 308 "EditingStrategyTest.cpp", | 308 "EditingStrategyTest.cpp", |
| 309 "EditingStyleTest.cpp", | 309 "EditingStyleTest.cpp", |
| 310 "EditingTestBase.cpp", | 310 "EditingTestBase.cpp", |
| 311 "EditingTestBase.h", | 311 "EditingTestBase.h", |
| 312 "EditingUtilitiesTest.cpp", | 312 "EditingUtilitiesTest.cpp", |
| 313 "EditorTest.cpp", | 313 "EditorTest.cpp", |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 "state_machines/BackspaceStateMachineTest.cpp", | 364 "state_machines/BackspaceStateMachineTest.cpp", |
| 365 "state_machines/BackwardCodePointStateMachineTest.cpp", | 365 "state_machines/BackwardCodePointStateMachineTest.cpp", |
| 366 "state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp", | 366 "state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp", |
| 367 "state_machines/ForwardCodePointStateMachineTest.cpp", | 367 "state_machines/ForwardCodePointStateMachineTest.cpp", |
| 368 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", | 368 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", |
| 369 "state_machines/StateMachineTestUtil.cpp", | 369 "state_machines/StateMachineTestUtil.cpp", |
| 370 "state_machines/StateMachineTestUtil.h", | 370 "state_machines/StateMachineTestUtil.h", |
| 371 "state_machines/StateMachineUtilTest.cpp", | 371 "state_machines/StateMachineUtilTest.cpp", |
| 372 ] | 372 ] |
| 373 | 373 |
| 374 jumbo_excluded_sources = [ |
| 375 # These copy a lot of code between each other and files with |
| 376 # similar names. |
| 377 # Clone of |
| 378 # "state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp" |
| 379 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", |
| 380 "state_machines/BackwardCodePointStateMachineTest.cpp", |
| 381 "state_machines/BackspaceStateMachineTest.cpp", |
| 382 ] |
| 383 |
| 374 configs += [ | 384 configs += [ |
| 375 "//third_party/WebKit/Source/core:blink_core_pch", | 385 "//third_party/WebKit/Source/core:blink_core_pch", |
| 376 "//third_party/WebKit/Source:config", | 386 "//third_party/WebKit/Source:config", |
| 377 "//third_party/WebKit/Source:inside_blink", | 387 "//third_party/WebKit/Source:inside_blink", |
| 378 ] | 388 ] |
| 379 | 389 |
| 380 deps = [ | 390 deps = [ |
| 381 "//testing/gmock", | 391 "//testing/gmock", |
| 382 "//testing/gtest", | 392 "//testing/gtest", |
| 383 "//third_party/WebKit/Source/core:core", | 393 "//third_party/WebKit/Source/core:core", |
| 384 ] | 394 ] |
| 385 } | 395 } |
| OLD | NEW |