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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "default_search_policy_handler.cc", | 87 "default_search_policy_handler.cc", |
88 "default_search_policy_handler.h", | 88 "default_search_policy_handler.h", |
89 ] | 89 ] |
90 deps += [ | 90 deps += [ |
91 "//components/policy", | 91 "//components/policy", |
92 "//components/policy:policy_component", | 92 "//components/policy:policy_component", |
93 ] | 93 ] |
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 source_set("test_support") { | 97 static_library("test_support") { |
98 testonly = true | 98 testonly = true |
99 sources = [ | 99 sources = [ |
100 "default_search_pref_test_util.cc", | 100 "default_search_pref_test_util.cc", |
101 "default_search_pref_test_util.h", | 101 "default_search_pref_test_util.h", |
102 "testing_search_terms_data.cc", | 102 "testing_search_terms_data.cc", |
103 "testing_search_terms_data.h", | 103 "testing_search_terms_data.h", |
104 ] | 104 ] |
105 | 105 |
106 public_deps = [ | 106 public_deps = [ |
107 ":search_engines", | 107 ":search_engines", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 } | 151 } |
152 | 152 |
153 json_to_struct("prepopulated_engines") { | 153 json_to_struct("prepopulated_engines") { |
154 visibility = [ ":*" ] | 154 visibility = [ ":*" ] |
155 | 155 |
156 source = "prepopulated_engines.json" | 156 source = "prepopulated_engines.json" |
157 schema_file = "prepopulated_engines_schema.json" | 157 schema_file = "prepopulated_engines_schema.json" |
158 namespace = "TemplateURLPrepopulateData" | 158 namespace = "TemplateURLPrepopulateData" |
159 } | 159 } |
OLD | NEW |