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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 deps += [ | 91 deps += [ |
92 "//components/policy:generated", | 92 "//components/policy:generated", |
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 "search_engines_test_util.cc", |
| 102 "search_engines_test_util.h", |
101 "testing_search_terms_data.cc", | 103 "testing_search_terms_data.cc", |
102 "testing_search_terms_data.h", | 104 "testing_search_terms_data.h", |
103 ] | 105 ] |
104 | 106 |
105 public_deps = [ | 107 public_deps = [ |
106 ":search_engines", | 108 ":search_engines", |
107 "//base", | 109 "//base", |
108 "//testing/gtest", | 110 "//testing/gtest", |
109 ] | 111 ] |
110 } | 112 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 152 } |
151 } | 153 } |
152 | 154 |
153 json_to_struct("prepopulated_engines") { | 155 json_to_struct("prepopulated_engines") { |
154 visibility = [ ":*" ] | 156 visibility = [ ":*" ] |
155 | 157 |
156 source = "prepopulated_engines.json" | 158 source = "prepopulated_engines.json" |
157 schema_file = "prepopulated_engines_schema.json" | 159 schema_file = "prepopulated_engines_schema.json" |
158 namespace = "TemplateURLPrepopulateData" | 160 namespace = "TemplateURLPrepopulateData" |
159 } | 161 } |
OLD | NEW |