OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
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:image_fetcher', | |
21 'components.gyp:keyed_service_core', | |
22 'components.gyp:pref_registry', | |
23 'components.gyp:variations', | |
24 'components.gyp:variations_net', | |
25 'sync.gyp:sync', | |
26 ], | |
27 'sources': [ | |
28 'suggestions/blacklist_store.cc', | |
29 'suggestions/blacklist_store.h', | |
30 'suggestions/image_encoder.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 ], | |
41 'variables': { | |
42 'proto_in_dir': 'suggestions/proto', | |
43 'proto_out_dir': 'components/suggestions/proto', | |
44 }, | |
45 'includes': [ '../build/protoc.gypi' ], | |
46 'conditions': [ | |
47 ['OS == "ios"', { | |
48 'sources': [ | |
49 'suggestions/image_encoder_ios.mm', | |
50 ] | |
51 }, { # 'OS != "ios"' | |
52 'sources': [ | |
53 'suggestions/image_encoder.cc', | |
54 ] | |
55 } | |
56 ]] | |
57 }, | |
58 ], | |
59 } | |
OLD | NEW |