mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
83 lines
2.3 KiB
Plaintext
83 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("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_cell_constants.h",
|
|
"collection_view_cell_style.h",
|
|
"collection_view_detail_item.h",
|
|
"collection_view_detail_item.mm",
|
|
"collection_view_footer_item.h",
|
|
"collection_view_footer_item.mm",
|
|
"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",
|
|
"//ios/chrome/browser/ui:ui_util",
|
|
"//ios/chrome/browser/ui/colors",
|
|
"//ios/chrome/browser/ui/list_model",
|
|
"//ios/chrome/browser/ui/material_components",
|
|
"//ios/chrome/browser/ui/util",
|
|
"//ios/chrome/common",
|
|
"//ios/chrome/common/ui_util",
|
|
"//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/chrome/browser/ui/list_model",
|
|
"//ios/third_party/material_components_ios",
|
|
"//testing/gtest",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
}
|