[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 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', |
amohammadkhan | 092adb2 | 2015-09-11 21:08:49 | [diff] [blame] | 19 | 'components.gyp:data_use_measurement_core', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 20 | 'components.gyp:keyed_service_core', |
| 21 | 'components.gyp:pref_registry', |
treib | 16070ce | 2016-03-11 11:57:40 | [diff] [blame] | 22 | 'components.gyp:sync_driver', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 23 | 'components.gyp:variations', |
asvitkine | 9a27983 | 2015-12-18 02:35:50 | [diff] [blame] | 24 | 'components.gyp:variations_net', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 25 | ], |
| 26 | 'sources': [ |
| 27 | 'suggestions/blacklist_store.cc', |
| 28 | 'suggestions/blacklist_store.h', |
mathp | 3377c626 | 2014-10-10 21:13:00 | [diff] [blame] | 29 | 'suggestions/image_encoder.h', |
mathp | c3c8b0e | 2014-09-29 15:25:13 | [diff] [blame] | 30 | 'suggestions/image_fetcher.h', |
| 31 | 'suggestions/image_fetcher_delegate.h', |
| 32 | 'suggestions/image_manager.cc', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 33 | '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] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 41 | ], |
| 42 | 'variables': { |
| 43 | 'proto_in_dir': 'suggestions/proto', |
| 44 | 'proto_out_dir': 'components/suggestions/proto', |
| 45 | }, |
| 46 | 'includes': [ '../build/protoc.gypi' ], |
mathp | a27b85e | 2014-10-10 19:19:57 | [diff] [blame] | 47 | 'conditions': [ |
| 48 | ['OS == "ios"', { |
| 49 | 'sources': [ |
mathp | a27b85e | 2014-10-10 19:19:57 | [diff] [blame] | 50 | 'suggestions/image_encoder_ios.mm', |
| 51 | ] |
| 52 | }, { # 'OS != "ios"' |
| 53 | 'sources': [ |
| 54 | 'suggestions/image_encoder.cc', |
mathp | a27b85e | 2014-10-10 19:19:57 | [diff] [blame] | 55 | ] |
| 56 | } |
| 57 | ]] |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 58 | }, |
mathp | 60143a3 | 2014-10-08 14:52:45 | [diff] [blame] | 59 | ], |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 60 | } |