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 } | |
11 | 7 |
12 static_library("search_engines") { | 8 static_library("search_engines") { |
13 sources = [ | 9 sources = [ |
14 "default_search_manager.cc", | 10 "default_search_manager.cc", |
15 "default_search_manager.h", | 11 "default_search_manager.h", |
16 "keyword_table.cc", | 12 "keyword_table.cc", |
17 "keyword_table.h", | 13 "keyword_table.h", |
18 "keyword_web_data_service.cc", | 14 "keyword_web_data_service.cc", |
19 "keyword_web_data_service.h", | 15 "keyword_web_data_service.h", |
20 "search_engine_data_type_controller.cc", | 16 "search_engine_data_type_controller.cc", |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 151 } |
156 } | 152 } |
157 | 153 |
158 json_to_struct("prepopulated_engines") { | 154 json_to_struct("prepopulated_engines") { |
159 visibility = [ ":*" ] | 155 visibility = [ ":*" ] |
160 | 156 |
161 source = "prepopulated_engines.json" | 157 source = "prepopulated_engines.json" |
162 schema_file = "prepopulated_engines_schema.json" | 158 schema_file = "prepopulated_engines_schema.json" |
163 namespace = "TemplateURLPrepopulateData" | 159 namespace = "TemplateURLPrepopulateData" |
164 } | 160 } |
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 |