Chromium Code Reviews| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 131 source_set("unit_tests") { | 131 source_set("unit_tests") { |
| 132 testonly = true | 132 testonly = true |
| 133 sources = [ | 133 sources = [ |
| 134 "bookmarks/bookmark_last_visit_utils_unittest.cc", | 134 "bookmarks/bookmark_last_visit_utils_unittest.cc", |
| 135 "bookmarks/bookmark_suggestions_provider_unittest.cc", | 135 "bookmarks/bookmark_suggestions_provider_unittest.cc", |
| 136 "category_rankers/click_based_category_ranker_unittest.cc", | 136 "category_rankers/click_based_category_ranker_unittest.cc", |
| 137 "category_rankers/constant_category_ranker_unittest.cc", | 137 "category_rankers/constant_category_ranker_unittest.cc", |
| 138 "category_unittest.cc", | 138 "category_unittest.cc", |
| 139 "content_suggestions_metrics_unittest.cc", | 139 "content_suggestions_metrics_unittest.cc", |
| 140 "content_suggestions_service_unittest.cc", | 140 "content_suggestions_service_unittest.cc", |
| 141 "ios/reading_list_suggestions_provider_unittest.cc", | |
| 141 "offline_pages/recent_tab_suggestions_provider_unittest.cc", | 142 "offline_pages/recent_tab_suggestions_provider_unittest.cc", |
| 142 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", | 143 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", |
| 143 "remote/json_request_unittest.cc", | 144 "remote/json_request_unittest.cc", |
| 144 "remote/remote_suggestion_unittest.cc", | 145 "remote/remote_suggestion_unittest.cc", |
| 145 "remote/remote_suggestions_database_unittest.cc", | 146 "remote/remote_suggestions_database_unittest.cc", |
| 146 "remote/remote_suggestions_fetcher_unittest.cc", | 147 "remote/remote_suggestions_fetcher_unittest.cc", |
| 147 "remote/remote_suggestions_provider_impl_unittest.cc", | 148 "remote/remote_suggestions_provider_impl_unittest.cc", |
| 148 "remote/remote_suggestions_status_service_unittest.cc", | 149 "remote/remote_suggestions_status_service_unittest.cc", |
| 149 "remote/request_throttler_unittest.cc", | 150 "remote/request_throttler_unittest.cc", |
| 150 "remote/scheduling_remote_suggestions_provider_unittest.cc", | 151 "remote/scheduling_remote_suggestions_provider_unittest.cc", |
| 151 "remote/test_utils.cc", | 152 "remote/test_utils.cc", |
| 152 "remote/test_utils.h", | 153 "remote/test_utils.h", |
| 153 "sessions/foreign_sessions_suggestions_provider_unittest.cc", | 154 "sessions/foreign_sessions_suggestions_provider_unittest.cc", |
| 154 "sessions/tab_delegate_sync_adapter_unittest.cc", | 155 "sessions/tab_delegate_sync_adapter_unittest.cc", |
| 155 "user_classifier_unittest.cc", | 156 "user_classifier_unittest.cc", |
| 156 ] | 157 ] |
| 157 | 158 |
| 158 deps = [ | 159 deps = [ |
| 159 ":ntp_snippets", | 160 ":ntp_snippets", |
| 160 ":test_support", | 161 ":test_support", |
| 161 "//base", | 162 "//base", |
| 162 "//base/test:test_support", | 163 "//base/test:test_support", |
| 163 "//components/bookmarks/browser", | 164 "//components/bookmarks/browser", |
| 164 "//components/bookmarks/test", | 165 "//components/bookmarks/test", |
| 165 "//components/image_fetcher/core", | 166 "//components/image_fetcher/core", |
| 166 "//components/leveldb_proto:test_support", | 167 "//components/leveldb_proto:test_support", |
| 168 "//components/ntp_snippets/ios", | |
|
Marc Treib
2017/03/23 17:12:21
This seems wrong. The general build file shouldn't
gambard
2017/03/23 17:49:39
Ok, as there is no iOS-only stuff (only things whi
Marc Treib
2017/03/23 19:01:49
Ah, so we *could* actually build it on all platfor
jkrcal
2017/03/24 08:45:19
I also value simplicity and tend to agree with Mar
gambard
2017/03/24 09:08:50
It is more that we have one target per folder in i
| |
| 167 "//components/ntp_snippets/remote/proto", | 169 "//components/ntp_snippets/remote/proto", |
| 168 "//components/offline_pages/core", | 170 "//components/offline_pages/core", |
| 169 "//components/offline_pages/core:test_support", | 171 "//components/offline_pages/core:test_support", |
| 170 "//components/offline_pages/core/background:test_support", | 172 "//components/offline_pages/core/background:test_support", |
| 171 "//components/offline_pages/core/downloads:offline_pages_ui_adapter", | 173 "//components/offline_pages/core/downloads:offline_pages_ui_adapter", |
| 172 "//components/offline_pages/core/recent_tabs", | 174 "//components/offline_pages/core/recent_tabs", |
| 173 "//components/physical_web/data_source:test_support", | 175 "//components/physical_web/data_source:test_support", |
| 176 "//components/reading_list/core", | |
| 174 "//components/sessions", | 177 "//components/sessions", |
| 175 "//components/sessions:test_support", | 178 "//components/sessions:test_support", |
| 176 "//components/signin/core/browser:test_support", | 179 "//components/signin/core/browser:test_support", |
| 177 "//components/signin/core/common", | 180 "//components/signin/core/common", |
| 178 "//components/strings", | 181 "//components/strings", |
| 179 "//components/sync:test_support_driver", | 182 "//components/sync:test_support_driver", |
| 180 "//components/sync_sessions", | 183 "//components/sync_sessions", |
| 181 "//components/variations:test_support", | 184 "//components/variations:test_support", |
| 182 "//net:test_support", | 185 "//net:test_support", |
| 183 "//testing/gtest", | 186 "//testing/gtest", |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 205 | 208 |
| 206 deps = [ | 209 deps = [ |
| 207 ":ntp_snippets", | 210 ":ntp_snippets", |
| 208 "//base", | 211 "//base", |
| 209 "//components/offline_pages/core", | 212 "//components/offline_pages/core", |
| 210 "//components/offline_pages/core:test_support", | 213 "//components/offline_pages/core:test_support", |
| 211 "//testing/gmock", | 214 "//testing/gmock", |
| 212 "//testing/gtest", | 215 "//testing/gtest", |
| 213 ] | 216 ] |
| 214 } | 217 } |
| OLD | NEW |