| 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 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 } |
| 249 |
| 221 source_set("unit_tests") { | 250 source_set("unit_tests") { |
| 222 testonly = true | 251 testonly = true |
| 223 sources = [ | 252 sources = [ |
| 224 "chrome_url_util_unittest.mm", | 253 "chrome_url_util_unittest.mm", |
| 225 "crash_loop_detection_util_unittest.mm", | 254 "crash_loop_detection_util_unittest.mm", |
| 226 "install_time_util_unittest.mm", | 255 "install_time_util_unittest.mm", |
| 227 "installation_notifier_unittest.mm", | 256 "installation_notifier_unittest.mm", |
| 228 "ios_chrome_io_thread_unittest.mm", | 257 "ios_chrome_io_thread_unittest.mm", |
| 229 "notification_promo_unittest.cc", | 258 "notification_promo_unittest.cc", |
| 230 ] | 259 ] |
| 231 deps = [ | 260 deps = [ |
| 232 ":browser", | 261 ":browser", |
| 233 "//base", | 262 "//base", |
| 234 "//base/test:test_support", | 263 "//base/test:test_support", |
| 235 "//components/prefs", | 264 "//components/prefs", |
| 236 "//components/prefs:test_support", | 265 "//components/prefs:test_support", |
| 237 "//components/proxy_config", | 266 "//components/proxy_config", |
| 238 "//components/ssl_config", | 267 "//components/ssl_config", |
| 239 "//components/variations", | 268 "//components/variations", |
| 240 "//ios/web:test_support", | 269 "//ios/web:test_support", |
| 241 "//net", | 270 "//net", |
| 242 "//net:test_support", | 271 "//net:test_support", |
| 243 "//testing/gtest", | 272 "//testing/gtest", |
| 244 "//url", | 273 "//url", |
| 245 ] | 274 ] |
| 246 } | 275 } |
| OLD | NEW |