| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 | 6 |
| 7 _default_ios_launchscreen_assets_target = | 7 _default_ios_launchscreen_assets_target = |
| 8 "//ios/chrome/app/resources:launchscreen_assets" | 8 "//ios/chrome/app/resources:launchscreen_assets" |
| 9 _default_ios_provider_target = "//ios/chrome/browser/providers:provider_factory" | 9 _default_ios_provider_target = "//ios/chrome/browser/providers:provider_factory" |
| 10 | 10 |
| 11 declare_args() { | 11 declare_args() { |
| 12 # Control the provider API implementation used by Chromium on iOS. Requires | |
| 13 # access to the private Google-internal Chrome on iOS repository if true. | |
| 14 # DEPRECATED, will be removed as soon as all downstream code stops using it. | |
| 15 use_ios_internal_provider = is_chrome_branded | |
| 16 | |
| 17 # Label of the target providing image assets for the launchscreen. This | 12 # Label of the target providing image assets for the launchscreen. This |
| 18 # target must be an asset catalog that contains at least two imagesets, one | 13 # target must be an asset catalog that contains at least two imagesets, one |
| 19 # named "launchscreen_app_logo" and one named "launchscreen_brand_name". | 14 # named "launchscreen_app_logo" and one named "launchscreen_brand_name". |
| 20 ios_launchscreen_assets_target = _default_ios_launchscreen_assets_target | 15 ios_launchscreen_assets_target = _default_ios_launchscreen_assets_target |
| 21 | 16 |
| 22 # Label of the target providing implementation for ChromeBrowserProvider. | 17 # Label of the target providing implementation for ChromeBrowserProvider. |
| 23 # Overridden when using the Google-internal repository to build Chrome on iOS. | 18 # Overridden when using the Google-internal repository to build Chrome on iOS. |
| 24 ios_provider_target = _default_ios_provider_target | 19 ios_provider_target = _default_ios_provider_target |
| 25 } | 20 } |
| 26 | 21 |
| 27 # True if the provider target used has not been overridden. | 22 # True if the provider target used has not been overridden. |
| 28 use_default_ios_provider = ios_provider_target == _default_ios_provider_target | 23 use_default_ios_provider = ios_provider_target == _default_ios_provider_target |
| OLD | NEW |