OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 source_set("util") { | |
6 sources = [ | |
7 "CRUILabel+AttributeUtils.h", | |
8 "CRUILabel+AttributeUtils.mm", | |
9 "core_text_util.h", | |
10 "core_text_util.mm", | |
11 "label_link_controller.h", | |
12 "label_link_controller.mm", | |
13 "label_observer.h", | |
14 "label_observer.mm", | |
15 "manual_text_framer.h", | |
16 "manual_text_framer.mm", | |
17 "relaxed_bounds_constraints_hittest.h", | |
18 "snapshot_util.h", | |
19 "snapshot_util.mm", | |
20 "text_frame.h", | |
21 "text_frame.mm", | |
22 "text_region_mapper.h", | |
23 "text_region_mapper.mm", | |
24 "top_view_controller.h", | |
25 "top_view_controller.mm", | |
26 "transparent_link_button.h", | |
27 "transparent_link_button.mm", | |
28 "unicode_util.h", | |
29 "unicode_util.mm", | |
30 ] | |
31 deps = [ | |
32 "//base", | |
33 "//base:i18n", | |
34 "//ios/chrome/browser", | |
35 "//ios/chrome/browser/ui", | |
36 "//net", | |
37 "//url", | |
38 ] | |
39 } | |
40 | |
41 source_set("unit_tests") { | |
42 testonly = true | |
43 sources = [ | |
44 "CRUILabel+AttributeUtils_unittest.mm", | |
45 "core_text_util_unittest.mm", | |
46 "label_link_controller_unittest.mm", | |
47 "label_observer_unittest.mm", | |
48 "manual_text_framer_unittest.mm", | |
49 "text_region_mapper_unittest.mm", | |
50 ] | |
51 deps = [ | |
52 ":util", | |
53 "//base", | |
54 "//ios/third_party/material_components_ios", | |
55 "//ios/third_party/material_roboto_font_loader_ios", | |
56 "//testing/gtest", | |
57 "//url", | |
58 ] | |
59 } | |
OLD | NEW |