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

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

Issue 1922083004: Allow fetching personalized snippets from ChromeReader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: After code review #2 Created 4 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 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_constants.cc",
12 "ntp_snippets_constants.h",
11 "ntp_snippets_fetcher.cc", 13 "ntp_snippets_fetcher.cc",
12 "ntp_snippets_fetcher.h", 14 "ntp_snippets_fetcher.h",
13 "ntp_snippets_scheduler.h", 15 "ntp_snippets_scheduler.h",
14 "ntp_snippets_service.cc", 16 "ntp_snippets_service.cc",
15 "ntp_snippets_service.h", 17 "ntp_snippets_service.h",
16 "pref_names.cc", 18 "pref_names.cc",
17 "pref_names.h", 19 "pref_names.h",
18 "switches.cc", 20 "switches.cc",
19 "switches.h", 21 "switches.h",
20 ] 22 ]
21 23
22 public_deps = [ 24 public_deps = [
23 "//base", 25 "//base",
24 "//components/keyed_service/core", 26 "//components/keyed_service/core",
25 "//components/prefs", 27 "//components/prefs",
26 "//components/signin/core/browser", 28 "//components/signin/core/browser",
27 "//components/suggestions", 29 "//components/suggestions",
28 "//google_apis", 30 "//google_apis",
29 "//net", 31 "//net",
30 "//url", 32 "//url",
31 ] 33 ]
32 34
33 deps = [ 35 deps = [
34 "//components/metrics", 36 "//components/metrics",
37 "//components/variations",
35 ] 38 ]
36 } 39 }
37 40
38 source_set("unit_tests") { 41 source_set("unit_tests") {
39 testonly = true 42 testonly = true
40 sources = [ 43 sources = [
41 "inner_iterator_unittest.cc", 44 "inner_iterator_unittest.cc",
42 "ntp_snippets_fetcher_unittest.cc", 45 "ntp_snippets_fetcher_unittest.cc",
43 "ntp_snippets_service_unittest.cc", 46 "ntp_snippets_service_unittest.cc",
44 ] 47 ]
45 48
46 deps = [ 49 deps = [
47 ":ntp_snippets", 50 ":ntp_snippets",
48 "//base", 51 "//base",
49 "//base/test:test_support", 52 "//base/test:test_support",
50 "//components/signin/core/browser:test_support", 53 "//components/signin/core/browser:test_support",
51 "//net:test_support", 54 "//net:test_support",
52 "//testing/gtest", 55 "//testing/gtest",
53 ] 56 ]
54 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698