naiveproxy/ios/chrome/browser/ui/collection_view/cells/BUILD.gn

77 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
# 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 = [
"MDCCollectionViewCell+Chrome.h",
"MDCCollectionViewCell+Chrome.mm",
"activity_indicator_cell.h",
"activity_indicator_cell.mm",
"collection_view_account_item.h",
"collection_view_account_item.mm",
"collection_view_detail_item.h",
"collection_view_detail_item.mm",
"collection_view_footer_item.h",
"collection_view_footer_item.mm",
"collection_view_item+collection_view_controller.h",
"collection_view_item.h",
"collection_view_item.mm",
"collection_view_switch_item.h",
"collection_view_switch_item.mm",
"collection_view_text_cell.h",
"collection_view_text_cell.mm",
"collection_view_text_item.h",
"collection_view_text_item.mm",
]
deps = [
"//base",
"//ios/chrome/app/strings",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/material_components",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common",
"//ios/third_party/material_roboto_font_loader_ios",
"//ui/base",
"//url",
]
public_deps = [
"//ios/third_party/material_components_ios",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("test_support") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"test_utils.h",
"test_utils.mm",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"MDCCollectionViewCell+Chrome_unittest.mm",
"activity_indicator_cell_unittest.mm",
"collection_view_account_item_unittest.mm",
"collection_view_detail_item_unittest.mm",
"collection_view_footer_item_unittest.mm",
"collection_view_item_unittest.mm",
"collection_view_switch_item_unittest.mm",
"collection_view_text_item_unittest.mm",
]
deps = [
":cells",
":test_support",
"//ios/third_party/material_components_ios",
"//testing/gtest",
]
configs += [ "//build/config/compiler:enable_arc" ]
}