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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 "category.h", | 90 "category.h", |
91 "category_info.h", | 91 "category_info.h", |
92 "category_status.h", | 92 "category_status.h", |
93 ] | 93 ] |
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 source_set("unit_tests") { | 97 source_set("unit_tests") { |
98 testonly = true | 98 testonly = true |
99 sources = [ | 99 sources = [ |
| 100 "category_factory_unittest.cc", |
100 "content_suggestions_service_unittest.cc", | 101 "content_suggestions_service_unittest.cc", |
101 "ntp_snippet_unittest.cc", | 102 "ntp_snippet_unittest.cc", |
102 "ntp_snippets_database_unittest.cc", | 103 "ntp_snippets_database_unittest.cc", |
103 "ntp_snippets_fetcher_unittest.cc", | 104 "ntp_snippets_fetcher_unittest.cc", |
104 "ntp_snippets_service_unittest.cc", | 105 "ntp_snippets_service_unittest.cc", |
105 "ntp_snippets_status_service_unittest.cc", | 106 "ntp_snippets_status_service_unittest.cc", |
106 "ntp_snippets_test_utils.cc", | 107 "ntp_snippets_test_utils.cc", |
107 "ntp_snippets_test_utils.h", | 108 "ntp_snippets_test_utils.h", |
108 "request_throttler_unittest.cc", | 109 "request_throttler_unittest.cc", |
109 ] | 110 ] |
110 | 111 |
111 deps = [ | 112 deps = [ |
112 ":ntp_snippets", | 113 ":ntp_snippets", |
113 "//base", | 114 "//base", |
114 "//base/test:test_support", | 115 "//base/test:test_support", |
115 "//components/image_fetcher", | 116 "//components/image_fetcher", |
116 "//components/leveldb_proto:test_support", | 117 "//components/leveldb_proto:test_support", |
117 "//components/signin/core/browser:test_support", | 118 "//components/signin/core/browser:test_support", |
118 "//components/signin/core/common", | 119 "//components/signin/core/common", |
119 "//components/strings", | 120 "//components/strings", |
120 "//components/sync:test_support_sync_driver", | 121 "//components/sync:test_support_sync_driver", |
121 "//components/variations", | 122 "//components/variations", |
122 "//net:test_support", | 123 "//net:test_support", |
123 "//testing/gtest", | 124 "//testing/gtest", |
124 "//third_party/icu/", | 125 "//third_party/icu/", |
125 ] | 126 ] |
126 } | 127 } |
OLD | NEW |