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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 "state_machines/StateMachineUtil.cpp", | 280 "state_machines/StateMachineUtil.cpp", |
281 "state_machines/StateMachineUtil.h", | 281 "state_machines/StateMachineUtil.h", |
282 "state_machines/TextSegmentationMachineState.cpp", | 282 "state_machines/TextSegmentationMachineState.cpp", |
283 "state_machines/TextSegmentationMachineState.h", | 283 "state_machines/TextSegmentationMachineState.h", |
284 ] | 284 ] |
285 | 285 |
286 if (is_mac) { | 286 if (is_mac) { |
287 sources += [ "commands/SmartReplaceCF.cpp" ] | 287 sources += [ "commands/SmartReplaceCF.cpp" ] |
288 } | 288 } |
289 | 289 |
| 290 if (is_mac) { |
| 291 jumbo_excluded_sources = [ |
| 292 # Using "using blink" in global scope. |
| 293 "WebSubstringUtil.mm", |
| 294 ] |
| 295 } |
| 296 |
290 configs += [ | 297 configs += [ |
291 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 298 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
292 "//build/config/compiler:no_size_t_to_int_warning", | 299 "//build/config/compiler:no_size_t_to_int_warning", |
293 ] | 300 ] |
294 } | 301 } |
295 | 302 |
296 source_set("unit_tests") { | 303 source_set("unit_tests") { |
297 testonly = true | 304 testonly = true |
298 sources = [ | 305 sources = [ |
299 "CompositionUnderlineTest.cpp", | 306 "CompositionUnderlineTest.cpp", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 "//third_party/WebKit/Source:config", | 376 "//third_party/WebKit/Source:config", |
370 "//third_party/WebKit/Source:inside_blink", | 377 "//third_party/WebKit/Source:inside_blink", |
371 ] | 378 ] |
372 | 379 |
373 deps = [ | 380 deps = [ |
374 "//testing/gmock", | 381 "//testing/gmock", |
375 "//testing/gtest", | 382 "//testing/gtest", |
376 "//third_party/WebKit/Source/core:core", | 383 "//third_party/WebKit/Source/core:core", |
377 ] | 384 ] |
378 } | 385 } |
OLD | NEW |