| 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 if (is_android) { |
| 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") |
| 10 } |
| 7 | 11 |
| 8 static_library("search_engines") { | 12 static_library("search_engines") { |
| 9 sources = [ | 13 sources = [ |
| 10 "default_search_manager.cc", | 14 "default_search_manager.cc", |
| 11 "default_search_manager.h", | 15 "default_search_manager.h", |
| 12 "keyword_table.cc", | 16 "keyword_table.cc", |
| 13 "keyword_table.h", | 17 "keyword_table.h", |
| 14 "keyword_web_data_service.cc", | 18 "keyword_web_data_service.cc", |
| 15 "keyword_web_data_service.h", | 19 "keyword_web_data_service.h", |
| 16 "search_engine_data_type_controller.cc", | 20 "search_engine_data_type_controller.cc", |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 155 } |
| 152 } | 156 } |
| 153 | 157 |
| 154 json_to_struct("prepopulated_engines") { | 158 json_to_struct("prepopulated_engines") { |
| 155 visibility = [ ":*" ] | 159 visibility = [ ":*" ] |
| 156 | 160 |
| 157 source = "prepopulated_engines.json" | 161 source = "prepopulated_engines.json" |
| 158 schema_file = "prepopulated_engines_schema.json" | 162 schema_file = "prepopulated_engines_schema.json" |
| 159 namespace = "TemplateURLPrepopulateData" | 163 namespace = "TemplateURLPrepopulateData" |
| 160 } | 164 } |
| 165 |
| 166 if (is_android) { |
| 167 java_cpp_enum("search_engine_type_java") { |
| 168 sources = [ |
| 169 "search_engine_type.h", |
| 170 ] |
| 171 } |
| 172 } |
| OLD | NEW |