| 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 "breaking_news/breaking_news_suggestions_provider.cc", |
| 19 "breaking_news/breaking_news_suggestions_provider.h", |
| 18 "breaking_news/subscription_json_request.cc", | 20 "breaking_news/subscription_json_request.cc", |
| 19 "breaking_news/subscription_json_request.h", | 21 "breaking_news/subscription_json_request.h", |
| 22 "breaking_news/subscription_manager.cc", |
| 23 "breaking_news/subscription_manager.h", |
| 20 "callbacks.h", | 24 "callbacks.h", |
| 21 "category.cc", | 25 "category.cc", |
| 22 "category.h", | 26 "category.h", |
| 23 "category_info.cc", | 27 "category_info.cc", |
| 24 "category_info.h", | 28 "category_info.h", |
| 25 "category_rankers/category_ranker.h", | 29 "category_rankers/category_ranker.h", |
| 26 "category_rankers/click_based_category_ranker.cc", | 30 "category_rankers/click_based_category_ranker.cc", |
| 27 "category_rankers/click_based_category_ranker.h", | 31 "category_rankers/click_based_category_ranker.h", |
| 28 "category_rankers/constant_category_ranker.cc", | 32 "category_rankers/constant_category_ranker.cc", |
| 29 "category_rankers/constant_category_ranker.h", | 33 "category_rankers/constant_category_ranker.h", |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 ] | 141 ] |
| 138 } | 142 } |
| 139 } | 143 } |
| 140 | 144 |
| 141 source_set("unit_tests") { | 145 source_set("unit_tests") { |
| 142 testonly = true | 146 testonly = true |
| 143 sources = [ | 147 sources = [ |
| 144 "bookmarks/bookmark_last_visit_utils_unittest.cc", | 148 "bookmarks/bookmark_last_visit_utils_unittest.cc", |
| 145 "bookmarks/bookmark_suggestions_provider_unittest.cc", | 149 "bookmarks/bookmark_suggestions_provider_unittest.cc", |
| 146 "breaking_news/subscription_json_request_unittest.cc", | 150 "breaking_news/subscription_json_request_unittest.cc", |
| 151 "breaking_news/subscription_manager_unittest.cc", |
| 147 "category_rankers/click_based_category_ranker_unittest.cc", | 152 "category_rankers/click_based_category_ranker_unittest.cc", |
| 148 "category_rankers/constant_category_ranker_unittest.cc", | 153 "category_rankers/constant_category_ranker_unittest.cc", |
| 149 "category_unittest.cc", | 154 "category_unittest.cc", |
| 150 "content_suggestions_metrics_unittest.cc", | 155 "content_suggestions_metrics_unittest.cc", |
| 151 "content_suggestions_service_unittest.cc", | 156 "content_suggestions_service_unittest.cc", |
| 152 "offline_pages/recent_tab_suggestions_provider_unittest.cc", | 157 "offline_pages/recent_tab_suggestions_provider_unittest.cc", |
| 153 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", | 158 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", |
| 154 "reading_list/reading_list_suggestions_provider_unittest.cc", | 159 "reading_list/reading_list_suggestions_provider_unittest.cc", |
| 155 "remote/json_request_unittest.cc", | 160 "remote/json_request_unittest.cc", |
| 156 "remote/remote_suggestion_unittest.cc", | 161 "remote/remote_suggestion_unittest.cc", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 224 |
| 220 deps = [ | 225 deps = [ |
| 221 ":ntp_snippets", | 226 ":ntp_snippets", |
| 222 "//base", | 227 "//base", |
| 223 "//components/offline_pages/core", | 228 "//components/offline_pages/core", |
| 224 "//components/offline_pages/core:test_support", | 229 "//components/offline_pages/core:test_support", |
| 225 "//testing/gmock", | 230 "//testing/gmock", |
| 226 "//testing/gtest", | 231 "//testing/gtest", |
| 227 ] | 232 ] |
| 228 } | 233 } |
| OLD | NEW |