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 } |
(...skipping 29 matching lines...) Expand all Loading... |
40 "ntp_snippets_database.h", | 40 "ntp_snippets_database.h", |
41 "ntp_snippets_fetcher.cc", | 41 "ntp_snippets_fetcher.cc", |
42 "ntp_snippets_fetcher.h", | 42 "ntp_snippets_fetcher.h", |
43 "ntp_snippets_scheduler.h", | 43 "ntp_snippets_scheduler.h", |
44 "ntp_snippets_service.cc", | 44 "ntp_snippets_service.cc", |
45 "ntp_snippets_service.h", | 45 "ntp_snippets_service.h", |
46 "ntp_snippets_status_service.cc", | 46 "ntp_snippets_status_service.cc", |
47 "ntp_snippets_status_service.h", | 47 "ntp_snippets_status_service.h", |
48 "offline_pages/offline_page_suggestions_provider.cc", | 48 "offline_pages/offline_page_suggestions_provider.cc", |
49 "offline_pages/offline_page_suggestions_provider.h", | 49 "offline_pages/offline_page_suggestions_provider.h", |
| 50 "physical_web_pages/physical_web_page_suggestions_provider.cc", |
| 51 "physical_web_pages/physical_web_page_suggestions_provider.h", |
50 "pref_names.cc", | 52 "pref_names.cc", |
51 "pref_names.h", | 53 "pref_names.h", |
52 "request_throttler.cc", | 54 "request_throttler.cc", |
53 "request_throttler.h", | 55 "request_throttler.h", |
54 "switches.cc", | 56 "switches.cc", |
55 "switches.h", | 57 "switches.h", |
56 ] | 58 ] |
57 | 59 |
58 public_deps = [ | 60 public_deps = [ |
59 "//base", | 61 "//base", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 "category_info.h", | 93 "category_info.h", |
92 "category_status.h", | 94 "category_status.h", |
93 ] | 95 ] |
94 } | 96 } |
95 } | 97 } |
96 | 98 |
97 source_set("unit_tests") { | 99 source_set("unit_tests") { |
98 testonly = true | 100 testonly = true |
99 sources = [ | 101 sources = [ |
100 "content_suggestions_service_unittest.cc", | 102 "content_suggestions_service_unittest.cc", |
| 103 "mock_content_suggestions_provider_observer.cc", |
| 104 "mock_content_suggestions_provider_observer.h", |
101 "ntp_snippet_unittest.cc", | 105 "ntp_snippet_unittest.cc", |
102 "ntp_snippets_database_unittest.cc", | 106 "ntp_snippets_database_unittest.cc", |
103 "ntp_snippets_fetcher_unittest.cc", | 107 "ntp_snippets_fetcher_unittest.cc", |
104 "ntp_snippets_service_unittest.cc", | 108 "ntp_snippets_service_unittest.cc", |
105 "ntp_snippets_status_service_unittest.cc", | 109 "ntp_snippets_status_service_unittest.cc", |
106 "ntp_snippets_test_utils.cc", | 110 "ntp_snippets_test_utils.cc", |
107 "ntp_snippets_test_utils.h", | 111 "ntp_snippets_test_utils.h", |
| 112 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", |
108 "request_throttler_unittest.cc", | 113 "request_throttler_unittest.cc", |
109 ] | 114 ] |
110 | 115 |
111 deps = [ | 116 deps = [ |
112 ":ntp_snippets", | 117 ":ntp_snippets", |
113 "//base", | 118 "//base", |
114 "//base/test:test_support", | 119 "//base/test:test_support", |
115 "//components/image_fetcher", | 120 "//components/image_fetcher", |
116 "//components/leveldb_proto:test_support", | 121 "//components/leveldb_proto:test_support", |
117 "//components/signin/core/browser:test_support", | 122 "//components/signin/core/browser:test_support", |
118 "//components/signin/core/common", | 123 "//components/signin/core/common", |
119 "//components/strings", | 124 "//components/strings", |
120 "//components/sync:test_support_sync_driver", | 125 "//components/sync:test_support_sync_driver", |
121 "//components/variations", | 126 "//components/variations", |
122 "//net:test_support", | 127 "//net:test_support", |
123 "//testing/gtest", | 128 "//testing/gtest", |
124 "//third_party/icu/", | 129 "//third_party/icu/", |
125 ] | 130 ] |
126 } | 131 } |
OLD | NEW |