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

Side by Side Diff: components/suggestions.gypi

Issue 630073002: [Suggestions] Create ImageEncoder, to abstract away image encode/decode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pure virtual image_encoder Created 6 years, 2 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/suggestions 8 # GN version: //components/suggestions
9 'target_name': 'suggestions', 9 'target_name': 'suggestions',
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 '../net/net.gyp:net', 16 '../net/net.gyp:net',
17 '../ui/gfx/gfx.gyp:gfx', 17 '../ui/gfx/gfx.gyp:gfx',
18 '../url/url.gyp:url_lib', 18 '../url/url.gyp:url_lib',
19 'components.gyp:keyed_service_core', 19 'components.gyp:keyed_service_core',
20 'components.gyp:pref_registry', 20 'components.gyp:pref_registry',
21 'components.gyp:variations', 21 'components.gyp:variations',
22 'components.gyp:variations_http_provider', 22 'components.gyp:variations_http_provider',
23 ], 23 ],
24 'sources': [ 24 'sources': [
25 'suggestions/blacklist_store.cc', 25 'suggestions/blacklist_store.cc',
26 'suggestions/blacklist_store.h', 26 'suggestions/blacklist_store.h',
27 'suggestions/image_encoder.h',
27 'suggestions/image_fetcher.h', 28 'suggestions/image_fetcher.h',
28 'suggestions/image_fetcher_delegate.h', 29 'suggestions/image_fetcher_delegate.h',
29 'suggestions/image_manager.cc', 30 'suggestions/image_manager.cc',
30 'suggestions/image_manager.h', 31 'suggestions/image_manager.h',
31 'suggestions/proto/suggestions.proto', 32 'suggestions/proto/suggestions.proto',
32 'suggestions/suggestions_pref_names.cc', 33 'suggestions/suggestions_pref_names.cc',
33 'suggestions/suggestions_pref_names.h', 34 'suggestions/suggestions_pref_names.h',
34 'suggestions/suggestions_service.cc', 35 'suggestions/suggestions_service.cc',
35 'suggestions/suggestions_service.h', 36 'suggestions/suggestions_service.h',
36 'suggestions/suggestions_store.cc', 37 'suggestions/suggestions_store.cc',
37 'suggestions/suggestions_store.h', 38 'suggestions/suggestions_store.h',
38 'suggestions/suggestions_utils.cc', 39 'suggestions/suggestions_utils.cc',
39 'suggestions/suggestions_utils.h', 40 'suggestions/suggestions_utils.h',
40 ], 41 ],
41 'variables': { 42 'variables': {
42 'proto_in_dir': 'suggestions/proto', 43 'proto_in_dir': 'suggestions/proto',
43 'proto_out_dir': 'components/suggestions/proto', 44 'proto_out_dir': 'components/suggestions/proto',
44 }, 45 },
45 'includes': [ '../build/protoc.gypi' ], 46 'includes': [ '../build/protoc.gypi' ],
46 }, 47 },
47 ], 48 ],
49 'conditions': [
50 ['OS != "ios"', {
blundell 2014/10/07 14:13:59 You (or Justin) should have a comment to add here,
Mathieu 2014/10/07 16:00:29 Done.
51 'targets': [
52 {
53 # GN version: //components/suggestions:jpeg_image_encoder
54 'target_name': 'jpeg_image_encoder',
55 'type': 'static_library',
56 'dependencies': [
57 '../base/base.gyp:base',
58 '../ui/gfx/gfx.gyp:gfx',
59 'suggestions',
60 ],
61 'sources': [
62 'suggestions/jpeg_image_encoder.cc',
63 'suggestions/jpeg_image_encoder.h',
64 ],
65 }
66 ]
67 }]
68 ]
48 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698