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