blob: dbbfe64d1798363af53d42ce281277aef690bef0 [file] [log] [blame]
[email protected]bdceb3ba2014-07-25 16:47:481# 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',
amohammadkhan092adb22015-09-11 21:08:4919 'components.gyp:data_use_measurement_core',
[email protected]bdceb3ba2014-07-25 16:47:4820 'components.gyp:keyed_service_core',
21 'components.gyp:pref_registry',
treib16070ce2016-03-11 11:57:4022 'components.gyp:sync_driver',
[email protected]bdceb3ba2014-07-25 16:47:4823 'components.gyp:variations',
asvitkine9a279832015-12-18 02:35:5024 'components.gyp:variations_net',
[email protected]bdceb3ba2014-07-25 16:47:4825 ],
26 'sources': [
27 'suggestions/blacklist_store.cc',
28 'suggestions/blacklist_store.h',
mathp3377c6262014-10-10 21:13:0029 'suggestions/image_encoder.h',
mathpc3c8b0e2014-09-29 15:25:1330 'suggestions/image_fetcher.h',
31 'suggestions/image_fetcher_delegate.h',
32 'suggestions/image_manager.cc',
[email protected]bdceb3ba2014-07-25 16:47:4833 'suggestions/image_manager.h',
34 'suggestions/proto/suggestions.proto',
35 'suggestions/suggestions_pref_names.cc',
36 'suggestions/suggestions_pref_names.h',
37 'suggestions/suggestions_service.cc',
38 'suggestions/suggestions_service.h',
39 'suggestions/suggestions_store.cc',
40 'suggestions/suggestions_store.h',
[email protected]bdceb3ba2014-07-25 16:47:4841 ],
42 'variables': {
43 'proto_in_dir': 'suggestions/proto',
44 'proto_out_dir': 'components/suggestions/proto',
45 },
46 'includes': [ '../build/protoc.gypi' ],
mathpa27b85e2014-10-10 19:19:5747 'conditions': [
48 ['OS == "ios"', {
49 'sources': [
mathpa27b85e2014-10-10 19:19:5750 'suggestions/image_encoder_ios.mm',
51 ]
52 }, { # 'OS != "ios"'
53 'sources': [
54 'suggestions/image_encoder.cc',
mathpa27b85e2014-10-10 19:19:5755 ]
56 }
57 ]]
[email protected]bdceb3ba2014-07-25 16:47:4858 },
mathp60143a32014-10-08 14:52:4559 ],
[email protected]bdceb3ba2014-07-25 16:47:4860}