OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//tools/json_to_struct/json_to_struct.gni") | 6 import("//tools/json_to_struct/json_to_struct.gni") |
7 | 7 |
8 static_library("search_engines") { | 8 static_library("search_engines") { |
9 sources = [ | 9 sources = [ |
10 "default_search_manager.cc", | 10 "default_search_manager.cc", |
(...skipping 26 matching lines...) Expand all Loading... |
37 "template_url_service.h", | 37 "template_url_service.h", |
38 "template_url_service_client.h", | 38 "template_url_service_client.h", |
39 "template_url_service_observer.h", | 39 "template_url_service_observer.h", |
40 "util.cc", | 40 "util.cc", |
41 "util.h", | 41 "util.h", |
42 ] | 42 ] |
43 | 43 |
44 deps = [ | 44 deps = [ |
45 ":prepopulated_engines", | 45 ":prepopulated_engines", |
46 "//base", | 46 "//base", |
| 47 "//components/google/core/browser", |
47 "//components/keyed_service/core", | 48 "//components/keyed_service/core", |
48 "//components/metrics/proto", | 49 "//components/metrics/proto", |
49 "//components/pref_registry", | 50 "//components/pref_registry", |
50 "//components/rappor", | 51 "//components/rappor", |
51 "//components/strings", | 52 "//components/strings", |
52 "//components/url_fixer", | 53 "//components/url_fixer", |
53 "//components/webdata/common", | 54 "//components/webdata/common", |
54 "//google_apis", | 55 "//google_apis", |
55 "//net", | 56 "//net", |
56 "//sql", | 57 "//sql", |
57 "//sync", | 58 "//sync", |
58 "//third_party/libxml", | 59 "//third_party/libxml", |
59 "//ui/gfx", | 60 "//ui/gfx", |
60 "//url", | 61 "//url", |
61 #'google_core_browser', TODO(GYP) | |
62 ] | 62 ] |
63 | 63 |
64 if (enable_configuration_policy) { | 64 if (enable_configuration_policy) { |
65 sources += [ | 65 sources += [ |
66 "default_search_policy_handler.cc", | 66 "default_search_policy_handler.cc", |
67 "default_search_policy_handler.h", | 67 "default_search_policy_handler.h", |
68 ] | 68 ] |
69 deps += [ | 69 deps += [ |
70 "//components/policy", | 70 "//components/policy", |
71 ] | 71 ] |
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 json_to_struct("prepopulated_engines") { | 75 json_to_struct("prepopulated_engines") { |
76 visibility = ":*" | 76 visibility = ":*" |
77 | 77 |
78 source = "prepopulated_engines.json" | 78 source = "prepopulated_engines.json" |
79 schema_file = "prepopulated_engines_schema.json" | 79 schema_file = "prepopulated_engines_schema.json" |
80 namespace = "TemplateURLPrepopulateData" | 80 namespace = "TemplateURLPrepopulateData" |
81 } | 81 } |
OLD | NEW |