mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
84 lines
2.0 KiB
Plaintext
84 lines
2.0 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",
|
|
"manual_text_framer.h",
|
|
"manual_text_framer.mm",
|
|
"named_guide.h",
|
|
"named_guide.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 = [
|
|
"//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",
|
|
"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" ]
|
|
}
|