summaryrefslogtreecommitdiff
path: root/chromium/ios/web_view/features.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ios/web_view/features.gni')
-rw-r--r--chromium/ios/web_view/features.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/ios/web_view/features.gni b/chromium/ios/web_view/features.gni
index 6d731811537..772ba8f1f98 100644
--- a/chromium/ios/web_view/features.gni
+++ b/chromium/ios/web_view/features.gni
@@ -9,3 +9,14 @@ declare_args() {
# Controls the output name of the built framework.
ios_web_view_output_name = "ChromeWebView"
}
+
+declare_args() {
+ # If ios_web_view_output_name is overriden, e.g. to CronetChromeWebView, we
+ # need to generate an extra umbrella header to match the output name of the
+ # framework bundle.
+ #
+ # TODO(crbug.com/1084855): Remove this after all clients migrate to the
+ # umbrella header that matches the framework.
+ ios_web_view_generate_extra_umbrella_header =
+ ios_web_view_output_name != "ChromeWebView"
+}