mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-05 03:36:08 +03:00
102 lines
3.2 KiB
Plaintext
102 lines
3.2 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_action_item.h",
|
||
|
"content_suggestions_most_visited_action_item.mm",
|
||
|
"content_suggestions_most_visited_item.h",
|
||
|
"content_suggestions_most_visited_item.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":cells_ui",
|
||
|
"resources:ntp_bookmarks_icon",
|
||
|
"resources:ntp_history_icon",
|
||
|
"resources:ntp_most_visited_tile",
|
||
|
"resources:ntp_readinglist_icon",
|
||
|
"resources:ntp_recent_icon",
|
||
|
"//base",
|
||
|
"//components/ntp_tiles",
|
||
|
"//ios/chrome/app/strings",
|
||
|
"//ios/chrome/browser/ui/collection_view",
|
||
|
"//ios/chrome/browser/ui/content_suggestions/identifier",
|
||
|
"//ios/chrome/common/favicon",
|
||
|
"//ui/base",
|
||
|
"//url",
|
||
|
]
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
}
|
||
|
|
||
|
source_set("cells_ui") {
|
||
|
sources = [
|
||
|
"content_suggestions_articles_header_item.h",
|
||
|
"content_suggestions_articles_header_item.mm",
|
||
|
"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_action_cell.h",
|
||
|
"content_suggestions_most_visited_action_cell.mm",
|
||
|
"content_suggestions_most_visited_cell.h",
|
||
|
"content_suggestions_most_visited_cell.mm",
|
||
|
"content_suggestions_most_visited_constants.h",
|
||
|
"content_suggestions_most_visited_constants.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/material_components",
|
||
|
"//ios/chrome/browser/ui/util",
|
||
|
"//ios/chrome/common",
|
||
|
"//ios/chrome/common/favicon",
|
||
|
"//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/common/favicon",
|
||
|
"//testing/gtest",
|
||
|
"//third_party/ocmock",
|
||
|
"//ui/base",
|
||
|
"//url",
|
||
|
]
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
}
|