Add support for partial Info.plist from actool

Desktop / Chromium - Sylvain Defresne [chromium.org] - 20 September 2017 10:06 EDT

Change ios_app_bundle template to merge the generated Info.plist with the partial .plist created by the asset catalog compiler to support compiling application icon to Assets.car as is required for application built with iOS 11.0 SDK.

Quote args of compile_xcasset.py in build/toolchain/mac/BUILD.gn as some of them may be empty or contain shell special characters (mostly spaces).

Bug: 764286 Change-Id: I453f3cbb34c82483bace9900c49e0f3b351b2635 Reviewed-on: https://chromium-review.googlesource.com/671050 Commit-Queue: Sylvain Defresne

d73f345 Add support for partial Info.plist from actool.
build/config/ios/rules.gni | 68 +++++++++++++++++++++++++++++-------------
build/config/mac/plist_util.py | 6 ++++
build/toolchain/mac/BUILD.gn | 11 +++----
3 files changed, 60 insertions(+), 25 deletions(-)

Upstream: git.chromium.org


  • Share