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