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