| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 deps += [ | 89 deps += [ |
| 90 "//components/policy:generated", | 90 "//components/policy:generated", |
| 91 "//components/policy/core/browser", | 91 "//components/policy/core/browser", |
| 92 ] | 92 ] |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 | 95 |
| 96 static_library("test_support") { | 96 static_library("test_support") { |
| 97 testonly = true | 97 testonly = true |
| 98 sources = [ | 98 sources = [ |
| 99 "search_engines_test_util.cc", |
| 100 "search_engines_test_util.h", |
| 99 "testing_search_terms_data.cc", | 101 "testing_search_terms_data.cc", |
| 100 "testing_search_terms_data.h", | 102 "testing_search_terms_data.h", |
| 101 ] | 103 ] |
| 102 | 104 |
| 103 public_deps = [ | 105 public_deps = [ |
| 104 ":search_engines", | 106 ":search_engines", |
| 105 "//base", | 107 "//base", |
| 108 "//components/sync_preferences:test_support", |
| 106 "//testing/gtest", | 109 "//testing/gtest", |
| 107 ] | 110 ] |
| 108 } | 111 } |
| 109 | 112 |
| 110 source_set("unit_tests") { | 113 source_set("unit_tests") { |
| 111 testonly = true | 114 testonly = true |
| 112 sources = [ | 115 sources = [ |
| 113 "default_search_manager_unittest.cc", | 116 "default_search_manager_unittest.cc", |
| 114 "keyword_table_unittest.cc", | 117 "keyword_table_unittest.cc", |
| 115 "search_engine_data_type_controller_unittest.cc", | 118 "search_engine_data_type_controller_unittest.cc", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 150 } |
| 148 } | 151 } |
| 149 | 152 |
| 150 json_to_struct("prepopulated_engines") { | 153 json_to_struct("prepopulated_engines") { |
| 151 visibility = [ ":*" ] | 154 visibility = [ ":*" ] |
| 152 | 155 |
| 153 source = "prepopulated_engines.json" | 156 source = "prepopulated_engines.json" |
| 154 schema_file = "prepopulated_engines_schema.json" | 157 schema_file = "prepopulated_engines_schema.json" |
| 155 namespace = "TemplateURLPrepopulateData" | 158 namespace = "TemplateURLPrepopulateData" |
| 156 } | 159 } |
| OLD | NEW |