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("browsing_data") { | 5 source_set("browsing_data") { |
6 sources = [ | 6 sources = [ |
7 "browsing_data_change_listening.h", | 7 "browsing_data_change_listening.h", |
8 "browsing_data_counter_wrapper.cc", | 8 "browsing_data_counter_wrapper.cc", |
9 "browsing_data_counter_wrapper.h", | 9 "browsing_data_counter_wrapper.h", |
10 "browsing_data_remover_helper.cc", | 10 "browsing_data_remover_helper.cc", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "//components/search_engines", | 46 "//components/search_engines", |
47 ] | 47 ] |
48 allow_circular_includes_from = [ "//ios/chrome/browser/signin" ] | 48 allow_circular_includes_from = [ "//ios/chrome/browser/signin" ] |
49 | 49 |
50 configs += [ "//build/config/compiler:enable_arc" ] | 50 configs += [ "//build/config/compiler:enable_arc" ] |
51 } | 51 } |
52 | 52 |
53 source_set("unit_tests") { | 53 source_set("unit_tests") { |
54 testonly = true | 54 testonly = true |
55 sources = [ | 55 sources = [ |
56 "browsing_data_removal_controller_unittest.mm", | |
57 "cache_counter_unittest.cc", | 56 "cache_counter_unittest.cc", |
58 ] | 57 ] |
59 deps = [ | 58 deps = [ |
60 ":browsing_data", | 59 ":browsing_data", |
61 ":browsing_data_internal", | |
62 "//base", | 60 "//base", |
63 "//base/test:test_support", | |
64 "//components/browsing_data/core", | 61 "//components/browsing_data/core", |
65 "//components/prefs", | 62 "//components/prefs", |
66 "//components/prefs:test_support", | 63 "//components/prefs:test_support", |
67 "//ios/chrome/browser/browser_state:test_support", | |
68 "//ios/web", | 64 "//ios/web", |
69 "//ios/web:test_support", | 65 "//ios/web:test_support", |
70 "//net", | 66 "//net", |
71 "//testing/gtest", | 67 "//testing/gtest", |
72 "//third_party/ocmock", | |
73 ] | 68 ] |
74 } | 69 } |
75 | |
76 source_set("browsing_data_internal") { | |
77 sources = [ | |
78 "browsing_data_removal_controller.h", | |
79 "browsing_data_removal_controller.mm", | |
80 ] | |
81 deps = [ | |
82 "//base", | |
83 "//components/browsing_data/core", | |
84 "//components/open_from_clipboard", | |
85 "//components/signin/ios/browser", | |
86 "//ios/chrome/browser:browser_internal", | |
87 "//ios/chrome/browser/browser_state", | |
88 "//ios/chrome/browser/browsing_data", | |
89 "//ios/chrome/browser/native_app_launcher:native_app_launcher_internal", | |
90 "//ios/chrome/browser/sessions:sessions_internal", | |
91 "//ios/chrome/browser/signin", | |
92 "//ios/chrome/browser/snapshots", | |
93 "//ios/chrome/browser/ui:ui_internal", | |
94 "//ios/public/provider/chrome/browser", | |
95 "//ios/public/provider/chrome/browser/native_app_launcher", | |
96 "//ios/web", | |
97 "//net", | |
98 ] | |
99 libs = [ "WebKit.framework" ] | |
100 } | |
OLD | NEW |