naiveproxy/ios/chrome/browser/ui/bookmarks/cells/BUILD.gn
2018-12-09 21:59:24 -05:00

69 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("cells") {
sources = [
"bookmark_folder_item.h",
"bookmark_folder_item.mm",
"bookmark_home_node_item.h",
"bookmark_home_node_item.mm",
"bookmark_home_promo_item.h",
"bookmark_home_promo_item.mm",
"bookmark_parent_folder_item.h",
"bookmark_parent_folder_item.mm",
"bookmark_table_cell.h",
"bookmark_table_cell.mm",
"bookmark_table_cell_title_edit_delegate.h",
"bookmark_table_cell_title_editing.h",
"bookmark_table_signin_promo_cell.h",
"bookmark_table_signin_promo_cell.mm",
"bookmark_text_field_item.h",
"bookmark_text_field_item.mm",
]
deps = [
"//base",
"//base:i18n",
"//components/bookmarks/browser:browser",
"//ios/chrome/app/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/authentication",
"//ios/chrome/browser/ui/authentication:authentication_ui",
"//ios/chrome/browser/ui/bookmarks:bookmarks_ui",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/icons",
"//ios/chrome/browser/ui/table_view:styler",
"//ios/chrome/browser/ui/table_view/cells",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/ui",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ui/base",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"bookmark_parent_folder_item_unittest.mm",
"bookmark_text_field_item_unittest.mm",
]
deps = [
":cells",
"//base/test:test_support",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/collection_view/cells",
"//ios/chrome/browser/ui/table_view:styler",
"//ios/third_party/material_components_ios",
"//testing/gtest",
"//third_party/ocmock",
]
configs += [ "//build/config/compiler:enable_arc" ]
}