Remove dependence on gen_plist.py ignoring unbound substitutions |
||
Issue descriptionThe iOS build relies on gen_plist.py skipping keys which use unbound variables. Bug 649854 will change the default to fail the build for unbound variables, but the current behavior will still be supported with `--skip-unbound-variables`. It would be nice to remove this flag, so that legitimately forgetting to bind a substitution makes loud noises. Based on sdefresne@'s description, one way forward might be to split sets of uncommon keys out into separate template plists and then conditionally include them.
,
Jun 1 2017
,
Jul 5 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/faba7ddfc2b78b1741e578817d7cbbaed0030a93 commit faba7ddfc2b78b1741e578817d7cbbaed0030a93 Author: sdy <sdy@chromium.org> Date: Wed Jul 05 21:04:22 2017 Fail to build with unbound Info.plist substitutions instead of silently dropping them. - In plist_util.py, fail if any plist substitutions aren't bound to values. - Remove a few keys in BuildInfo.plist which had no substitutions. They're added later by tweak_info_plist.py. BUG= 649854 , 650345 Review-Url: https://codereview.chromium.org/2367923002 Cr-Commit-Position: refs/heads/master@{#484348} [modify] https://crrev.com/faba7ddfc2b78b1741e578817d7cbbaed0030a93/build/config/mac/BuildInfo.plist [modify] https://crrev.com/faba7ddfc2b78b1741e578817d7cbbaed0030a93/build/config/mac/plist_util.py [modify] https://crrev.com/faba7ddfc2b78b1741e578817d7cbbaed0030a93/ui/base/BUILD.gn [modify] https://crrev.com/faba7ddfc2b78b1741e578817d7cbbaed0030a93/ui/base/test/framework-Info.plist |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 1 2017