OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
7 import("//third_party/protobuf/proto_library.gni") | 7 import("//third_party/protobuf/proto_library.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 google_test_gaia_client_id = "" | 10 google_test_gaia_client_id = "" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "root_coordinator.mm", | 67 "root_coordinator.mm", |
68 "storekit_launcher.h", | 68 "storekit_launcher.h", |
69 "tab_parenting_global_observer.cc", | 69 "tab_parenting_global_observer.cc", |
70 "tab_parenting_global_observer.h", | 70 "tab_parenting_global_observer.h", |
71 "web_data_service_factory.cc", | 71 "web_data_service_factory.cc", |
72 "web_data_service_factory.h", | 72 "web_data_service_factory.h", |
73 "xcallback_parameters.h", | 73 "xcallback_parameters.h", |
74 "xcallback_parameters.mm", | 74 "xcallback_parameters.mm", |
75 ] | 75 ] |
76 deps = [ | 76 deps = [ |
| 77 ":settings_resources", |
77 "//base", | 78 "//base", |
78 "//components/autofill/core/browser", | 79 "//components/autofill/core/browser", |
79 "//components/autofill/core/common", | 80 "//components/autofill/core/common", |
80 "//components/gcm_driver", | 81 "//components/gcm_driver", |
81 "//components/handoff", | 82 "//components/handoff", |
82 "//components/keyed_service/core", | 83 "//components/keyed_service/core", |
83 "//components/keyed_service/ios", | 84 "//components/keyed_service/ios", |
84 "//components/metrics", | 85 "//components/metrics", |
85 "//components/metrics_services_manager", | 86 "//components/metrics_services_manager", |
86 "//components/net_log", | 87 "//components/net_log", |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 } | 221 } |
221 | 222 |
222 bundle_data("settings_resources") { | 223 bundle_data("settings_resources") { |
223 sources = [ | 224 sources = [ |
224 "resources/Settings.bundle/Experimental.plist", | 225 "resources/Settings.bundle/Experimental.plist", |
225 "resources/Settings.bundle/Root.plist", | 226 "resources/Settings.bundle/Root.plist", |
226 ] | 227 ] |
227 outputs = [ | 228 outputs = [ |
228 "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}", | 229 "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}", |
229 ] | 230 ] |
230 deps = [ | |
231 ":settings_resources_experimental_strings", | |
232 ":settings_resources_root_strings", | |
233 ] | |
234 } | |
235 | |
236 bundle_data_strings("settings_resources_experimental_strings") { | |
237 visibility = [ ":settings_resources" ] | |
238 source = "resources/Settings.bundle/en.lproj/Experimental.strings" | |
239 output = | |
240 "{{bundle_resources_dir}}/Settings.bundle/en.lproj/{{source_file_part}}" | |
241 } | |
242 | |
243 bundle_data_strings("settings_resources_root_strings") { | |
244 visibility = [ ":settings_resources" ] | |
245 source = "resources/Settings.bundle/en.lproj/Root.strings" | |
246 output = | |
247 "{{bundle_resources_dir}}/Settings.bundle/en.lproj/{{source_file_part}}" | |
248 } | 231 } |
249 | 232 |
250 source_set("unit_tests") { | 233 source_set("unit_tests") { |
251 testonly = true | 234 testonly = true |
252 sources = [ | 235 sources = [ |
253 "chrome_url_util_unittest.mm", | 236 "chrome_url_util_unittest.mm", |
254 "crash_loop_detection_util_unittest.mm", | 237 "crash_loop_detection_util_unittest.mm", |
255 "install_time_util_unittest.mm", | 238 "install_time_util_unittest.mm", |
256 "installation_notifier_unittest.mm", | 239 "installation_notifier_unittest.mm", |
257 "ios_chrome_io_thread_unittest.mm", | 240 "ios_chrome_io_thread_unittest.mm", |
258 "notification_promo_unittest.cc", | 241 "notification_promo_unittest.cc", |
259 ] | 242 ] |
260 deps = [ | 243 deps = [ |
261 ":browser", | 244 ":browser", |
262 "//base", | 245 "//base", |
263 "//base/test:test_support", | 246 "//base/test:test_support", |
264 "//components/prefs", | 247 "//components/prefs", |
265 "//components/prefs:test_support", | 248 "//components/prefs:test_support", |
266 "//components/proxy_config", | 249 "//components/proxy_config", |
267 "//components/ssl_config", | 250 "//components/ssl_config", |
268 "//components/variations", | 251 "//components/variations", |
269 "//ios/web:test_support", | 252 "//ios/web:test_support", |
270 "//net", | 253 "//net", |
271 "//net:test_support", | 254 "//net:test_support", |
272 "//testing/gtest", | 255 "//testing/gtest", |
273 "//url", | 256 "//url", |
274 ] | 257 ] |
275 } | 258 } |
OLD | NEW |