| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 static_library("content") { | 9 static_library("content") { |
| 10 sources = [ | 10 sources = [ |
| 11 "prefetch_service_factory.cc", | 11 "prefetch_service_factory.cc", |
| 12 "prefetch_service_factory.h", | 12 "prefetch_service_factory.h", |
| 13 "suggested_articles_observer.cc", | 13 "suggested_articles_observer.cc", |
| 14 "suggested_articles_observer.h", | 14 "suggested_articles_observer.h", |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 deps = [ | 17 deps = [ |
| 18 "//base", | 18 "//base", |
| 19 "//components/gcm_driver", |
| 19 "//components/keyed_service/content", | 20 "//components/keyed_service/content", |
| 20 "//components/ntp_snippets", | 21 "//components/ntp_snippets", |
| 21 "//components/offline_pages/core", | 22 "//components/offline_pages/core", |
| 22 "//components/offline_pages/core:switches", | 23 "//components/offline_pages/core:switches", |
| 23 "//components/offline_pages/core/prefetch", | 24 "//components/offline_pages/core/prefetch", |
| 24 "//content/public/browser", | 25 "//content/public/browser", |
| 25 ] | 26 ] |
| 26 } | 27 } |
| 27 | 28 |
| 28 source_set("unit_tests") { | 29 source_set("unit_tests") { |
| 29 testonly = true | 30 testonly = true |
| 30 sources = [ | 31 sources = [ |
| 31 "suggested_articles_observer_unittest.cc", | 32 "suggested_articles_observer_unittest.cc", |
| 32 ] | 33 ] |
| 33 | 34 |
| 34 deps = [ | 35 deps = [ |
| 35 ":content", | 36 ":content", |
| 36 "//base", | 37 "//base", |
| 37 "//base/test:test_support", | 38 "//base/test:test_support", |
| 38 "//components/offline_pages/core", | 39 "//components/offline_pages/core", |
| 39 "//components/offline_pages/core:test_support", | 40 "//components/offline_pages/core:test_support", |
| 40 "//content/test:test_support", | 41 "//content/test:test_support", |
| 41 "//testing/gtest", | 42 "//testing/gtest", |
| 42 "//url", | 43 "//url", |
| 43 ] | 44 ] |
| 44 } | 45 } |
| OLD | NEW |