| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("content_suggestions") { | 5 source_set("content_suggestions") { |
| 6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "content_suggestions_category_wrapper.h", | 8 "content_suggestions_category_wrapper.h", |
| 9 "content_suggestions_category_wrapper.mm", | 9 "content_suggestions_category_wrapper.mm", |
| 10 "content_suggestions_coordinator.h", | 10 "content_suggestions_coordinator.h", |
| 11 "content_suggestions_coordinator.mm", | 11 "content_suggestions_coordinator.mm", |
| 12 "content_suggestions_mediator.h", | 12 "content_suggestions_mediator.h", |
| 13 "content_suggestions_mediator.mm", | 13 "content_suggestions_mediator.mm", |
| 14 "content_suggestions_service_bridge_observer.h", | 14 "content_suggestions_service_bridge_observer.h", |
| 15 "content_suggestions_service_bridge_observer.mm", | 15 "content_suggestions_service_bridge_observer.mm", |
| 16 ] | 16 ] |
| 17 deps = [ | 17 deps = [ |
| 18 "//base", | 18 "//base", |
| 19 "//components/ntp_snippets", | 19 "//components/ntp_snippets", |
| 20 "//ios/chrome/app/strings", | 20 "//ios/chrome/app/strings", |
| 21 "//ios/chrome/browser", | 21 "//ios/chrome/browser", |
| 22 "//ios/chrome/browser/ntp_snippets", | 22 "//ios/chrome/browser/ntp_snippets", |
| 23 "//ios/chrome/browser/ui", |
| 24 "//ios/chrome/browser/ui/alert_coordinator", |
| 23 "//ios/chrome/browser/ui/content_suggestions", | 25 "//ios/chrome/browser/ui/content_suggestions", |
| 26 "//ios/web", |
| 24 "//ui/base", | 27 "//ui/base", |
| 28 "//ui/strings", |
| 25 ] | 29 ] |
| 26 } | 30 } |
| 27 | 31 |
| 28 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 29 testonly = true | 33 testonly = true |
| 30 sources = [ | 34 sources = [ |
| 31 "content_suggestions_category_wrapper_unittest.mm", | 35 "content_suggestions_category_wrapper_unittest.mm", |
| 32 ] | 36 ] |
| 33 deps = [ | 37 deps = [ |
| 34 ":content_suggestions", | 38 ":content_suggestions", |
| 35 "//components/ntp_snippets", | 39 "//components/ntp_snippets", |
| 36 "//testing/gtest", | 40 "//testing/gtest", |
| 37 ] | 41 ] |
| 38 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
| 39 } | 43 } |
| OLD | NEW |