Index: ios/chrome/browser/ui/util/BUILD.gn |
diff --git a/ios/chrome/browser/ui/util/BUILD.gn b/ios/chrome/browser/ui/util/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..48dbae062ab31dc2095e04617c93c75eff10e09c |
--- /dev/null |
+++ b/ios/chrome/browser/ui/util/BUILD.gn |
@@ -0,0 +1,59 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+source_set("util") { |
+ sources = [ |
+ "CRUILabel+AttributeUtils.h", |
+ "CRUILabel+AttributeUtils.mm", |
+ "core_text_util.h", |
+ "core_text_util.mm", |
+ "label_link_controller.h", |
+ "label_link_controller.mm", |
+ "label_observer.h", |
+ "label_observer.mm", |
+ "manual_text_framer.h", |
+ "manual_text_framer.mm", |
+ "relaxed_bounds_constraints_hittest.h", |
+ "snapshot_util.h", |
+ "snapshot_util.mm", |
+ "text_frame.h", |
+ "text_frame.mm", |
+ "text_region_mapper.h", |
+ "text_region_mapper.mm", |
+ "top_view_controller.h", |
+ "top_view_controller.mm", |
+ "transparent_link_button.h", |
+ "transparent_link_button.mm", |
+ "unicode_util.h", |
+ "unicode_util.mm", |
+ ] |
+ deps = [ |
+ "//base", |
+ "//base:i18n", |
+ "//ios/chrome/browser", |
+ "//ios/chrome/browser/ui", |
+ "//net", |
+ "//url", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "CRUILabel+AttributeUtils_unittest.mm", |
+ "core_text_util_unittest.mm", |
+ "label_link_controller_unittest.mm", |
+ "label_observer_unittest.mm", |
+ "manual_text_framer_unittest.mm", |
+ "text_region_mapper_unittest.mm", |
+ ] |
+ deps = [ |
+ ":util", |
+ "//base", |
+ "//ios/third_party/material_components_ios", |
+ "//ios/third_party/material_roboto_font_loader_ios", |
+ "//testing/gtest", |
+ "//url", |
+ ] |
+} |