Try to work around that clang/win bug in another file.
[chromium-blink-merge.git] / components / suggestions.gypi
blob2f91f39d4a58020121be763a1863fce7256042a4
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:keyed_service_core',
20         'components.gyp:pref_registry',
21         'components.gyp:variations',
22         'components.gyp:variations_http_provider',
23       ],
24       'sources': [
25         'suggestions/blacklist_store.cc',
26         'suggestions/blacklist_store.h',
27         'suggestions/image_encoder.h',
28         'suggestions/image_fetcher.h',
29         'suggestions/image_fetcher_delegate.h',
30         'suggestions/image_manager.cc',
31         'suggestions/image_manager.h',
32         'suggestions/proto/suggestions.proto',
33         'suggestions/suggestions_pref_names.cc',
34         'suggestions/suggestions_pref_names.h',
35         'suggestions/suggestions_service.cc',
36         'suggestions/suggestions_service.h',
37         'suggestions/suggestions_store.cc',
38         'suggestions/suggestions_store.h',
39         'suggestions/suggestions_utils.cc',
40         'suggestions/suggestions_utils.h',
41       ],
42       'variables': {
43         'proto_in_dir': 'suggestions/proto',
44         'proto_out_dir': 'components/suggestions/proto',
45       },
46       'includes': [ '../build/protoc.gypi' ],
47       'conditions': [
48         ['OS == "ios"', {
49           'sources': [
50             'suggestions/image_encoder_ios.mm',
51           ]
52         }, { # 'OS != "ios"'
53           'sources': [
54             'suggestions/image_encoder.cc',
55           ]
56         }
57       ]]
58     },
59   ],