| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 "//third_party/libxml", | 60 "//third_party/libxml", |
| 61 "//ui/gfx", | 61 "//ui/gfx", |
| 62 "//url", | 62 "//url", |
| 63 ] | 63 ] |
| 64 | 64 |
| 65 if (enable_configuration_policy) { | 65 if (enable_configuration_policy) { |
| 66 sources += [ | 66 sources += [ |
| 67 "default_search_policy_handler.cc", | 67 "default_search_policy_handler.cc", |
| 68 "default_search_policy_handler.h", | 68 "default_search_policy_handler.h", |
| 69 ] | 69 ] |
| 70 deps += [ | 70 deps += [ "//components/policy" ] |
| 71 "//components/policy", | |
| 72 ] | |
| 73 } | 71 } |
| 74 } | 72 } |
| 75 | 73 |
| 76 source_set("test_support") { | 74 source_set("test_support") { |
| 77 testonly = true | 75 testonly = true |
| 78 sources = [ | 76 sources = [ |
| 79 "default_search_pref_test_util.cc", | 77 "default_search_pref_test_util.cc", |
| 80 "default_search_pref_test_util.h", | 78 "default_search_pref_test_util.h", |
| 81 "testing_search_terms_data.cc", | 79 "testing_search_terms_data.cc", |
| 82 "testing_search_terms_data.h", | 80 "testing_search_terms_data.h", |
| 83 ] | 81 ] |
| 84 | 82 |
| 85 deps = [ | 83 deps = [ |
| 86 ":search_engines", | 84 ":search_engines", |
| 87 "//testing/gtest", | 85 "//testing/gtest", |
| 88 ] | 86 ] |
| 89 } | 87 } |
| 90 | 88 |
| 91 json_to_struct("prepopulated_engines") { | 89 json_to_struct("prepopulated_engines") { |
| 92 visibility = [ ":*" ] | 90 visibility = [ ":*" ] |
| 93 | 91 |
| 94 source = "prepopulated_engines.json" | 92 source = "prepopulated_engines.json" |
| 95 schema_file = "prepopulated_engines_schema.json" | 93 schema_file = "prepopulated_engines_schema.json" |
| 96 namespace = "TemplateURLPrepopulateData" | 94 namespace = "TemplateURLPrepopulateData" |
| 97 } | 95 } |
| OLD | NEW |