Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: components/download/internal/BUILD.gn

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Addressed comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/download/OWNERS ('k') | components/download/internal/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a584dc5463d669015b17bc1609606562cff71f3d
--- /dev/null
+++ b/components/download/internal/BUILD.gn
@@ -0,0 +1,41 @@
+# 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") {
+ visibility = [
+ ":*",
+ "//components/download",
+ ]
+
+ sources = [
+ "download_service_impl.cc",
+ "download_service_impl.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/download/public",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+
+ visibility = [ "//components/download:unit_tests" ]
+
+ sources = [
+ "download_service_impl_unittest.cc",
+ ]
+
+ deps = [
+ ":internal",
+ "//base/test:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/download/OWNERS ('k') | components/download/internal/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698