| 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", |
| 11 "default_search_manager.h", | 11 "default_search_manager.h", |
| 12 "default_search_pref_migration.cc", | |
| 13 "default_search_pref_migration.h", | |
| 14 "keyword_table.cc", | 12 "keyword_table.cc", |
| 15 "keyword_table.h", | 13 "keyword_table.h", |
| 16 "keyword_web_data_service.cc", | 14 "keyword_web_data_service.cc", |
| 17 "keyword_web_data_service.h", | 15 "keyword_web_data_service.h", |
| 18 "search_engine_data_type_controller.cc", | 16 "search_engine_data_type_controller.cc", |
| 19 "search_engine_data_type_controller.h", | 17 "search_engine_data_type_controller.h", |
| 20 "search_engine_type.h", | 18 "search_engine_type.h", |
| 21 "search_engines_pref_names.cc", | 19 "search_engines_pref_names.cc", |
| 22 "search_engines_pref_names.h", | 20 "search_engines_pref_names.h", |
| 23 "search_engines_switches.cc", | 21 "search_engines_switches.cc", |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 "//base", | 107 "//base", |
| 110 "//components/sync_preferences:test_support", | 108 "//components/sync_preferences:test_support", |
| 111 "//testing/gtest", | 109 "//testing/gtest", |
| 112 ] | 110 ] |
| 113 } | 111 } |
| 114 | 112 |
| 115 source_set("unit_tests") { | 113 source_set("unit_tests") { |
| 116 testonly = true | 114 testonly = true |
| 117 sources = [ | 115 sources = [ |
| 118 "default_search_manager_unittest.cc", | 116 "default_search_manager_unittest.cc", |
| 119 "default_search_pref_migration_unittest.cc", | |
| 120 "keyword_table_unittest.cc", | 117 "keyword_table_unittest.cc", |
| 121 "search_engine_data_type_controller_unittest.cc", | 118 "search_engine_data_type_controller_unittest.cc", |
| 122 "search_host_to_urls_map_unittest.cc", | 119 "search_host_to_urls_map_unittest.cc", |
| 123 "template_url_prepopulate_data_unittest.cc", | 120 "template_url_prepopulate_data_unittest.cc", |
| 124 "template_url_service_util_unittest.cc", | 121 "template_url_service_util_unittest.cc", |
| 125 "template_url_unittest.cc", | 122 "template_url_unittest.cc", |
| 126 ] | 123 ] |
| 127 | 124 |
| 128 deps = [ | 125 deps = [ |
| 129 ":prepopulated_engines", | 126 ":prepopulated_engines", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 153 } | 150 } |
| 154 } | 151 } |
| 155 | 152 |
| 156 json_to_struct("prepopulated_engines") { | 153 json_to_struct("prepopulated_engines") { |
| 157 visibility = [ ":*" ] | 154 visibility = [ ":*" ] |
| 158 | 155 |
| 159 source = "prepopulated_engines.json" | 156 source = "prepopulated_engines.json" |
| 160 schema_file = "prepopulated_engines_schema.json" | 157 schema_file = "prepopulated_engines_schema.json" |
| 161 namespace = "TemplateURLPrepopulateData" | 158 namespace = "TemplateURLPrepopulateData" |
| 162 } | 159 } |
| OLD | NEW |