[email protected] | fa817b1 | 2014-06-11 06:25:25 | [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 | { |
[email protected] | c06b844 | 2014-07-16 17:50:51 | [diff] [blame] | 8 | # GN version: //components/search_engines |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 9 | 'target_name': 'search_engines', |
| 10 | 'type': 'static_library', |
| 11 | 'dependencies': [ |
| 12 | '../base/base.gyp:base', |
[email protected] | d550cb0 | 2014-06-25 06:48:11 | [diff] [blame] | 13 | '../google_apis/google_apis.gyp:google_apis', |
| 14 | '../net/net.gyp:net', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 15 | '../sql/sql.gyp:sql', |
| 16 | '../sync/sync.gyp:sync', |
[email protected] | 64bf55ae | 2014-07-10 03:25:05 | [diff] [blame] | 17 | '../third_party/libxml/libxml.gyp:libxml', |
| 18 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 19 | '../url/url.gyp:url_lib', |
[email protected] | d550cb0 | 2014-06-25 06:48:11 | [diff] [blame] | 20 | 'component_metrics_proto', |
[email protected] | 0915b35 | 2014-06-25 19:58:14 | [diff] [blame] | 21 | 'components_strings.gyp:components_strings', |
[email protected] | d550cb0 | 2014-06-25 06:48:11 | [diff] [blame] | 22 | 'google_core_browser', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 23 | 'keyed_service_core', |
[email protected] | 0915b35 | 2014-06-25 19:58:14 | [diff] [blame] | 24 | 'policy', |
| 25 | 'pref_registry', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 26 | 'rappor', |
[email protected] | f92b15b | 2014-06-12 04:16:18 | [diff] [blame] | 27 | 'search_engines/prepopulated_engines.gyp:prepopulated_engines', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 28 | 'url_fixer', |
| 29 | 'webdata_common', |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 30 | ], |
| 31 | 'include_dirs': [ |
| 32 | '..', |
| 33 | ], |
| 34 | 'sources': [ |
[email protected] | c06b844 | 2014-07-16 17:50:51 | [diff] [blame] | 35 | # Note: sources list duplicated in GN build. |
[email protected] | 0915b35 | 2014-06-25 19:58:14 | [diff] [blame] | 36 | 'search_engines/default_search_manager.cc', |
| 37 | 'search_engines/default_search_manager.h', |
| 38 | 'search_engines/default_search_policy_handler.cc', |
| 39 | 'search_engines/default_search_policy_handler.h', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 40 | 'search_engines/keyword_table.cc', |
| 41 | 'search_engines/keyword_table.h', |
| 42 | 'search_engines/keyword_web_data_service.cc', |
| 43 | 'search_engines/keyword_web_data_service.h', |
[email protected] | f92b15b | 2014-06-12 04:16:18 | [diff] [blame] | 44 | 'search_engines/search_engine_type.h', |
[email protected] | 2d3e710 | 2014-06-21 05:57:17 | [diff] [blame] | 45 | 'search_engines/search_engines_pref_names.cc', |
| 46 | 'search_engines/search_engines_pref_names.h', |
[email protected] | 5c3c6e48 | 2014-06-23 09:47:18 | [diff] [blame] | 47 | 'search_engines/search_engines_switches.cc', |
| 48 | 'search_engines/search_engines_switches.h', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 49 | 'search_engines/search_host_to_urls_map.cc', |
| 50 | 'search_engines/search_host_to_urls_map.h', |
[email protected] | eb7c2e2 | 2014-06-12 16:26:07 | [diff] [blame] | 51 | 'search_engines/search_terms_data.cc', |
| 52 | 'search_engines/search_terms_data.h', |
[email protected] | d550cb0 | 2014-06-25 06:48:11 | [diff] [blame] | 53 | 'search_engines/template_url.cc', |
| 54 | 'search_engines/template_url.h', |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 55 | 'search_engines/template_url_data.cc', |
| 56 | 'search_engines/template_url_data.h', |
[email protected] | 64bf55ae | 2014-07-10 03:25:05 | [diff] [blame] | 57 | 'search_engines/template_url_fetcher.cc', |
| 58 | 'search_engines/template_url_fetcher.h', |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 59 | 'search_engines/template_url_id.h', |
[email protected] | 64bf55ae | 2014-07-10 03:25:05 | [diff] [blame] | 60 | 'search_engines/template_url_parser.cc', |
| 61 | 'search_engines/template_url_parser.h', |
[email protected] | 0915b35 | 2014-06-25 19:58:14 | [diff] [blame] | 62 | 'search_engines/template_url_prepopulate_data.cc', |
| 63 | 'search_engines/template_url_prepopulate_data.h', |
[email protected] | bf5c532d | 2014-07-05 00:29:53 | [diff] [blame] | 64 | 'search_engines/template_url_service.cc', |
| 65 | 'search_engines/template_url_service.h', |
| 66 | 'search_engines/template_url_service_client.h', |
| 67 | 'search_engines/template_url_service_observer.h', |
| 68 | 'search_engines/util.cc', |
| 69 | 'search_engines/util.h', |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 70 | ], |
[email protected] | 047c3d6 | 2014-07-18 05:33:44 | [diff] [blame] | 71 | 'conditions': [ |
| 72 | ['configuration_policy==0', { |
| 73 | 'dependencies!': [ |
| 74 | 'policy' |
| 75 | ], |
| 76 | 'sources!': [ |
| 77 | 'search_engines/default_search_policy_handler.cc', |
| 78 | 'search_engines/default_search_policy_handler.h', |
| 79 | ], |
| 80 | }], |
| 81 | ], |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 82 | }, |
[email protected] | 7d0d3743d | 2014-07-17 07:39:05 | [diff] [blame] | 83 | { |
| 84 | 'target_name': 'search_engines_test_support', |
| 85 | 'type': 'static_library', |
| 86 | 'dependencies': [ |
| 87 | '../testing/gtest.gyp:gtest', |
| 88 | 'search_engines', |
| 89 | ], |
| 90 | 'include_dirs': [ |
| 91 | '..', |
| 92 | ], |
| 93 | 'sources': [ |
| 94 | 'search_engines/default_search_pref_test_util.cc', |
| 95 | 'search_engines/default_search_pref_test_util.h', |
hashimoto | 3c83181 | 2014-08-25 07:40:23 | [diff] [blame^] | 96 | 'search_engines/testing_search_terms_data.cc', |
| 97 | 'search_engines/testing_search_terms_data.h', |
[email protected] | 7d0d3743d | 2014-07-17 07:39:05 | [diff] [blame] | 98 | ], |
| 99 | }, |
[email protected] | fa817b1 | 2014-06-11 06:25:25 | [diff] [blame] | 100 | ], |
| 101 | } |