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