naiveproxy/ios/chrome/browser/ui/util/BUILD.gn
2018-08-14 22:19:20 +00:00

84 lines
2.3 KiB
Plaintext

# 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") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"CRUILabel+AttributeUtils.h",
"CRUILabel+AttributeUtils.mm",
"core_text_util.h",
"core_text_util.mm",
"force_touch_long_press_gesture_recognizer.h",
"force_touch_long_press_gesture_recognizer.mm",
"form_sheet_navigation_controller.h",
"form_sheet_navigation_controller.mm",
"i18n_string.h",
"i18n_string.mm",
"label_link_controller.h",
"label_link_controller.mm",
"label_observer.h",
"label_observer.mm",
"layout_guide_names.h",
"layout_guide_names.mm",
"manual_text_framer.h",
"manual_text_framer.mm",
"named_guide.h",
"named_guide.mm",
"named_guide_util.h",
"named_guide_util.mm",
"optional_property_animator.h",
"optional_property_animator.mm",
"pasteboard_util.h",
"pasteboard_util.mm",
"property_animator_group.h",
"property_animator_group.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") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"CRUILabel+AttributeUtils_unittest.mm",
"core_text_util_unittest.mm",
"force_touch_long_press_gesture_recognizer_unittest.mm",
"label_link_controller_unittest.mm",
"label_observer_unittest.mm",
"manual_text_framer_unittest.mm",
"named_guide_unittest.mm",
"optional_property_animator_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",
"//third_party/ocmock",
"//url",
]
}