BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / components / suggestions.gypi
blob7be7e725e7574dce42a9008f09e226fa87134119
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/suggestions
9       'target_name': 'suggestions',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../net/net.gyp:net',
17         '../ui/gfx/gfx.gyp:gfx',
18         '../url/url.gyp:url_lib',
19         'components.gyp:data_use_measurement_core',
20         'components.gyp:keyed_service_core',
21         'components.gyp:pref_registry',
22         'components.gyp:variations',
23         'components.gyp:variations_http_provider',
24       ],
25       'sources': [
26         'suggestions/blacklist_store.cc',
27         'suggestions/blacklist_store.h',
28         'suggestions/image_encoder.h',
29         'suggestions/image_fetcher.h',
30         'suggestions/image_fetcher_delegate.h',
31         'suggestions/image_manager.cc',
32         'suggestions/image_manager.h',
33         'suggestions/proto/suggestions.proto',
34         'suggestions/suggestions_pref_names.cc',
35         'suggestions/suggestions_pref_names.h',
36         'suggestions/suggestions_service.cc',
37         'suggestions/suggestions_service.h',
38         'suggestions/suggestions_store.cc',
39         'suggestions/suggestions_store.h',
40         'suggestions/suggestions_utils.cc',
41         'suggestions/suggestions_utils.h',
42       ],
43       'variables': {
44         'proto_in_dir': 'suggestions/proto',
45         'proto_out_dir': 'components/suggestions/proto',
46       },
47       'includes': [ '../build/protoc.gypi' ],
48       'conditions': [
49         ['OS == "ios"', {
50           'sources': [
51             'suggestions/image_encoder_ios.mm',
52           ]
53         }, { # 'OS != "ios"'
54           'sources': [
55             'suggestions/image_encoder.cc',
56           ]
57         }
58       ]]
59     },
60   ],