naiveproxy/ios/chrome/browser/ui/util/BUILD.gn
2018-08-11 05:35:24 +00:00

92 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",
"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",
"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 = [
":constraints_ui",
"//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",
"constraints_ui_util_unittest.mm",
"core_text_util_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 = [
":constraints_ui",
":util",
"//base",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//testing/gtest",
"//url",
]
}
source_set("constraints_ui") {
sources = [
"constraints_ui_util.h",
"constraints_ui_util.mm",
]
deps = [
"//base",
]
configs += [ "//build/config/compiler:enable_arc" ]
}