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", | 12 "default_search_pref_migration.cc", |
13 "default_search_pref_migration.h", | 13 "default_search_pref_migration.h", |
14 "detect_desktop_search_win.cc", | 14 "desktop_search_win.cc", |
15 "detect_desktop_search_win.h", | 15 "desktop_search_win.h", |
16 "keyword_table.cc", | 16 "keyword_table.cc", |
17 "keyword_table.h", | 17 "keyword_table.h", |
18 "keyword_web_data_service.cc", | 18 "keyword_web_data_service.cc", |
19 "keyword_web_data_service.h", | 19 "keyword_web_data_service.h", |
20 "search_engine_data_type_controller.cc", | 20 "search_engine_data_type_controller.cc", |
21 "search_engine_data_type_controller.h", | 21 "search_engine_data_type_controller.h", |
22 "search_engine_type.h", | 22 "search_engine_type.h", |
23 "search_engines_pref_names.cc", | 23 "search_engines_pref_names.cc", |
24 "search_engines_pref_names.h", | 24 "search_engines_pref_names.h", |
25 "search_engines_switches.cc", | 25 "search_engines_switches.cc", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "//base", | 107 "//base", |
108 "//testing/gtest", | 108 "//testing/gtest", |
109 ] | 109 ] |
110 } | 110 } |
111 | 111 |
112 source_set("unit_tests") { | 112 source_set("unit_tests") { |
113 testonly = true | 113 testonly = true |
114 sources = [ | 114 sources = [ |
115 "default_search_manager_unittest.cc", | 115 "default_search_manager_unittest.cc", |
116 "default_search_pref_migration_unittest.cc", | 116 "default_search_pref_migration_unittest.cc", |
117 "detect_desktop_search_win_unittest.cc", | 117 "desktop_search_win_unittest.cc", |
118 "keyword_table_unittest.cc", | 118 "keyword_table_unittest.cc", |
119 "search_host_to_urls_map_unittest.cc", | 119 "search_host_to_urls_map_unittest.cc", |
120 "template_url_prepopulate_data_unittest.cc", | 120 "template_url_prepopulate_data_unittest.cc", |
121 "template_url_service_util_unittest.cc", | 121 "template_url_service_util_unittest.cc", |
122 "template_url_unittest.cc", | 122 "template_url_unittest.cc", |
123 ] | 123 ] |
124 if (enable_configuration_policy) { | 124 if (enable_configuration_policy) { |
125 sources += [ "default_search_policy_handler_unittest.cc" ] | 125 sources += [ "default_search_policy_handler_unittest.cc" ] |
126 } | 126 } |
127 | 127 |
(...skipping 13 matching lines...) Expand all Loading... |
141 ] | 141 ] |
142 } | 142 } |
143 | 143 |
144 json_to_struct("prepopulated_engines") { | 144 json_to_struct("prepopulated_engines") { |
145 visibility = [ ":*" ] | 145 visibility = [ ":*" ] |
146 | 146 |
147 source = "prepopulated_engines.json" | 147 source = "prepopulated_engines.json" |
148 schema_file = "prepopulated_engines_schema.json" | 148 schema_file = "prepopulated_engines_schema.json" |
149 namespace = "TemplateURLPrepopulateData" | 149 namespace = "TemplateURLPrepopulateData" |
150 } | 150 } |
OLD | NEW |