| 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 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", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 source_set("reading_list_remover") { | 59 source_set("reading_list_remover") { |
| 60 sources = [ | 60 sources = [ |
| 61 "reading_list_remover_helper.cc", | 61 "reading_list_remover_helper.cc", |
| 62 "reading_list_remover_helper.h", | 62 "reading_list_remover_helper.h", |
| 63 ] | 63 ] |
| 64 deps = [ | 64 deps = [ |
| 65 "//base", | 65 "//base", |
| 66 "//components/reading_list/core", | 66 "//components/reading_list/core", |
| 67 "//ios/chrome/browser/browser_state", | 67 "//ios/chrome/browser/browser_state", |
| 68 ] | 68 ] |
| 69 public_deps = [ |
| 70 # This is required because this target includes |
| 71 # reading_list_download_service.h from :reading_list that includes |
| 72 # a protobuf header from dom_distiller. |
| 73 # the inclusion of reading_list_download_service.h is allowed using |
| 74 # allow_circular_includes_from. |
| 75 "//ios/chrome/browser/dom_distiller", |
| 76 ] |
| 69 } | 77 } |
| 70 | 78 |
| 71 source_set("unit_tests") { | 79 source_set("unit_tests") { |
| 72 configs += [ "//build/config/compiler:enable_arc" ] | 80 configs += [ "//build/config/compiler:enable_arc" ] |
| 73 testonly = true | 81 testonly = true |
| 74 sources = [ | 82 sources = [ |
| 75 "favicon_web_state_dispatcher_impl_unittest.mm", | 83 "favicon_web_state_dispatcher_impl_unittest.mm", |
| 76 "offline_url_utils_unittest.cc", | 84 "offline_url_utils_unittest.cc", |
| 77 "reading_list_web_state_observer_unittest.mm", | 85 "reading_list_web_state_observer_unittest.mm", |
| 78 "url_downloader_unittest.mm", | 86 "url_downloader_unittest.mm", |
| 79 ] | 87 ] |
| 80 deps = [ | 88 deps = [ |
| 81 ":reading_list", | 89 ":reading_list", |
| 82 "//base", | 90 "//base", |
| 83 "//base/test:test_support", | 91 "//base/test:test_support", |
| 84 "//components/favicon/ios", | 92 "//components/favicon/ios", |
| 85 "//components/reading_list/core", | 93 "//components/reading_list/core", |
| 86 "//ios/chrome/browser", | 94 "//ios/chrome/browser", |
| 87 "//ios/chrome/browser/browser_state:test_support", | 95 "//ios/chrome/browser/browser_state:test_support", |
| 88 "//ios/chrome/browser/dom_distiller", | 96 "//ios/chrome/browser/dom_distiller", |
| 89 "//ios/testing:ios_test_support", | 97 "//ios/testing:ios_test_support", |
| 90 "//ios/web", | 98 "//ios/web", |
| 91 "//ios/web:reload_type", | 99 "//ios/web:reload_type", |
| 92 "//ios/web:test_support", | 100 "//ios/web:test_support", |
| 93 "//net", | 101 "//net", |
| 94 "//testing/gtest", | 102 "//testing/gtest", |
| 95 "//url", | 103 "//url", |
| 96 ] | 104 ] |
| 97 } | 105 } |
| OLD | NEW |