| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("reading_list") { | 5 source_set("reading_list") { |
| 6 sources = [ | 6 sources = [ |
| 7 "reading_list_download_service.cc", | 7 "reading_list_download_service.cc", |
| 8 "reading_list_download_service.h", | 8 "reading_list_download_service.h", |
| 9 "reading_list_download_service_factory.cc", | 9 "reading_list_download_service_factory.cc", |
| 10 "reading_list_download_service_factory.h", | 10 "reading_list_download_service_factory.h", |
| 11 "reading_list_entry.cc", | 11 "reading_list_entry.cc", |
| 12 "reading_list_entry.h", | 12 "reading_list_entry.h", |
| 13 "reading_list_model.cc", | 13 "reading_list_model.cc", |
| 14 "reading_list_model.h", | 14 "reading_list_model.h", |
| 15 "reading_list_model_bridge_observer.h", | 15 "reading_list_model_bridge_observer.h", |
| 16 "reading_list_model_bridge_observer.mm", | 16 "reading_list_model_bridge_observer.mm", |
| 17 "reading_list_model_factory.cc", | 17 "reading_list_model_factory.cc", |
| 18 "reading_list_model_factory.h", | 18 "reading_list_model_factory.h", |
| 19 "reading_list_model_impl.cc", | 19 "reading_list_model_impl.cc", |
| 20 "reading_list_model_impl.h", | 20 "reading_list_model_impl.h", |
| 21 "reading_list_model_observer.h", | 21 "reading_list_model_observer.h", |
| 22 "reading_list_model_storage.h", | 22 "reading_list_model_storage.h", |
| 23 "reading_list_model_storage_defaults.h", | |
| 24 "reading_list_model_storage_defaults.mm", | |
| 25 "reading_list_pref_names.cc", | 23 "reading_list_pref_names.cc", |
| 26 "reading_list_pref_names.h", | 24 "reading_list_pref_names.h", |
| 25 "reading_list_store.cc", |
| 26 "reading_list_store.h", |
| 27 "reading_list_store_delegate.h", |
| 27 "reading_list_web_state_observer.h", | 28 "reading_list_web_state_observer.h", |
| 28 "reading_list_web_state_observer.mm", | 29 "reading_list_web_state_observer.mm", |
| 29 "url_downloader.cc", | 30 "url_downloader.cc", |
| 30 "url_downloader.h", | 31 "url_downloader.h", |
| 31 ] | 32 ] |
| 32 deps = [ | 33 deps = [ |
| 33 "//base", | 34 "//base", |
| 34 "//components/keyed_service/core", | 35 "//components/keyed_service/core", |
| 35 "//components/keyed_service/ios", | 36 "//components/keyed_service/ios", |
| 36 "//components/pref_registry", | 37 "//components/pref_registry", |
| 37 "//components/prefs", | 38 "//components/prefs", |
| 39 "//components/sync", |
| 40 "//components/sync/protocol", |
| 38 "//ios/chrome/browser", | 41 "//ios/chrome/browser", |
| 39 "//ios/chrome/browser/browser_state", | 42 "//ios/chrome/browser/browser_state", |
| 43 "//ios/chrome/browser/reading_list/proto", |
| 40 "//ios/web", | 44 "//ios/web", |
| 41 "//net", | 45 "//net", |
| 42 "//url", | 46 "//url", |
| 43 ] | 47 ] |
| 44 public_deps = [ | 48 public_deps = [ |
| 45 "//ios/chrome/browser/dom_distiller", | 49 "//ios/chrome/browser/dom_distiller", |
| 46 ] | 50 ] |
| 47 } | 51 } |
| 48 | 52 |
| 49 source_set("unit_tests") { | 53 source_set("unit_tests") { |
| 50 testonly = true | 54 testonly = true |
| 51 sources = [ | 55 sources = [ |
| 52 "reading_list_entry_unittest.cc", | 56 "reading_list_entry_unittest.cc", |
| 53 "reading_list_model_storage_unittest.mm", | |
| 54 "reading_list_model_unittest.cc", | 57 "reading_list_model_unittest.cc", |
| 58 "reading_list_store_unittest.cc", |
| 55 "url_downloader_unittest.cc", | 59 "url_downloader_unittest.cc", |
| 56 ] | 60 ] |
| 57 deps = [ | 61 deps = [ |
| 58 ":reading_list", | 62 ":reading_list", |
| 59 "//base", | 63 "//base", |
| 60 "//base/test:test_support", | 64 "//base/test:test_support", |
| 65 "//components/sync:test_support_model", |
| 66 "//components/sync/protocol", |
| 61 "//ios/chrome/browser", | 67 "//ios/chrome/browser", |
| 62 "//ios/chrome/browser/dom_distiller", | 68 "//ios/chrome/browser/dom_distiller", |
| 69 "//ios/chrome/browser/reading_list/proto", |
| 63 "//ios/web:test_support", | 70 "//ios/web:test_support", |
| 64 "//testing/gtest", | 71 "//testing/gtest", |
| 65 ] | 72 ] |
| 66 } | 73 } |
| OLD | NEW |