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

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

Issue 2770723004: Remove all ReadingList entries on managed account signout. (Closed)
Patch Set: 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 "//net", 49 "//net",
49 "//url", 50 "//url",
50 ] 51 ]
51 public_deps = [ 52 public_deps = [
52 "//ios/chrome/browser/dom_distiller", 53 "//ios/chrome/browser/dom_distiller",
53 ] 54 ]
55 allow_circular_includes_from = [ ":reading_list_remover" ]
56 }
57
58 source_set("reading_list_remover") {
59 sources = [
60 "reading_list_remover_helper.cc",
61 "reading_list_remover_helper.h",
62 ]
63 deps = [
64 "//base",
65 "//components/reading_list/ios",
66 "//ios/chrome/browser/browser_state",
67 ]
54 } 68 }
55 69
56 source_set("unit_tests") { 70 source_set("unit_tests") {
57 configs += [ "//build/config/compiler:enable_arc" ] 71 configs += [ "//build/config/compiler:enable_arc" ]
58 testonly = true 72 testonly = true
59 sources = [ 73 sources = [
60 "favicon_web_state_dispatcher_impl_unittest.mm", 74 "favicon_web_state_dispatcher_impl_unittest.mm",
61 "offline_url_utils_unittest.cc", 75 "offline_url_utils_unittest.cc",
62 "reading_list_web_state_observer_unittest.mm", 76 "reading_list_web_state_observer_unittest.mm",
63 "url_downloader_unittest.mm", 77 "url_downloader_unittest.mm",
64 ] 78 ]
65 deps = [ 79 deps = [
66 ":reading_list", 80 ":reading_list",
67 "//base", 81 "//base",
68 "//base/test:test_support", 82 "//base/test:test_support",
69 "//components/favicon/ios", 83 "//components/favicon/ios",
70 "//components/reading_list/ios", 84 "//components/reading_list/ios",
71 "//ios/chrome/browser", 85 "//ios/chrome/browser",
72 "//ios/chrome/browser/browser_state:test_support", 86 "//ios/chrome/browser/browser_state:test_support",
73 "//ios/chrome/browser/dom_distiller", 87 "//ios/chrome/browser/dom_distiller",
74 "//ios/testing:ios_test_support", 88 "//ios/testing:ios_test_support",
75 "//ios/web", 89 "//ios/web",
76 "//ios/web:test_support", 90 "//ios/web:test_support",
77 "//net", 91 "//net",
78 "//testing/gtest", 92 "//testing/gtest",
79 "//url", 93 "//url",
80 ] 94 ]
81 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698