Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: components/search_engines/BUILD.gn

Issue 2898823002: Add metrics for search engine promo and search widget (Closed)
Patch Set: removed assert for test (expectations changed) Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_android.cc ('k') | components/search_engines/search_engine_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698