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

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

Issue 1737563003: [NTP Snippets] Persist the set of snippets in a pref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_merge
Patch Set: noyau review Created 4 years, 9 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 "inner_iterator.h", 8 "inner_iterator.h",
9 "ntp_snippet.cc", 9 "ntp_snippet.cc",
10 "ntp_snippet.h", 10 "ntp_snippet.h",
11 "ntp_snippets_fetcher.cc", 11 "ntp_snippets_fetcher.cc",
12 "ntp_snippets_fetcher.h", 12 "ntp_snippets_fetcher.h",
13 "ntp_snippets_scheduler.h",
13 "ntp_snippets_service.cc", 14 "ntp_snippets_service.cc",
14 "ntp_snippets_service.h", 15 "ntp_snippets_service.h",
16 "pref_names.cc",
17 "pref_names.h",
15 ] 18 ]
16 19
17 public_deps = [ 20 public_deps = [
18 "//base", 21 "//base",
19 "//components/keyed_service/core", 22 "//components/keyed_service/core",
23 "//components/pref_registry",
24 "//components/prefs",
20 "//components/signin/core/browser", 25 "//components/signin/core/browser",
21 "//google_apis", 26 "//google_apis",
22 "//net", 27 "//net",
23 "//url", 28 "//url",
24 ] 29 ]
25 } 30 }
26 31
27 source_set("unit_tests") { 32 source_set("unit_tests") {
28 testonly = true 33 testonly = true
29 sources = [ 34 sources = [
30 "inner_iterator_unittest.cc", 35 "inner_iterator_unittest.cc",
31 "ntp_snippets_service_unittest.cc", 36 "ntp_snippets_service_unittest.cc",
32 ] 37 ]
33 38
34 deps = [ 39 deps = [
35 ":ntp_snippets", 40 ":ntp_snippets",
36 "//base", 41 "//base",
37 "//components/signin/core/browser:test_support", 42 "//components/signin/core/browser:test_support",
38 "//net:test_support", 43 "//net:test_support",
39 "//testing/gtest", 44 "//testing/gtest",
40 ] 45 ]
41 } 46 }
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