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

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: Rebase update 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/data_use_measurement/core", 36 "//components/data_use_measurement/core",
35 "//components/metrics", 37 "//components/metrics",
38 "//components/variations",
36 ] 39 ]
37 } 40 }
38 41
39 source_set("unit_tests") { 42 source_set("unit_tests") {
40 testonly = true 43 testonly = true
41 sources = [ 44 sources = [
42 "inner_iterator_unittest.cc", 45 "inner_iterator_unittest.cc",
43 "ntp_snippets_fetcher_unittest.cc", 46 "ntp_snippets_fetcher_unittest.cc",
44 "ntp_snippets_service_unittest.cc", 47 "ntp_snippets_service_unittest.cc",
45 ] 48 ]
46 49
47 deps = [ 50 deps = [
48 ":ntp_snippets", 51 ":ntp_snippets",
49 "//base", 52 "//base",
50 "//base/test:test_support", 53 "//base/test:test_support",
51 "//components/signin/core/browser:test_support", 54 "//components/signin/core/browser:test_support",
52 "//net:test_support", 55 "//net:test_support",
53 "//testing/gtest", 56 "//testing/gtest",
54 ] 57 ]
55 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698