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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "//components/policy/core/browser", | 93 "//components/policy/core/browser", |
94 ] | 94 ] |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 static_library("test_support") { | 98 static_library("test_support") { |
99 testonly = true | 99 testonly = true |
100 sources = [ | 100 sources = [ |
101 "default_search_pref_test_util.cc", | 101 "default_search_pref_test_util.cc", |
102 "default_search_pref_test_util.h", | 102 "default_search_pref_test_util.h", |
| 103 "search_engines_test_util.cc", |
| 104 "search_engines_test_util.h", |
103 "testing_search_terms_data.cc", | 105 "testing_search_terms_data.cc", |
104 "testing_search_terms_data.h", | 106 "testing_search_terms_data.h", |
105 ] | 107 ] |
106 | 108 |
107 public_deps = [ | 109 public_deps = [ |
108 ":search_engines", | 110 ":search_engines", |
109 "//base", | 111 "//base", |
110 "//testing/gtest", | 112 "//testing/gtest", |
111 ] | 113 ] |
112 } | 114 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 } | 154 } |
153 } | 155 } |
154 | 156 |
155 json_to_struct("prepopulated_engines") { | 157 json_to_struct("prepopulated_engines") { |
156 visibility = [ ":*" ] | 158 visibility = [ ":*" ] |
157 | 159 |
158 source = "prepopulated_engines.json" | 160 source = "prepopulated_engines.json" |
159 schema_file = "prepopulated_engines_schema.json" | 161 schema_file = "prepopulated_engines_schema.json" |
160 namespace = "TemplateURLPrepopulateData" | 162 namespace = "TemplateURLPrepopulateData" |
161 } | 163 } |
OLD | NEW |