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

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

Issue 1467803003: Get 'gn_all' building on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ios arm build, non-ios build Created 5 years 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
« no previous file with comments | « components/policy/core/common/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 "//components/google/core/browser", 59 "//components/google/core/browser",
60 "//components/history/core/browser", 60 "//components/history/core/browser",
61 "//components/keyed_service/core", 61 "//components/keyed_service/core",
62 "//components/metrics/proto", 62 "//components/metrics/proto",
63 63
64 # The search_engines target is in an include cycle with 64 # The search_engines target is in an include cycle with
65 # components/omnibox/browser. The cycle is whitelisted in the 65 # components/omnibox/browser. The cycle is whitelisted in the
66 # omnibox/browser target, but should ideally be fixed, then this 66 # omnibox/browser target, but should ideally be fixed, then this
67 # dependency added: 67 # dependency added:
68 #"//components/omnibox/browser", 68 #"//components/omnibox/browser",
69 "//components/policy:policy_component",
70 "//components/pref_registry", 69 "//components/pref_registry",
71 "//components/rappor", 70 "//components/rappor",
72 "//components/strings", 71 "//components/strings",
73 "//components/sync_driver", 72 "//components/sync_driver",
74 "//components/url_formatter", 73 "//components/url_formatter",
75 "//components/webdata/common", 74 "//components/webdata/common",
76 "//google_apis", 75 "//google_apis",
77 "//net", 76 "//net",
78 "//sql", 77 "//sql",
79 "//sync", 78 "//sync",
80 "//third_party/libxml", 79 "//third_party/libxml",
81 "//ui/base", 80 "//ui/base",
82 "//ui/gfx", 81 "//ui/gfx",
83 "//ui/gfx/geometry", 82 "//ui/gfx/geometry",
84 "//url", 83 "//url",
85 ] 84 ]
86 85
87 if (enable_configuration_policy) { 86 if (enable_configuration_policy) {
88 sources += [ 87 sources += [
89 "default_search_policy_handler.cc", 88 "default_search_policy_handler.cc",
90 "default_search_policy_handler.h", 89 "default_search_policy_handler.h",
91 ] 90 ]
92 deps += [ "//components/policy" ] 91 deps += [
92 "//components/policy",
93 "//components/policy:policy_component",
94 ]
93 } 95 }
94 } 96 }
95 97
96 source_set("test_support") { 98 source_set("test_support") {
97 testonly = true 99 testonly = true
98 sources = [ 100 sources = [
99 "default_search_pref_test_util.cc", 101 "default_search_pref_test_util.cc",
100 "default_search_pref_test_util.h", 102 "default_search_pref_test_util.h",
101 "testing_search_terms_data.cc", 103 "testing_search_terms_data.cc",
102 "testing_search_terms_data.h", 104 "testing_search_terms_data.h",
(...skipping 11 matching lines...) Expand all
114 sources = [ 116 sources = [
115 "default_search_manager_unittest.cc", 117 "default_search_manager_unittest.cc",
116 "default_search_pref_migration_unittest.cc", 118 "default_search_pref_migration_unittest.cc",
117 "desktop_search_win_unittest.cc", 119 "desktop_search_win_unittest.cc",
118 "keyword_table_unittest.cc", 120 "keyword_table_unittest.cc",
119 "search_host_to_urls_map_unittest.cc", 121 "search_host_to_urls_map_unittest.cc",
120 "template_url_prepopulate_data_unittest.cc", 122 "template_url_prepopulate_data_unittest.cc",
121 "template_url_service_util_unittest.cc", 123 "template_url_service_util_unittest.cc",
122 "template_url_unittest.cc", 124 "template_url_unittest.cc",
123 ] 125 ]
124 if (enable_configuration_policy) {
125 sources += [ "default_search_policy_handler_unittest.cc" ]
126 }
127 126
128 deps = [ 127 deps = [
129 ":prepopulated_engines", 128 ":prepopulated_engines",
130 ":test_support", 129 ":test_support",
131 "//base", 130 "//base",
132 "//components/google/core/browser", 131 "//components/google/core/browser",
133 "//components/policy",
134 "//components/policy:policy_component_test_support",
135 "//components/pref_registry:test_support", 132 "//components/pref_registry:test_support",
136 "//components/webdata/common", 133 "//components/webdata/common",
137 "//sql", 134 "//sql",
138 "//testing/gmock", 135 "//testing/gmock",
139 "//testing/gtest", 136 "//testing/gtest",
140 "//url", 137 "//url",
141 ] 138 ]
139
140 if (enable_configuration_policy) {
141 sources += [ "default_search_policy_handler_unittest.cc" ]
142
143 deps += [
144 "//components/policy",
145 "//components/policy:policy_component_test_support",
146 ]
147 }
142 } 148 }
143 149
144 json_to_struct("prepopulated_engines") { 150 json_to_struct("prepopulated_engines") {
145 visibility = [ ":*" ] 151 visibility = [ ":*" ]
146 152
147 source = "prepopulated_engines.json" 153 source = "prepopulated_engines.json"
148 schema_file = "prepopulated_engines_schema.json" 154 schema_file = "prepopulated_engines_schema.json"
149 namespace = "TemplateURLPrepopulateData" 155 namespace = "TemplateURLPrepopulateData"
150 } 156 }
OLDNEW
« no previous file with comments | « components/policy/core/common/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698