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 source_set("content") { |
| 11 sources = [ |
| 12 "download_driver_impl.cc", |
| 13 "download_driver_impl.h", |
| 14 ] |
| 15 |
| 16 public_deps = [ |
| 17 "//components/download/internal", |
| 18 "//components/download/public", |
| 19 ] |
| 20 |
| 21 deps = [ |
| 22 "//base", |
| 23 "//content/public/browser", |
| 24 "//net", |
| 25 "//url", |
| 26 ] |
| 27 } |
| 28 |
| 29 source_set("unit_tests") { |
| 30 testonly = true |
| 31 |
| 32 sources = [ |
| 33 "download_driver_impl_unittest.cc", |
| 34 ] |
| 35 |
| 36 deps = [ |
| 37 ":content", |
| 38 "//content/test:test_support", |
| 39 "//testing/gmock", |
| 40 "//testing/gtest", |
| 41 ] |
| 42 } |
OLD | NEW |