| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 if (is_mac) { | 302 if (is_mac) { |
| 303 sources += [ "commands/SmartReplaceCF.cpp" ] | 303 sources += [ "commands/SmartReplaceCF.cpp" ] |
| 304 } | 304 } |
| 305 | 305 |
| 306 configs += [ | 306 configs += [ |
| 307 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 307 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 308 "//build/config/compiler:no_size_t_to_int_warning", | 308 "//build/config/compiler:no_size_t_to_int_warning", |
| 309 ] | 309 ] |
| 310 } | 310 } |
| 311 | 311 |
| 312 source_set("unit_tests") { | 312 jumbo_source_set("editing_unit_tests") { |
| 313 testonly = true | 313 testonly = true |
| 314 sources = [ | 314 sources = [ |
| 315 "EditingCommandTest.cpp", | 315 "EditingCommandTest.cpp", |
| 316 "EditingStrategyTest.cpp", | 316 "EditingStrategyTest.cpp", |
| 317 "EditingStyleTest.cpp", | 317 "EditingStyleTest.cpp", |
| 318 "EditingTestBase.cpp", | 318 "EditingTestBase.cpp", |
| 319 "EditingTestBase.h", | 319 "EditingTestBase.h", |
| 320 "EditingUtilitiesTest.cpp", | 320 "EditingUtilitiesTest.cpp", |
| 321 "EditorTest.cpp", | 321 "EditorTest.cpp", |
| 322 "EphemeralRangeTest.cpp", | 322 "EphemeralRangeTest.cpp", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", | 383 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", |
| 384 "state_machines/StateMachineTestUtil.cpp", | 384 "state_machines/StateMachineTestUtil.cpp", |
| 385 "state_machines/StateMachineTestUtil.h", | 385 "state_machines/StateMachineTestUtil.h", |
| 386 "state_machines/StateMachineUtilTest.cpp", | 386 "state_machines/StateMachineUtilTest.cpp", |
| 387 "suggestion/TextSuggestionControllerTest.cpp", | 387 "suggestion/TextSuggestionControllerTest.cpp", |
| 388 "testing/SelectionSample.cpp", | 388 "testing/SelectionSample.cpp", |
| 389 "testing/SelectionSample.h", | 389 "testing/SelectionSample.h", |
| 390 "testing/SelectionSampleTest.cpp", | 390 "testing/SelectionSampleTest.cpp", |
| 391 ] | 391 ] |
| 392 | 392 |
| 393 jumbo_excluded_sources = [ |
| 394 # These copy a lot of code between each other and files with |
| 395 # similar names. |
| 396 # Clone of |
| 397 # "state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp" |
| 398 "state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp", |
| 399 "state_machines/BackwardCodePointStateMachineTest.cpp", |
| 400 "state_machines/BackspaceStateMachineTest.cpp", |
| 401 ] |
| 402 |
| 393 configs += [ | 403 configs += [ |
| 394 "//third_party/WebKit/Source/core:blink_core_pch", | 404 "//third_party/WebKit/Source/core:blink_core_pch", |
| 395 "//third_party/WebKit/Source:config", | 405 "//third_party/WebKit/Source:config", |
| 396 "//third_party/WebKit/Source:inside_blink", | 406 "//third_party/WebKit/Source:inside_blink", |
| 397 ] | 407 ] |
| 398 | 408 |
| 399 deps = [ | 409 deps = [ |
| 400 "//testing/gmock", | 410 "//testing/gmock", |
| 401 "//testing/gtest", | 411 "//testing/gtest", |
| 402 "//third_party/WebKit/Source/core:core", | 412 "//third_party/WebKit/Source/core:core", |
| 403 ] | 413 ] |
| 404 } | 414 } |
| OLD | NEW |