mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
89 lines
2.6 KiB
Plaintext
89 lines
2.6 KiB
Plaintext
# Copyright 2017 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 = [
|
|
"content_suggestions_gesture_commands.h",
|
|
"content_suggestions_item.h",
|
|
"content_suggestions_item.mm",
|
|
"content_suggestions_most_visited_item.h",
|
|
"content_suggestions_most_visited_item.mm",
|
|
]
|
|
deps = [
|
|
":cells_ui",
|
|
"//base",
|
|
"//components/ntp_tiles",
|
|
"//ios/chrome/app/strings",
|
|
"//ios/chrome/browser/ui/collection_view",
|
|
"//ios/chrome/browser/ui/content_suggestions/identifier",
|
|
"//ios/chrome/browser/ui/favicon:favicon_ui",
|
|
"//ui/base",
|
|
"//url",
|
|
]
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
}
|
|
|
|
source_set("cells_ui") {
|
|
sources = [
|
|
"content_suggestions_cell.h",
|
|
"content_suggestions_cell.mm",
|
|
"content_suggestions_footer_item.h",
|
|
"content_suggestions_footer_item.mm",
|
|
"content_suggestions_header_item.h",
|
|
"content_suggestions_header_item.mm",
|
|
"content_suggestions_learn_more_item.h",
|
|
"content_suggestions_learn_more_item.mm",
|
|
"content_suggestions_most_visited_cell.h",
|
|
"content_suggestions_most_visited_cell.mm",
|
|
"content_suggestions_text_item.h",
|
|
"content_suggestions_text_item.mm",
|
|
"content_suggestions_whats_new_item.h",
|
|
"content_suggestions_whats_new_item.mm",
|
|
"suggested_content.h",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
"//ios/chrome/app/strings",
|
|
"//ios/chrome/browser/ui",
|
|
"//ios/chrome/browser/ui/collection_view",
|
|
"//ios/chrome/browser/ui/colors",
|
|
"//ios/chrome/browser/ui/content_suggestions/identifier",
|
|
"//ios/chrome/browser/ui/favicon:favicon_ui",
|
|
"//ios/chrome/browser/ui/material_components",
|
|
"//ios/chrome/browser/ui/util",
|
|
"//ios/chrome/common",
|
|
"//ui/base",
|
|
]
|
|
public_deps = [
|
|
"//ios/third_party/material_components_ios",
|
|
]
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"content_suggestions_footer_item_unittest.mm",
|
|
"content_suggestions_header_item_unittest.mm",
|
|
"content_suggestions_item_unittest.mm",
|
|
"content_suggestions_learn_more_item_unittest.mm",
|
|
"content_suggestions_most_visited_item_unittest.mm",
|
|
"content_suggestions_whats_new_item_unittest.mm",
|
|
]
|
|
deps = [
|
|
":cells",
|
|
":cells_ui",
|
|
"//base",
|
|
"//ios/chrome/app/strings",
|
|
"//ios/chrome/browser/ui",
|
|
"//ios/chrome/browser/ui/collection_view",
|
|
"//ios/chrome/browser/ui/favicon:favicon_ui",
|
|
"//testing/gtest",
|
|
"//third_party/ocmock",
|
|
"//ui/base",
|
|
"//url",
|
|
]
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
}
|