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("//third_party/protobuf/proto_library.gni") | 7 import("//third_party/protobuf/proto_library.gni") |
7 | 8 |
8 declare_args() { | 9 declare_args() { |
9 google_test_gaia_client_id = "" | 10 google_test_gaia_client_id = "" |
10 google_test_gaia_client_secret = "" | 11 google_test_gaia_client_secret = "" |
11 google_staging_api_url = "" | 12 google_staging_api_url = "" |
12 google_staging_lso_url = "" | 13 google_staging_lso_url = "" |
13 google_test_api_url = "" | 14 google_test_api_url = "" |
14 google_test_lso_url = "" | 15 google_test_lso_url = "" |
15 google_test_oauth_client_id = "" | 16 google_test_oauth_client_id = "" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 "GOOGLE_STAGING_LSO_URL=\"$google_staging_lso_url\"", | 212 "GOOGLE_STAGING_LSO_URL=\"$google_staging_lso_url\"", |
212 "GOOGLE_TEST_API_URL=\"$google_test_api_url\"", | 213 "GOOGLE_TEST_API_URL=\"$google_test_api_url\"", |
213 "GOOGLE_TEST_LSO_URL=\"$google_test_lso_url\"", | 214 "GOOGLE_TEST_LSO_URL=\"$google_test_lso_url\"", |
214 "GOOGLE_TEST_OAUTH_CLIENT_ID=\"$google_test_oauth_client_id\"", | 215 "GOOGLE_TEST_OAUTH_CLIENT_ID=\"$google_test_oauth_client_id\"", |
215 "GOOGLE_TEST_OAUTH_CLIENT_SECRET=\"$google_test_oauth_client_secret\"", | 216 "GOOGLE_TEST_OAUTH_CLIENT_SECRET=\"$google_test_oauth_client_secret\"", |
216 "GOOGLE_TEST_OAUTH_URL=\"$google_test_oauth_url\"", | 217 "GOOGLE_TEST_OAUTH_URL=\"$google_test_oauth_url\"", |
217 "GOOGLE_TEST_SYNC_URL=\"$google_test_sync_url\"", | 218 "GOOGLE_TEST_SYNC_URL=\"$google_test_sync_url\"", |
218 ] | 219 ] |
219 } | 220 } |
220 | 221 |
| 222 bundle_data("settings_resources") { |
| 223 sources = [ |
| 224 "resources/Settings.bundle/Experimental.plist", |
| 225 "resources/Settings.bundle/Root.plist", |
| 226 ] |
| 227 outputs = [ |
| 228 "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}", |
| 229 ] |
| 230 } |
| 231 |
221 source_set("unit_tests") { | 232 source_set("unit_tests") { |
222 testonly = true | 233 testonly = true |
223 sources = [ | 234 sources = [ |
224 "chrome_url_util_unittest.mm", | 235 "chrome_url_util_unittest.mm", |
225 "crash_loop_detection_util_unittest.mm", | 236 "crash_loop_detection_util_unittest.mm", |
226 "install_time_util_unittest.mm", | 237 "install_time_util_unittest.mm", |
227 "installation_notifier_unittest.mm", | 238 "installation_notifier_unittest.mm", |
228 "ios_chrome_io_thread_unittest.mm", | 239 "ios_chrome_io_thread_unittest.mm", |
229 "notification_promo_unittest.cc", | 240 "notification_promo_unittest.cc", |
230 ] | 241 ] |
231 deps = [ | 242 deps = [ |
232 ":browser", | 243 ":browser", |
233 "//base", | 244 "//base", |
234 "//base/test:test_support", | 245 "//base/test:test_support", |
235 "//components/prefs", | 246 "//components/prefs", |
236 "//components/prefs:test_support", | 247 "//components/prefs:test_support", |
237 "//components/proxy_config", | 248 "//components/proxy_config", |
238 "//components/ssl_config", | 249 "//components/ssl_config", |
239 "//components/variations", | 250 "//components/variations", |
240 "//ios/web:test_support", | 251 "//ios/web:test_support", |
241 "//net", | 252 "//net", |
242 "//net:test_support", | 253 "//net:test_support", |
243 "//testing/gtest", | 254 "//testing/gtest", |
244 "//url", | 255 "//url", |
245 ] | 256 ] |
246 } | 257 } |
OLD | NEW |