Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: ios/chrome/browser/reading_list/BUILD.gn

Issue 2745313004: Remove all ReadingList entries on managed account signout. (Closed)
Patch Set: feedback Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 configs += [ "//build/config/compiler:enable_arc" ] 6 configs += [ "//build/config/compiler:enable_arc" ]
7 sources = [ 7 sources = [
8 "favicon_web_state_dispatcher_impl.h", 8 "favicon_web_state_dispatcher_impl.h",
9 "favicon_web_state_dispatcher_impl.mm", 9 "favicon_web_state_dispatcher_impl.mm",
10 "offline_url_utils.cc", 10 "offline_url_utils.cc",
11 "offline_url_utils.h", 11 "offline_url_utils.h",
12 "reading_list_distiller_page.h", 12 "reading_list_distiller_page.h",
13 "reading_list_distiller_page.mm", 13 "reading_list_distiller_page.mm",
14 "reading_list_distiller_page_factory.h", 14 "reading_list_distiller_page_factory.h",
15 "reading_list_distiller_page_factory.mm", 15 "reading_list_distiller_page_factory.mm",
16 "reading_list_download_service.cc", 16 "reading_list_download_service.cc",
17 "reading_list_download_service.h", 17 "reading_list_download_service.h",
18 "reading_list_download_service_factory.cc", 18 "reading_list_download_service_factory.cc",
19 "reading_list_download_service_factory.h", 19 "reading_list_download_service_factory.h",
20 "reading_list_model_factory.cc", 20 "reading_list_model_factory.cc",
21 "reading_list_model_factory.h", 21 "reading_list_model_factory.h",
22 "reading_list_web_state_observer.h", 22 "reading_list_web_state_observer.h",
23 "reading_list_web_state_observer.mm", 23 "reading_list_web_state_observer.mm",
24 "url_downloader.cc", 24 "url_downloader.cc",
25 "url_downloader.h", 25 "url_downloader.h",
26 ] 26 ]
27 deps = [ 27 deps = [
28 ":reading_list_remover",
28 "//base", 29 "//base",
29 "//components/browser_sync", 30 "//components/browser_sync",
30 "//components/dom_distiller/ios", 31 "//components/dom_distiller/ios",
31 "//components/favicon/core", 32 "//components/favicon/core",
32 "//components/favicon/ios", 33 "//components/favicon/ios",
33 "//components/google/core/browser", 34 "//components/google/core/browser",
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",
38 "//components/reading_list/core", 39 "//components/reading_list/core",
39 "//components/reading_list/ios", 40 "//components/reading_list/ios",
40 "//components/sync", 41 "//components/sync",
41 "//ios/chrome/browser", 42 "//ios/chrome/browser",
42 "//ios/chrome/browser/bookmarks", 43 "//ios/chrome/browser/bookmarks",
43 "//ios/chrome/browser/browser_state", 44 "//ios/chrome/browser/browser_state",
44 "//ios/chrome/browser/favicon", 45 "//ios/chrome/browser/favicon",
45 "//ios/chrome/browser/history", 46 "//ios/chrome/browser/history",
46 "//ios/chrome/common", 47 "//ios/chrome/common",
47 "//ios/web", 48 "//ios/web",
48 "//ios/web:reload_type", 49 "//ios/web:reload_type",
49 "//net", 50 "//net",
50 "//url", 51 "//url",
51 ] 52 ]
52 public_deps = [ 53 public_deps = [
53 "//ios/chrome/browser/dom_distiller", 54 "//ios/chrome/browser/dom_distiller",
54 ] 55 ]
56 allow_circular_includes_from = [ ":reading_list_remover" ]
57 }
58
59 source_set("reading_list_remover") {
60 sources = [
61 "reading_list_remover_helper.cc",
62 "reading_list_remover_helper.h",
63 ]
64 deps = [
65 "//base",
66 "//components/reading_list/ios",
67 "//ios/chrome/browser/browser_state",
68 ]
55 } 69 }
56 70
57 source_set("unit_tests") { 71 source_set("unit_tests") {
58 configs += [ "//build/config/compiler:enable_arc" ] 72 configs += [ "//build/config/compiler:enable_arc" ]
59 testonly = true 73 testonly = true
60 sources = [ 74 sources = [
61 "favicon_web_state_dispatcher_impl_unittest.mm", 75 "favicon_web_state_dispatcher_impl_unittest.mm",
62 "offline_url_utils_unittest.cc", 76 "offline_url_utils_unittest.cc",
63 "reading_list_web_state_observer_unittest.mm", 77 "reading_list_web_state_observer_unittest.mm",
64 "url_downloader_unittest.mm", 78 "url_downloader_unittest.mm",
65 ] 79 ]
66 deps = [ 80 deps = [
67 ":reading_list", 81 ":reading_list",
68 "//base", 82 "//base",
69 "//base/test:test_support", 83 "//base/test:test_support",
70 "//components/favicon/ios", 84 "//components/favicon/ios",
71 "//components/reading_list/ios", 85 "//components/reading_list/ios",
72 "//ios/chrome/browser", 86 "//ios/chrome/browser",
73 "//ios/chrome/browser/browser_state:test_support", 87 "//ios/chrome/browser/browser_state:test_support",
74 "//ios/chrome/browser/dom_distiller", 88 "//ios/chrome/browser/dom_distiller",
75 "//ios/testing:ios_test_support", 89 "//ios/testing:ios_test_support",
76 "//ios/web", 90 "//ios/web",
77 "//ios/web:reload_type", 91 "//ios/web:reload_type",
78 "//ios/web:test_support", 92 "//ios/web:test_support",
79 "//net", 93 "//net",
80 "//testing/gtest", 94 "//testing/gtest",
81 "//url", 95 "//url",
82 ] 96 ]
83 } 97 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698