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

Side by Side Diff: components/ntp_snippets.gypi

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: . 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/ntp_snippets 8 # GN version: //components/ntp_snippets
9 'target_name': 'ntp_snippets', 9 'target_name': 'ntp_snippets',
10 'type': 'static_library', 10 'type': 'static_library',
11 'include_dirs': [ 11 'include_dirs': [
12 '..', 12 '..',
13 ], 13 ],
14 'dependencies': [ 14 'dependencies': [
15 '../base/base.gyp:base', 15 '../base/base.gyp:base',
16 '../google_apis/google_apis.gyp:google_apis', 16 '../google_apis/google_apis.gyp:google_apis',
17 '../net/net.gyp:net', 17 '../net/net.gyp:net',
18 '../url/url.gyp:url_lib', 18 '../url/url.gyp:url_lib',
19 '../third_party/icu/icu.gyp:icuuc', 19 '../third_party/icu/icu.gyp:icuuc',
20 'data_use_measurement_core', 20 'data_use_measurement_core',
21 'image_fetcher', 21 'image_fetcher',
22 'keyed_service_core', 22 'keyed_service_core',
23 'leveldb_proto',
23 'prefs/prefs.gyp:prefs', 24 'prefs/prefs.gyp:prefs',
24 'signin_core_browser', 25 'signin_core_browser',
25 'suggestions', 26 'suggestions',
26 'sync_driver', 27 'sync_driver',
27 'variations', 28 'variations',
28 ], 29 ],
29 'sources': [ 30 'sources': [
30 'ntp_snippets/ntp_snippet.cc', 31 'ntp_snippets/ntp_snippet.cc',
31 'ntp_snippets/ntp_snippet.h', 32 'ntp_snippets/ntp_snippet.h',
32 'ntp_snippets/ntp_snippets_constants.cc', 33 'ntp_snippets/ntp_snippets_constants.cc',
33 'ntp_snippets/ntp_snippets_constants.h', 34 'ntp_snippets/ntp_snippets_constants.h',
35 'ntp_snippets/ntp_snippets_database.cc',
36 'ntp_snippets/ntp_snippets_database.h',
34 'ntp_snippets/ntp_snippets_fetcher.cc', 37 'ntp_snippets/ntp_snippets_fetcher.cc',
35 'ntp_snippets/ntp_snippets_fetcher.h', 38 'ntp_snippets/ntp_snippets_fetcher.h',
36 'ntp_snippets/ntp_snippets_scheduler.h', 39 'ntp_snippets/ntp_snippets_scheduler.h',
37 'ntp_snippets/ntp_snippets_service.cc', 40 'ntp_snippets/ntp_snippets_service.cc',
38 'ntp_snippets/ntp_snippets_service.h', 41 'ntp_snippets/ntp_snippets_service.h',
39 'ntp_snippets/pref_names.cc', 42 'ntp_snippets/pref_names.cc',
40 'ntp_snippets/pref_names.h', 43 'ntp_snippets/pref_names.h',
44 'ntp_snippets/proto/ntp_snippets.proto',
41 'ntp_snippets/switches.cc', 45 'ntp_snippets/switches.cc',
42 'ntp_snippets/switches.h', 46 'ntp_snippets/switches.h',
43 ], 47 ],
48 'variables': {
49 'proto_in_dir': 'ntp_snippets/proto',
50 'proto_out_dir': 'components/ntp_snippets/proto',
51 },
52 'includes': [ '../build/protoc.gypi' ],
Bernhard Bauer 2016/05/25 15:01:15 This just goes into the target for the static libr
Marc Treib 2016/05/27 14:03:12 Err.. what?
Bernhard Bauer 2016/05/27 16:06:42 This is part of the declaration of the target "ntp
Marc Treib 2016/05/30 13:22:00 Ah :) components/suggestions.gypi uses it in the s
44 }, 53 },
45 ], 54 ],
46 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698