Chromium Code Reviews| Index: components/download/content/BUILD.gn |
| diff --git a/components/download/content/BUILD.gn b/components/download/content/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..126de4c0f625ac0cb4d847f68f8c16c2d2fb396f |
| --- /dev/null |
| +++ b/components/download/content/BUILD.gn |
| @@ -0,0 +1,44 @@ |
| +# 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") |
| +} |
| + |
| +source_set("content") { |
| + sources = [ |
| + "download_driver_impl.cc", |
| + "download_driver_impl.h", |
| + "driver_entry.cc", |
|
David Trainor- moved to gerrit
2017/05/18 18:29:43
This needs to be in internal.
xingliu
2017/05/18 22:21:49
Done, good catch.
|
| + "driver_entry.h", |
| + ] |
| + |
| + public_deps = [ |
| + "//components/download/internal", |
| + "//components/download/public", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//content/public/browser", |
| + "//net", |
| + "//url", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + |
| + sources = [ |
| + "download_driver_impl_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":content", |
| + "//content/test:test_support", |
| + "//testing/gmock", |
| + "//testing/gtest", |
| + ] |
| +} |