Commit 53cb6442 authored by John Z Wu's avatar John Z Wu Committed by Commit Bot

Use tweak_info_plist rule on Info.plist

This will embed the version number into the Info.plist, which can be
helpful for clients to verify ios/web_view's version.

Change-Id: Id66b0ea25f3e044b37c409cf2cfdf4661ade0e7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2211915
Auto-Submit: John Wu <jzw@chromium.org>
Reviewed-by: default avatarHiroshi Ichikawa <ichikawa@chromium.org>
Commit-Queue: Hiroshi Ichikawa <ichikawa@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771445}
parent d10a21bf
......@@ -5,6 +5,7 @@
import("//build/config/ios/ios_sdk.gni")
import("//build/config/ios/rules.gni")
import("//build/config/locales.gni")
import("//build/mac/tweak_info_plist.gni")
import("//components/cronet/native/include/headers.gni")
import("//components/grpc_support/include/headers.gni")
import("//ios/build/config.gni")
......@@ -366,9 +367,13 @@ action("web_view_umbrella_header_old") {
args += rebase_path(ios_web_view_public_headers, root_build_dir)
}
tweak_info_plist("info_plist") {
info_plists = [ "Info.plist" ]
}
ios_framework_bundle("web_view") {
output_name = ios_web_view_output_name
info_plist = "Info.plist"
info_plist_target = ":info_plist"
public_headers = get_target_outputs(":web_view_umbrella_header_old")
if (ios_web_view_generate_extra_umbrella_header) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment