Chromium Code Reviews| Index: components/download/internal/BUILD.gn |
| diff --git a/components/download/internal/BUILD.gn b/components/download/internal/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..12790412243e5fc78da5300a91b22bebf123df21 |
| --- /dev/null |
| +++ b/components/download/internal/BUILD.gn |
| @@ -0,0 +1,40 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +if (is_android) { |
| + import("//build/config/android/config.gni") |
| + import("//build/config/android/rules.gni") |
| +} |
| + |
| +static_library("internal") { |
|
Peter Beverloo
2017/05/03 13:02:50
This target needs to depend on the public target t
David Trainor- moved to gerrit
2017/05/03 17:42:03
Done.
|
| + visibility = [ |
| + ":*", |
| + "//components/download", |
| + ] |
| + |
| + sources = [ |
| + "background_download_service_impl.cc", |
| + "background_download_service_impl.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + |
| + visibility = [ "//components/download:unit_tests" ] |
| + |
| + sources = [ |
| + "background_download_service_impl_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":internal", |
| + "//base/test:test_support", |
| + "//testing/gtest", |
| + ] |
| +} |