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/config.gni") |
| 7 import("//build/config/android/rules.gni") |
| 8 } |
| 9 |
| 10 static_library("internal") { |
| 11 visibility = [ |
| 12 ":*", |
| 13 "//components/download", |
| 14 ] |
| 15 |
| 16 sources = [ |
| 17 "background_download_service_impl.cc", |
| 18 "background_download_service_impl.h", |
| 19 ] |
| 20 |
| 21 deps = [ |
| 22 "//base", |
| 23 ] |
| 24 } |
| 25 |
| 26 source_set("unit_tests") { |
| 27 testonly = true |
| 28 |
| 29 visibility = [ "//components/download:unit_tests" ] |
| 30 |
| 31 sources = [ |
| 32 "background_download_service_impl_unittest.cc", |
| 33 ] |
| 34 |
| 35 deps = [ |
| 36 ":internal", |
| 37 "//base/test:test_support", |
| 38 "//testing/gtest", |
| 39 ] |
| 40 } |
OLD | NEW |