| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ":search_engines", | 104 ":search_engines", |
| 107 "//base", | 105 "//base", |
| 108 "//testing/gtest", | 106 "//testing/gtest", |
| 109 ] | 107 ] |
| 110 } | 108 } |
| 111 | 109 |
| 112 source_set("unit_tests") { | 110 source_set("unit_tests") { |
| 113 testonly = true | 111 testonly = true |
| 114 sources = [ | 112 sources = [ |
| 115 "default_search_manager_unittest.cc", | 113 "default_search_manager_unittest.cc", |
| 116 "default_search_pref_migration_unittest.cc", | |
| 117 "keyword_table_unittest.cc", | 114 "keyword_table_unittest.cc", |
| 118 "search_engine_data_type_controller_unittest.cc", | 115 "search_engine_data_type_controller_unittest.cc", |
| 119 "search_host_to_urls_map_unittest.cc", | 116 "search_host_to_urls_map_unittest.cc", |
| 120 "template_url_prepopulate_data_unittest.cc", | 117 "template_url_prepopulate_data_unittest.cc", |
| 121 "template_url_service_util_unittest.cc", | 118 "template_url_service_util_unittest.cc", |
| 122 "template_url_unittest.cc", | 119 "template_url_unittest.cc", |
| 123 ] | 120 ] |
| 124 | 121 |
| 125 deps = [ | 122 deps = [ |
| 126 ":prepopulated_engines", | 123 ":prepopulated_engines", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 150 } | 147 } |
| 151 } | 148 } |
| 152 | 149 |
| 153 json_to_struct("prepopulated_engines") { | 150 json_to_struct("prepopulated_engines") { |
| 154 visibility = [ ":*" ] | 151 visibility = [ ":*" ] |
| 155 | 152 |
| 156 source = "prepopulated_engines.json" | 153 source = "prepopulated_engines.json" |
| 157 schema_file = "prepopulated_engines_schema.json" | 154 schema_file = "prepopulated_engines_schema.json" |
| 158 namespace = "TemplateURLPrepopulateData" | 155 namespace = "TemplateURLPrepopulateData" |
| 159 } | 156 } |
| OLD | NEW |