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

Side by Side Diff: components/download/internal/BUILD.gn

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 static_library("internal") { 10 static_library("internal") {
11 visibility = [ 11 visibility = [
12 ":*", 12 ":*",
13 "//components/download", 13 "//components/download",
14 "//components/download/internal/test_support",
14 ] 15 ]
15 16
16 sources = [ 17 sources = [
17 "download_service_impl.cc", 18 "download_service_impl.cc",
18 "download_service_impl.h", 19 "download_service_impl.h",
20 "entry.cc",
21 "entry.h",
22 "model.h",
23 "model_impl.cc",
24 "model_impl.h",
25 "noop_store.cc",
26 "noop_store.h",
27 "store.h",
19 ] 28 ]
20 29
21 deps = [ 30 deps = [
22 "//base", 31 "//base",
23 "//components/download/public", 32 "//components/download/public",
24 ] 33 ]
25 } 34 }
26 35
27 source_set("unit_tests") { 36 source_set("unit_tests") {
28 testonly = true 37 testonly = true
29 38
30 visibility = [ "//components/download:unit_tests" ] 39 visibility = [ "//components/download:unit_tests" ]
31 40
32 sources = [ 41 sources = [
33 "download_service_impl_unittest.cc", 42 "model_impl_unittest.cc",
34 ] 43 ]
35 44
36 deps = [ 45 deps = [
37 ":internal", 46 ":internal",
38 "//base/test:test_support", 47 "//base/test:test_support",
48 "//components/download/internal/test_support",
39 "//testing/gtest", 49 "//testing/gtest",
40 ] 50 ]
41 } 51 }
OLDNEW
« no previous file with comments | « no previous file | components/download/internal/download_service_impl_unittest.cc » ('j') | components/download/internal/entry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698