Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3924)

Unified Diff: components/ntp_snippets/BUILD.gn

Issue 2207493002: Add CategoryInfo for meta information of content suggestions Categories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK against empty base::Optional<CategoryInfo> in SnippetsInternals Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/ntp_snippets/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/BUILD.gn
diff --git a/components/ntp_snippets/BUILD.gn b/components/ntp_snippets/BUILD.gn
index 79449b73be30990ac577707e9ddebfabeb8c612b..596b376f82c31e9df39771e9757cbf6ea2886e09 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -20,6 +20,8 @@ static_library("ntp_snippets") {
"category.h",
"category_factory.cc",
"category_factory.h",
+ "category_info.cc",
+ "category_info.h",
"category_status.cc",
"category_status.h",
"content_suggestion.cc",
@@ -73,9 +75,11 @@ static_library("ntp_snippets") {
"//components/metrics",
"//components/ntp_snippets/proto",
"//components/offline_pages",
+ "//components/strings",
"//components/variations",
"//components/variations/net",
"//third_party/icu/",
+ "//ui/base",
"//ui/gfx",
]
}
@@ -84,6 +88,7 @@ if (is_android) {
java_cpp_enum("ntp_snippets_java_enums_srcjar") {
sources = [
"category.h",
+ "category_info.h",
"category_status.h",
]
}
@@ -111,6 +116,7 @@ source_set("unit_tests") {
"//components/leveldb_proto:test_support",
"//components/signin/core/browser:test_support",
"//components/signin/core/common",
+ "//components/strings",
"//components/sync_driver:test_support",
"//components/variations",
"//net:test_support",
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/ntp_snippets/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698