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

Side by Side Diff: components/ntp_snippets/BUILD.gn

Issue 1987333003: [NTP Snippets] Persist snippets in a LevelDB instead of prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test memleaks Created 4 years, 6 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
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/ntp_snippets/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # GYP version: components/ntp_snippets.gypi:ntp_snippets 5 # GYP version: components/ntp_snippets.gypi:ntp_snippets
6 source_set("ntp_snippets") { 6 source_set("ntp_snippets") {
7 sources = [ 7 sources = [
8 "ntp_snippet.cc", 8 "ntp_snippet.cc",
9 "ntp_snippet.h", 9 "ntp_snippet.h",
10 "ntp_snippets_constants.cc", 10 "ntp_snippets_constants.cc",
11 "ntp_snippets_constants.h", 11 "ntp_snippets_constants.h",
12 "ntp_snippets_database.cc",
13 "ntp_snippets_database.h",
12 "ntp_snippets_fetcher.cc", 14 "ntp_snippets_fetcher.cc",
13 "ntp_snippets_fetcher.h", 15 "ntp_snippets_fetcher.h",
14 "ntp_snippets_scheduler.h", 16 "ntp_snippets_scheduler.h",
15 "ntp_snippets_service.cc", 17 "ntp_snippets_service.cc",
16 "ntp_snippets_service.h", 18 "ntp_snippets_service.h",
17 "pref_names.cc", 19 "pref_names.cc",
18 "pref_names.h", 20 "pref_names.h",
19 "switches.cc", 21 "switches.cc",
20 "switches.h", 22 "switches.h",
21 ] 23 ]
22 24
23 public_deps = [ 25 public_deps = [
24 "//base", 26 "//base",
25 "//components/keyed_service/core", 27 "//components/keyed_service/core",
28 "//components/leveldb_proto",
26 "//components/prefs", 29 "//components/prefs",
27 "//components/signin/core/browser", 30 "//components/signin/core/browser",
28 "//components/suggestions", 31 "//components/suggestions",
29 "//components/sync_driver", 32 "//components/sync_driver",
30 "//google_apis", 33 "//google_apis",
31 "//net", 34 "//net",
32 "//url", 35 "//url",
33 ] 36 ]
34 37
35 deps = [ 38 deps = [
36 "//components/data_use_measurement/core", 39 "//components/data_use_measurement/core",
37 "//components/image_fetcher", 40 "//components/image_fetcher",
38 "//components/metrics", 41 "//components/metrics",
42 "//components/ntp_snippets/proto",
39 "//components/variations", 43 "//components/variations",
40 "//third_party/icu/", 44 "//third_party/icu/",
41 "//ui/gfx", 45 "//ui/gfx",
42 ] 46 ]
43 } 47 }
44 48
45 source_set("unit_tests") { 49 source_set("unit_tests") {
46 testonly = true 50 testonly = true
47 sources = [ 51 sources = [
52 "ntp_snippets_database_unittest.cc",
48 "ntp_snippets_fetcher_unittest.cc", 53 "ntp_snippets_fetcher_unittest.cc",
49 "ntp_snippets_service_unittest.cc", 54 "ntp_snippets_service_unittest.cc",
50 ] 55 ]
51 56
52 deps = [ 57 deps = [
53 ":ntp_snippets", 58 ":ntp_snippets",
54 "//base", 59 "//base",
55 "//base/test:test_support", 60 "//base/test:test_support",
56 "//components/image_fetcher", 61 "//components/image_fetcher",
62 "//components/leveldb_proto:test_support",
57 "//components/signin/core/browser:test_support", 63 "//components/signin/core/browser:test_support",
58 "//components/sync_driver:test_support", 64 "//components/sync_driver:test_support",
59 "//net:test_support", 65 "//net:test_support",
60 "//testing/gtest", 66 "//testing/gtest",
61 "//third_party/icu/", 67 "//third_party/icu/",
62 ] 68 ]
63 } 69 }
OLDNEW
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/ntp_snippets/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698