| 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", | 23 "reading_list_pref_names.cc", |
| 24 "reading_list_model_storage_defaults.mm", | 24 "reading_list_pref_names.h", |
| 25 "reading_list_store.cc", |
| 26 "reading_list_store.h", |
| 27 "reading_list_store_delegate.h", |
| 25 "url_downloader.cc", | 28 "url_downloader.cc", |
| 26 "url_downloader.h", | 29 "url_downloader.h", |
| 27 ] | 30 ] |
| 28 deps = [ | 31 deps = [ |
| 29 "//base", | 32 "//base", |
| 30 "//components/keyed_service/core", | 33 "//components/keyed_service/core", |
| 31 "//components/keyed_service/ios", | 34 "//components/keyed_service/ios", |
| 35 "//components/leveldb_proto", |
| 36 "//components/pref_registry", |
| 37 "//components/prefs", |
| 38 "//components/sync", |
| 39 "//components/sync/protocol", |
| 32 "//ios/chrome/browser:browser_no_public_deps", | 40 "//ios/chrome/browser:browser_no_public_deps", |
| 33 "//ios/chrome/browser/browser_state", | 41 "//ios/chrome/browser/browser_state", |
| 42 "//ios/chrome/browser/reading_list/proto", |
| 34 "//ios/web", | 43 "//ios/web", |
| 35 "//net", | 44 "//net", |
| 36 "//url", | 45 "//url", |
| 37 ] | 46 ] |
| 38 public_deps = [ | 47 public_deps = [ |
| 39 "//ios/chrome/browser/dom_distiller", | 48 "//ios/chrome/browser/dom_distiller", |
| 40 ] | 49 ] |
| 41 } | 50 } |
| 42 | 51 |
| 43 source_set("unit_tests") { | 52 source_set("unit_tests") { |
| 44 testonly = true | 53 testonly = true |
| 45 sources = [ | 54 sources = [ |
| 46 "reading_list_entry_unittest.cc", | 55 "reading_list_entry_unittest.cc", |
| 47 "reading_list_model_storage_unittest.mm", | |
| 48 "reading_list_model_unittest.cc", | 56 "reading_list_model_unittest.cc", |
| 57 "reading_list_store_unittest.cc", |
| 49 "url_downloader_unittest.cc", | 58 "url_downloader_unittest.cc", |
| 50 ] | 59 ] |
| 51 deps = [ | 60 deps = [ |
| 52 ":reading_list", | 61 ":reading_list", |
| 53 "//base", | 62 "//base", |
| 54 "//base/test:test_support", | 63 "//base/test:test_support", |
| 64 "//components/sync:test_support_model", |
| 65 "//components/sync/protocol", |
| 55 "//ios/chrome/browser", | 66 "//ios/chrome/browser", |
| 56 "//ios/chrome/browser/dom_distiller", | 67 "//ios/chrome/browser/dom_distiller", |
| 68 "//ios/chrome/browser/reading_list/proto", |
| 57 "//ios/web:test_support", | 69 "//ios/web:test_support", |
| 58 "//testing/gtest", | 70 "//testing/gtest", |
| 59 ] | 71 ] |
| 60 } | 72 } |
| OLD | NEW |