OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 } | 505 } |
506 | 506 |
507 # TODO(GYP): Port this to GN. | 507 # TODO(GYP): Port this to GN. |
508 #if (use_system_icu) { | 508 #if (use_system_icu) { |
509 # When using the system icu, the icu targets generate shim headers | 509 # When using the system icu, the icu targets generate shim headers |
510 # which are included by public headers in the ui target, so we need | 510 # which are included by public headers in the ui target, so we need |
511 # ui to be a hard dependency for all its users. | 511 # ui to be a hard dependency for all its users. |
512 #'hard_dependency': 1, | 512 #'hard_dependency': 1, |
513 #} | 513 #} |
514 } | 514 } |
| 515 |
| 516 source_set("ui_base_test_support") { |
| 517 sources = [ |
| 518 "test/ui_controls.h", |
| 519 "test/ui_controls_aura.cc", |
| 520 "test/ui_controls_internal_win.cc", |
| 521 "test/ui_controls_internal_win.h", |
| 522 "test/ui_controls_mac.mm", |
| 523 "test/ui_controls_win.cc", |
| 524 ] |
| 525 |
| 526 deps = [ |
| 527 "//base", |
| 528 "//skia", |
| 529 "//testing/gtest", |
| 530 "//ui/gfx", |
| 531 "//ui/gfx/geometry", |
| 532 ] |
| 533 |
| 534 if (!is_ios) { |
| 535 sources += [ |
| 536 "ime/dummy_input_method.cc", |
| 537 "ime/dummy_input_method.h", |
| 538 "ime/dummy_text_input_client.cc", |
| 539 "ime/dummy_text_input_client.h", |
| 540 ] |
| 541 } |
| 542 } |
OLD | NEW |