| Index: components/search_engines/BUILD.gn
|
| diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..734ec72b41b36c705ce044b08c4fdb9765d60588
|
| --- /dev/null
|
| +++ b/components/search_engines/BUILD.gn
|
| @@ -0,0 +1,73 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//tools/json_to_struct/json_to_struct.gni")
|
| +
|
| +static_library("search_engines") {
|
| + sources = [
|
| + "default_search_manager.cc",
|
| + "default_search_manager.h",
|
| + "default_search_policy_handler.cc",
|
| + "default_search_policy_handler.h",
|
| + "keyword_table.cc",
|
| + "keyword_table.h",
|
| + "keyword_web_data_service.cc",
|
| + "keyword_web_data_service.h",
|
| + "search_engine_type.h",
|
| + "search_engines_pref_names.cc",
|
| + "search_engines_pref_names.h",
|
| + "search_engines_switches.cc",
|
| + "search_engines_switches.h",
|
| + "search_host_to_urls_map.cc",
|
| + "search_host_to_urls_map.h",
|
| + "search_terms_data.cc",
|
| + "search_terms_data.h",
|
| + "template_url.cc",
|
| + "template_url.h",
|
| + "template_url_data.cc",
|
| + "template_url_data.h",
|
| + "template_url_fetcher.cc",
|
| + "template_url_fetcher.h",
|
| + "template_url_id.h",
|
| + "template_url_parser.cc",
|
| + "template_url_parser.h",
|
| + "template_url_prepopulate_data.cc",
|
| + "template_url_prepopulate_data.h",
|
| + "template_url_service.cc",
|
| + "template_url_service.h",
|
| + "template_url_service_client.h",
|
| + "template_url_service_observer.h",
|
| + "util.cc",
|
| + "util.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":prepopulated_engines",
|
| + "//base",
|
| + "//components/keyed_service/core",
|
| + "//components/metrics/proto",
|
| + "//components/policy",
|
| + "//components/pref_registry",
|
| + "//components/rappor",
|
| + "//components/strings",
|
| + "//components/url_fixer",
|
| + "//components/webdata/common",
|
| + "//google_apis",
|
| + "//net",
|
| + "//sql",
|
| + "//sync",
|
| + "//third_party/libxml",
|
| + "//ui/gfx",
|
| + "//url",
|
| + #'google_core_browser', TODO(GYP)
|
| + ]
|
| +}
|
| +
|
| +json_to_struct("prepopulated_engines") {
|
| + visibility = ":*"
|
| +
|
| + source = "prepopulated_engines.json"
|
| + schema_file = "prepopulated_engines_schema.json"
|
| + namespace = "TemplateURLPrepopulateData"
|
| +}
|
|
|