| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| 11 | 11 |
| 12 static_library("ntp_snippets") { | 12 static_library("ntp_snippets") { |
| 13 sources = [ | 13 sources = [ |
| 14 "bookmarks/bookmark_last_visit_utils.cc", | 14 "bookmarks/bookmark_last_visit_utils.cc", |
| 15 "bookmarks/bookmark_last_visit_utils.h", | 15 "bookmarks/bookmark_last_visit_utils.h", |
| 16 "bookmarks/bookmark_suggestions_provider.cc", | 16 "bookmarks/bookmark_suggestions_provider.cc", |
| 17 "bookmarks/bookmark_suggestions_provider.h", | 17 "bookmarks/bookmark_suggestions_provider.h", |
| 18 "callbacks.h", | 18 "callbacks.h", |
| 19 "category.cc", | 19 "category.cc", |
| 20 "category.h", | 20 "category.h", |
| 21 "category_factory.cc", | |
| 22 "category_factory.h", | |
| 23 "category_info.cc", | 21 "category_info.cc", |
| 24 "category_info.h", | 22 "category_info.h", |
| 23 "category_rankers/category_ranker.h", |
| 24 "category_rankers/constant_category_ranker.cc", |
| 25 "category_rankers/constant_category_ranker.h", |
| 25 "category_status.cc", | 26 "category_status.cc", |
| 26 "category_status.h", | 27 "category_status.h", |
| 27 "content_suggestion.cc", | 28 "content_suggestion.cc", |
| 28 "content_suggestion.h", | 29 "content_suggestion.h", |
| 29 "content_suggestions_metrics.cc", | 30 "content_suggestions_metrics.cc", |
| 30 "content_suggestions_metrics.h", | 31 "content_suggestions_metrics.h", |
| 31 "content_suggestions_provider.cc", | 32 "content_suggestions_provider.cc", |
| 32 "content_suggestions_provider.h", | 33 "content_suggestions_provider.h", |
| 33 "content_suggestions_service.cc", | 34 "content_suggestions_service.cc", |
| 34 "content_suggestions_service.h", | 35 "content_suggestions_service.h", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 "category_info.h", | 110 "category_info.h", |
| 110 "category_status.h", | 111 "category_status.h", |
| 111 ] | 112 ] |
| 112 } | 113 } |
| 113 } | 114 } |
| 114 | 115 |
| 115 source_set("unit_tests") { | 116 source_set("unit_tests") { |
| 116 testonly = true | 117 testonly = true |
| 117 sources = [ | 118 sources = [ |
| 118 "bookmarks/bookmark_last_visit_utils_unittest.cc", | 119 "bookmarks/bookmark_last_visit_utils_unittest.cc", |
| 119 "category_factory_unittest.cc", | |
| 120 "content_suggestions_service_unittest.cc", | 120 "content_suggestions_service_unittest.cc", |
| 121 "offline_pages/recent_tab_suggestions_provider_unittest.cc", | 121 "offline_pages/recent_tab_suggestions_provider_unittest.cc", |
| 122 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", | 122 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", |
| 123 "remote/ntp_snippet_unittest.cc", | 123 "remote/ntp_snippet_unittest.cc", |
| 124 "remote/ntp_snippets_fetcher_unittest.cc", | 124 "remote/ntp_snippets_fetcher_unittest.cc", |
| 125 "remote/remote_suggestions_database_unittest.cc", | 125 "remote/remote_suggestions_database_unittest.cc", |
| 126 "remote/remote_suggestions_provider_unittest.cc", | 126 "remote/remote_suggestions_provider_unittest.cc", |
| 127 "remote/remote_suggestions_status_service_unittest.cc", | 127 "remote/remote_suggestions_status_service_unittest.cc", |
| 128 "remote/request_throttler_unittest.cc", | 128 "remote/request_throttler_unittest.cc", |
| 129 "remote/test_utils.cc", | 129 "remote/test_utils.cc", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 ] | 169 ] |
| 170 | 170 |
| 171 deps = [ | 171 deps = [ |
| 172 ":ntp_snippets", | 172 ":ntp_snippets", |
| 173 "//base", | 173 "//base", |
| 174 "//components/offline_pages/core", | 174 "//components/offline_pages/core", |
| 175 "//components/offline_pages/core:test_support", | 175 "//components/offline_pages/core:test_support", |
| 176 "//testing/gmock", | 176 "//testing/gmock", |
| 177 ] | 177 ] |
| 178 } | 178 } |
| OLD | NEW |