| 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", |
| 25 "category_status.cc", | 23 "category_status.cc", |
| 26 "category_status.h", | 24 "category_status.h", |
| 27 "content_suggestion.cc", | 25 "content_suggestion.cc", |
| 28 "content_suggestion.h", | 26 "content_suggestion.h", |
| 29 "content_suggestions_metrics.cc", | 27 "content_suggestions_metrics.cc", |
| 30 "content_suggestions_metrics.h", | 28 "content_suggestions_metrics.h", |
| 31 "content_suggestions_provider.cc", | 29 "content_suggestions_provider.cc", |
| 32 "content_suggestions_provider.h", | 30 "content_suggestions_provider.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 50 "remote/ntp_snippets_fetcher.h", | 48 "remote/ntp_snippets_fetcher.h", |
| 51 "remote/ntp_snippets_scheduler.h", | 49 "remote/ntp_snippets_scheduler.h", |
| 52 "remote/remote_suggestions_database.cc", | 50 "remote/remote_suggestions_database.cc", |
| 53 "remote/remote_suggestions_database.h", | 51 "remote/remote_suggestions_database.h", |
| 54 "remote/remote_suggestions_provider.cc", | 52 "remote/remote_suggestions_provider.cc", |
| 55 "remote/remote_suggestions_provider.h", | 53 "remote/remote_suggestions_provider.h", |
| 56 "remote/remote_suggestions_status_service.cc", | 54 "remote/remote_suggestions_status_service.cc", |
| 57 "remote/remote_suggestions_status_service.h", | 55 "remote/remote_suggestions_status_service.h", |
| 58 "remote/request_throttler.cc", | 56 "remote/request_throttler.cc", |
| 59 "remote/request_throttler.h", | 57 "remote/request_throttler.h", |
| 58 "section_rankers/default_constant_section_ranker.cc", |
| 59 "section_rankers/default_constant_section_ranker.h", |
| 60 "section_rankers/section_ranker.h", |
| 60 "sessions/foreign_sessions_suggestions_provider.cc", | 61 "sessions/foreign_sessions_suggestions_provider.cc", |
| 61 "sessions/foreign_sessions_suggestions_provider.h", | 62 "sessions/foreign_sessions_suggestions_provider.h", |
| 62 "sessions/tab_delegate_sync_adapter.cc", | 63 "sessions/tab_delegate_sync_adapter.cc", |
| 63 "sessions/tab_delegate_sync_adapter.h", | 64 "sessions/tab_delegate_sync_adapter.h", |
| 64 "status.cc", | 65 "status.cc", |
| 65 "status.h", | 66 "status.h", |
| 66 "switches.cc", | 67 "switches.cc", |
| 67 "switches.h", | 68 "switches.h", |
| 68 "user_classifier.cc", | 69 "user_classifier.cc", |
| 69 "user_classifier.h", | 70 "user_classifier.h", |
| (...skipping 39 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 |