| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 deps = [ | 52 deps = [ |
| 53 ":prepopulated_engines", | 53 ":prepopulated_engines", |
| 54 "//base", | 54 "//base", |
| 55 "//components/google/core/browser", | 55 "//components/google/core/browser", |
| 56 "//components/history/core/browser", | 56 "//components/history/core/browser", |
| 57 "//components/keyed_service/core", | 57 "//components/keyed_service/core", |
| 58 "//components/metrics/proto", | 58 "//components/metrics/proto", |
| 59 "//components/pref_registry", | 59 "//components/pref_registry", |
| 60 "//components/rappor", | 60 "//components/rappor", |
| 61 "//components/strings", |
| 61 "//components/sync_driver", | 62 "//components/sync_driver", |
| 62 "//components/strings", | |
| 63 "//components/url_formatter", | 63 "//components/url_formatter", |
| 64 "//components/webdata/common", | 64 "//components/webdata/common", |
| 65 "//google_apis", | 65 "//google_apis", |
| 66 "//net", | 66 "//net", |
| 67 "//sql", | 67 "//sql", |
| 68 "//sync", | 68 "//sync", |
| 69 "//third_party/libxml", | 69 "//third_party/libxml", |
| 70 "//ui/gfx", | 70 "//ui/gfx", |
| 71 "//url", | 71 "//url", |
| 72 ] | 72 ] |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 "search_host_to_urls_map_unittest.cc", | 104 "search_host_to_urls_map_unittest.cc", |
| 105 "template_url_prepopulate_data_unittest.cc", | 105 "template_url_prepopulate_data_unittest.cc", |
| 106 "template_url_service_util_unittest.cc", | 106 "template_url_service_util_unittest.cc", |
| 107 "template_url_unittest.cc", | 107 "template_url_unittest.cc", |
| 108 ] | 108 ] |
| 109 if (enable_configuration_policy) { | 109 if (enable_configuration_policy) { |
| 110 sources += [ "default_search_policy_handler_unittest.cc" ] | 110 sources += [ "default_search_policy_handler_unittest.cc" ] |
| 111 } | 111 } |
| 112 | 112 |
| 113 deps = [ | 113 deps = [ |
| 114 ":test_support", |
| 114 "//components/pref_registry:test_support", | 115 "//components/pref_registry:test_support", |
| 115 ":test_support", | |
| 116 "//testing/gmock", | 116 "//testing/gmock", |
| 117 "//testing/gtest", | 117 "//testing/gtest", |
| 118 ] | 118 ] |
| 119 } | 119 } |
| 120 | 120 |
| 121 json_to_struct("prepopulated_engines") { | 121 json_to_struct("prepopulated_engines") { |
| 122 visibility = [ ":*" ] | 122 visibility = [ ":*" ] |
| 123 | 123 |
| 124 source = "prepopulated_engines.json" | 124 source = "prepopulated_engines.json" |
| 125 schema_file = "prepopulated_engines_schema.json" | 125 schema_file = "prepopulated_engines_schema.json" |
| 126 namespace = "TemplateURLPrepopulateData" | 126 namespace = "TemplateURLPrepopulateData" |
| 127 } | 127 } |
| OLD | NEW |