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